JPlatform

Version information class for the Joomla Platform.

final deprecated
since

1.7.0

deprecated

4.0 Deprecated without replacement

package

Joomla.Platform

Methods

getLongVersion

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

getLongVersion() : string
static deprecated
since

1.7.0

deprecated

4.0 Deprecated without replacement

Response

stringComplete version string.

getShortVersion

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

getShortVersion() : string
static deprecated
since

1.7.0

deprecated

4.0 Deprecated without replacement

Response

stringVersion string.

isCompatible

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

isCompatible(string $minimum) : boolean
static deprecated
link

https://secure.php.net/version_compare

since

1.7.0

deprecated

4.0 Deprecated without replacement

Arguments

$minimum

stringThe minimum version of the Joomla Platform which is compatible.

Response

booleanTrue if the version is compatible.

Constants

PRODUCT

RELEASE

MAINTENANCE

STATUS

BUILD

CODE_NAME

RELEASE_DATE

RELEASE_TIME

RELEASE_TIME_ZONE