- md5
- 2dae658ea69dded36c594c63814bd13c
- sha1
- 8ea9c083431e0cbf96b7f0862b061333d58c4dd1
- sha256
- d79759656fbdeb6990763009b783735f4916aaf2234e228812f1529a61b3457c
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
<?php
/**
* @package Joomla.Platform
*
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Version information class for the Joomla Platform.
*
* @package Joomla.Platform
* @since 11.1
*/
final class JPlatform
{
// Product name.
const PRODUCT = 'Joomla Platform';
// Release version.
const RELEASE = '11';
// Maintenance version.
const MAINTENANCE = '1';
// Development STATUS.
const STATUS = 'Stable+Modified';
// Build number.
const BUILD = 0;
// Code name.
const CODE_NAME = 'Ember';
// Release date.
const RELEASE_DATE = '01-Jun-2011';
// Release time.
const RELEASE_TIME = '06:00';
// Release timezone.
const RELEASE_TIME_ZONE = 'GMT';
// Copyright Notice.
const COPYRIGHT = 'Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.';
// Link text.
const LINK_TEXT = '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU General Public License.';
/**
* Compares two a "PHP standardized" version number against the current Joomla Platform version.
*
* @param string $minimum The minimum version of the Joomla Platform which is compatible.
*
* @return boolean True if the version is compatible.
*
* @see http://www.php.net/version_compare
* @since 11.1
*/
public static function isCompatible($minimum)
{
return (version_compare(JPLATFORM, $minimum, 'eq') == 1);
}
/**
* Gets a "PHP standardized" version string for the current Joomla Platform.
*
* @return string Version string.
*
* @since 11.1
*/
public static function getShortVersion()
{
return self::RELEASE.'.'.self::MAINTENANCE;
}
/**
* Gets a version string for the current Joomla Platform with all release information.
*
* @return string Complete version string.
*
* @since 11.1
*/
public static function getLongVersion()
{
return self::PRODUCT.' '. self::RELEASE.'.'.self::MAINTENANCE.' '
. self::STATUS.' [ '.self::CODE_NAME.' ] '.self::RELEASE_DATE.' '
.self::RELEASE_TIME.' '.self::RELEASE_TIME_ZONE;
}
}
No other release has this exact content. See every version of this file.