class JPlatform


Located at : UKNOWVA_ROOT/libraries/platform.php

Version information class for the Joomla Platform.

Constants

PRODUCT

RELEASE

MAINTENANCE

STATUS

BUILD

CODE_NAME

RELEASE_DATE

RELEASE_TIME

RELEASE_TIME_ZONE

COPYRIGHT

LINK_TEXT

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

at line 52
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.

See also

http://www.php.net/version_compare

at line 64
static string getShortVersion()

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

Return Value

string Version string.

at line 76
static string getLongVersion()

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

Return Value

string Complete version string.