class JVersion


Located at : UKNOWVA_ROOT/includes/version.php

Properties

string $PRODUCT
string $RELEASE
string $DEV_LEVEL
string $DEV_STATUS
string $BUILD
string $CODENAME
string $RELDATE
string $RELTIME
string $RELTZ
$COPYRIGHT
string $URL

Methods

bool
isCompatible(string $minimum)

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

string
getHelpVersion()

Method to get the help file version.

string
getShortVersion()

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

string
getLongVersion()

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

string
getUserAgent(string $component = null, bool $mask = false, bool $add_version = true)

Returns the user agent.

Details

at line 185
bool isCompatible(string $minimum)

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

Parameters

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

Return Value

bool True if the version is compatible.

See also

http://www.php.net/version_compare

at line 197
string getHelpVersion()

Method to get the help file version.

Return Value

string Version suffix for help files.

at line 214
string getShortVersion()

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

Return Value

string Version string.

at line 226
string getLongVersion()

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

Return Value

string Complete version string.

at line 244
string getUserAgent(string $component = null, bool $mask = false, bool $add_version = true)

Returns the user agent.

Parameters

string $component Name of the component.
bool $mask Mask as Mozilla/5.0 or not.
bool $add_version Add version afterwards to component.

Return Value

string User Agent.