JPlatform
Version information class for the Joomla Platform.
final
| package |
Joomla.Platform |
|---|---|
| since |
11.1 |
Methods
getLongVersion
Gets a version string for the current Joomla Platform with all release information.
getLongVersion() : string
static
| since |
11.1 |
|---|
Response
stringComplete version string.
getShortVersion
Gets a "PHP standardized" version string for the current Joomla Platform.
getShortVersion() : string
static
| since |
11.1 |
|---|
Response
stringVersion string.
isCompatible
Compares two a "PHP standardized" version number against the current Joomla Platform version.
isCompatible(string $minimum) : boolean
static
| see | |
|---|---|
| since |
11.1 |
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 | '11.4' |
|---|
Type(s)
MAINTENANCE
| Value | '0' |
|---|
Type(s)
STATUS
| Value | 'Stable' |
|---|
Type(s)
BUILD
| Value | 0 |
|---|
Type(s)
CODE_NAME
| Value | 'Brian Kernighan' |
|---|
Type(s)
RELEASE_DATE
| Value | '03-Jan-2012' |
|---|
Type(s)
RELEASE_TIME
| Value | '00:00' |
|---|
Type(s)
RELEASE_TIME_ZONE
| Value | 'GMT' |
|---|
Type(s)
COPYRIGHT
| Value | 'Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.' |
|---|
Type(s)
LINK_TEXT
| Value | '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU General Public License.' |
|---|
Type(s)