class JPlatform

Version information class for the Joomla Platform.

Constants

PRODUCT

RELEASE

MAINTENANCE

STATUS

BUILD

CODE_NAME

RELEASE_DATE

RELEASE_TIME

RELEASE_TIME_ZONE

Methods

static  boolean
isCompatible( string $minimum)

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

static  string
getShortVersion()

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

static  string
getLongVersion()

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

Details

static boolean isCompatible( string $minimum)

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

Parameters

string $minimum The minimum version of the Joomla Platform which is compatible.

Return Value

boolean True if the version is compatible.

static string getShortVersion()

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

Return Value

string Version string.

static string getLongVersion()

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

Return Value

string Complete version string.