Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier cli/joomla.php

Espaces de nommage

 Joomla\Cli
 

Variables

const _JEXEC = 1
 
const JOOMLA_MINIMUM_PHP = '7.2.5'
 
if(version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) if(file_exists(dirname(__DIR__) . '/defines.php')) if(!defined('_JDEFINES')) if(!file_exists(JPATH_LIBRARIES . '/vendor/autoload.php')||!is_dir(JPATH_ROOT . '/media/vendor')) if (!file_exists(JPATH_CONFIGURATION . '/configuration.php')||(filesize(JPATH_CONFIGURATION . '/configuration.php')< 10))
 
 $container = \Joomla\CMS\Factory::getContainer()
 
 $app = \Joomla\CMS\Factory::getContainer()->get(\Joomla\Console\Application::class)
 

Documentation des variables

◆ $app

◆ $container

◆ _JEXEC

const _JEXEC = 1

◆ if

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) if (file_exists(dirname(__DIR__) . '/defines.php')) if (!defined( '_JDEFINES')) if (!file_exists(JPATH_LIBRARIES . '/vendor/autoload.php')||!is_dir(JPATH_ROOT . '/media/vendor')) if(!file_exists(JPATH_CONFIGURATION . '/configuration.php')||(filesize(JPATH_CONFIGURATION . '/configuration.php')< 10))

◆ JOOMLA_MINIMUM_PHP

const JOOMLA_MINIMUM_PHP = '7.2.5'