\JPlatform
Version information class for the Joomla Platform.
Synopsis
class JPlatform
{
- // constants
- const PRODUCT = 'Joomla Platform';
- const RELEASE = '13.1';
- const MAINTENANCE = '0';
- const STATUS = 'Stable';
- const BUILD = 0;
- const CODE_NAME = 'Curiosity';
- const RELEASE_DATE = '24-Apr-2013';
- const RELEASE_TIME = '00:00';
- const RELEASE_TIME_ZONE = 'GMT';
- const COPYRIGHT = 'Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.';
- const LINK_TEXT = '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU General Public License.';
- // methods
- public static boolean isCompatible()
- public static string getShortVersion()
- public static string getLongVersion()
Constants
Name | Value |
---|---|
PRODUCT | 'Joomla Platform' |
RELEASE | '13.1' |
MAINTENANCE | '0' |
STATUS | 'Stable' |
BUILD | 0 |
CODE_NAME | 'Curiosity' |
RELEASE_DATE | '24-Apr-2013' |
RELEASE_TIME | '00:00' |
RELEASE_TIME_ZONE | 'GMT' |
COPYRIGHT | 'Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.' |
LINK_TEXT | '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU General Public License.' |
Methods
public
- getLongVersion() — Gets a version string for the current Joomla Platform with all release information.
- getShortVersion() — Gets a "PHP standardized" version string for the current Joomla Platform.
- isCompatible() — Compares two a "PHP standardized" version number against the current Joomla Platform version.