JVersion
Version information class for the Joomla CMS.
package |
Joomla.Site |
---|---|
since |
1.0 |
Methods
getHelpVersion
Method to get the help file version.
getHelpVersion() : string
since |
1.0 |
---|
Response
string
Version suffix for help files.
getLongVersion
Gets a version string for the current Joomla with all release information.
getLongVersion() : string
since |
1.5 |
---|
Response
string
Complete version string.
getShortVersion
Gets a "PHP standardized" version string for the current Joomla.
getShortVersion() : string
since |
1.5 |
---|
Response
string
Version string.
getUserAgent
Returns the user agent.
getUserAgent(string $component = null, boolean $mask = false, boolean $add_version = true) : string
since |
1.0 |
---|
Arguments
- $component
string
Name of the component.- $mask
boolean
Mask as Mozilla/5.0 or not.- $add_version
boolean
Add version afterwards to component.
Response
string
User Agent.
isCompatible
Compares two a "PHP standardized" version number against the current Joomla version.
isCompatible(string $minimum) : boolean
see | |
---|---|
since |
1.0 |
Arguments
- $minimum
string
The minimum version of the Joomla which is compatible.
Response
boolean
True if the version is compatible.
Properties
PRODUCT
Product name.
Type(s)
string
RELEASE
Release version.
Type(s)
string
DEV_LEVEL
Maintenance version.
Type(s)
string
DEV_STATUS
Development STATUS.
Type(s)
string
BUILD
Build number.
Type(s)
string
CODENAME
Code name.
Type(s)
string
RELDATE
Release date.
Type(s)
string
RELTIME
Release time.
Type(s)
string
RELTZ
Release timezone.
Type(s)
string
COPYRIGHT
Copyright Notice.
Type(s)
string
URL
Link text.
Type(s)
string