JVersion

Version information class for the Joomla CMS.

final
package

Joomla.Site

since

1.0

Methods

getHelpVersion

Method to get the help file version.

getHelpVersion() : string
since

1.0

Response

stringVersion suffix for help files.

getLongVersion

Gets a version string for the current Joomla with all release information.

getLongVersion() : string
since

1.5

Response

stringComplete version string.

getShortVersion

Gets a "PHP standardized" version string for the current Joomla.

getShortVersion() : string
since

1.5

Response

stringVersion string.

getUserAgent

Returns the user agent.

getUserAgent(string $component = null, boolean $mask = false, boolean $add_version = true) : string
since

1.0

Arguments

$component

stringName of the component.

$mask

booleanMask as Mozilla/5.0 or not.

$add_version

booleanAdd version afterwards to component.

Response

stringUser Agent.

isCompatible

Compares two a "PHP standardized" version number against the current Joomla version.

isCompatible(string $minimum) : boolean
see

http://www.php.net/version_compare

since

1.0

Arguments

$minimum

stringThe minimum version of the Joomla which is compatible.

Response

booleanTrue 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

URL

Link text.

Type(s)

string