Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Espaces de nommage | |
Joomla\Site | |
Variables | |
const | JOOMLA_MINIMUM_PHP '5.3.10' |
if(version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) | $startTime = microtime(1) |
$startMem = memory_get_usage() | |
const | _JEXEC 1 |
if(file_exists(__DIR__ . '/defines.php')) | if (!defined( '_JDEFINES')) |
$app = JFactory::getApplication('site') | |
$app = JFactory::getApplication('site') |
$startMem = memory_get_usage() |
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) $startTime = microtime(1) |
const _JEXEC 1 |
Constant that is checked in included files to prevent direct access. define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
if (file_exists(__DIR__ . '/defines.php')) if(!defined('_JDEFINES')) |
const JOOMLA_MINIMUM_PHP '5.3.10' |
Define the application's minimum supported PHP version as a constant so it can be referenced within the application.