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://www.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

Value 'Joomla Platform'

Type(s)

RELEASE

Value '13.1'

Type(s)

MAINTENANCE

Value '0'

Type(s)

STATUS

Value 'Stable'

Type(s)

BUILD

Value 0

Type(s)

CODE_NAME

Value 'Curiosity'

Type(s)

RELEASE_DATE

Value '24-Apr-2013'

Type(s)

RELEASE_TIME

Value '00:00'

Type(s)

RELEASE_TIME_ZONE

Value 'GMT'

Type(s)