| API | Package | phpDocumentor | Last reviewed | Doc status |
|---|---|---|---|---|
Joomla.Framework | Joomla.Framework | JVersion | never | Work in progress |
Provides version information of Joomla!
Note: If your code runs in the context of the Joomla! Front-end (Site) or Back-end (Administrator) you can use the global object variable $_VERSION instead of creating a new instance of JVersion.
| Method | Description |
|---|---|
getHelpVersion | Returns a version suffix for help files. This method is used internally by the Back-end help system. |
getLongVersion | Returns the long format Joomla! version. |
getShortVersion | Returns the short format Joomla! version. |
isCompatible | Compares a “PHP standardized” version number against the current Joomla! version. |
| Constant | Description |
|---|---|
JVERSION | A constant containing the Joomla! short version. |