\JVersion
Version information class for the Joomla CMS.
Synopsis
class JVersion
{
- // members
- public $PRODUCT;
- public $RELEASE;
- public $DEV_LEVEL;
- public $DEV_STATUS;
- public $BUILD;
- public $CODENAME;
- public $RELDATE;
- public $RELTIME;
- public $RELTZ;
- public $COPYRIGHT;
- public $URL;
- // methods
- public bool isCompatible()
- public string getHelpVersion()
- public string getShortVersion()
- public string getLongVersion()
- public string getUserAgent()
- public string generateMediaVersion()
- public string getMediaVersion()
- public JVersion refreshMediaVersion()
- public JVersion setMediaVersion()
Members
public
- $BUILD — string
- $CODENAME — string
- $COPYRIGHT — string
- $DEV_LEVEL — string
- $DEV_STATUS — string
- $PRODUCT — string
- $RELDATE — string
- $RELEASE — string
- $RELTIME — string
- $RELTZ — string
- $URL — string
Methods
public
- generateMediaVersion() — Generate a media version string for assets Public to allow third party developers to use it
- getHelpVersion() — Method to get the help file version.
- getLongVersion() — Gets a version string for the current Joomla with all release information.
- getMediaVersion() — Gets a media version which is used to append to Joomla core media files.
- getShortVersion() — Gets a "PHP standardized" version string for the current Joomla.
- getUserAgent() — Returns the user agent.
- isCompatible() — Compares two a "PHP standardized" version number against the current Joomla version.
- refreshMediaVersion() — Function to refresh the media version
- setMediaVersion() — Sets the media version which is used to append to Joomla core media files.