![]() |
Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres protégées | |
doExecute () | |
fetchConfigurationData ($file='', $class='JConfig') | |
initialiseApp ($options=array()) | |
![]() | |
checkUserRequireReset ($option, $view, $layout, $tasks) | |
initialiseApp ($options=array()) | |
loadLibraryLanguage () | |
render () | |
route () | |
isTwoFactorAuthenticationRequired () | |
![]() | |
render () | |
loadSystemUris ($requestUri=null) | |
![]() | |
compress () | |
respond () | |
getHttpStatusValue ($value) | |
checkConnectionAlive () | |
checkHeadersSent () | |
detectRequestUri () | |
header ($string, $replace=true, $code=null) | |
isRedirectState ($state) | |
loadSystemUris ($requestUri=null) | |
![]() | |
dispatchEvent (string $eventName, ?EventInterface $event=null) | |
doExecute () | |
initialise () | |
Fonctions membres privées | |
executeController () | |
Membres hérités additionnels | |
![]() | |
static | getInstance ($name=null, $prefix='\JApplication', Container $container=null) |
static | getRouter ($name=null, array $options=array()) |
![]() | |
static | getInstance ($name=null) |
![]() | |
static | isAscii ($str) |
![]() | |
$scope = null | |
![]() | |
$charSet = 'utf-8' | |
$mimeType = 'text/html' | |
$httpVersion = '1.1' | |
$modifiedDate | |
$client | |
![]() | |
const | MSG_EMERGENCY = 'emergency' |
const | MSG_ALERT = 'alert' |
const | MSG_CRITICAL = 'critical' |
const | MSG_ERROR = 'error' |
const | MSG_WARNING = 'warning' |
const | MSG_NOTICE = 'notice' |
const | MSG_INFO = 'info' |
const | MSG_DEBUG = 'debug' |
![]() | |
$docOptions = array() | |
$clientId = null | |
$messageQueue = array() | |
$name = null | |
$profiler = null | |
$template = null | |
$pathway = null | |
$authenticationPluginType = 'authentication' | |
$menus = [] | |
![]() | |
$document | |
$language | |
![]() | |
$input | |
$response | |
![]() | |
$config | |
![]() | |
static | $instances = array() |
![]() | |
static | $instance |
Joomla! Installation Application class.
__construct | ( | Input | $input = null , |
Registry | $config = null , |
||
WebClient | $client = null , |
||
Container | $container = null |
||
) |
Class constructor.
Input | null | $input | An optional argument to provide dependency injection for the application's input object. If the argument is a JInput object that object will become the application's input object, otherwise a default input object is created. |
Registry | null | $config | An optional argument to provide dependency injection for the application's config object. If the argument is a Registry object that object will become the application's config object, otherwise a default config object is created. |
WebClient | null | $client | An optional argument to provide dependency injection for the application's client object. If the argument is a WebClient object that object will become the application's client object, otherwise a default client object is created. |
Container | null | $container | Dependency injection container. |
Références $client, $config, Factory\$config, $container, $input, $parts, Symfony\Contracts\Service\__construct(), Uri\base(), JDEBUG, name, null, et Uri\root().
afterSessionStart | ( | SessionEvent | $event | ) |
After the session has been started we need to populate it with some default values.
SessionEvent | $event | Session event being triggered |
Références SessionEvent\getSession().
debugLanguage | ( | ) |
dispatch | ( | ) |
Dispatch the application.
Références $document, Factory\$document, Text\_(), JPATH_ADMINISTRATOR, JPATH_BASE, et JPATH_SITE.
|
protected |
Method to run the Web application routines.
execute | ( | ) |
|
private |
Executed a controller from the input task.
Références $task, $this, class, et Joomla\DI\getContainer().
|
protected |
Method to load a PHP configuration class file based on convention and return the instantiated data object. You will extend this method in child classes to provide configuration data from whatever data source is relevant for your specific application.
string | $file | The path and filename of the configuration file. If not provided, configuration.php in JPATH_BASE will be used. |
string | $class | The class name to instantiate. |
getLocalise | ( | ) |
Returns the language code and help URL set in the localise.xml file. Used for forcing a particular language in localised releases.
Références $xml, et JPATH_INSTALLATION.
getLocaliseAdmin | ( | DatabaseInterface | $db = null | ) |
Returns the installed language files in the administrative and frontend area.
DatabaseInterface | null | $db | Database driver. |
Références $clientId, $db, $lang, $language, Folder\folders(), LanguageHelper\getLanguagePath(), JPATH_ADMINISTRATOR, et JPATH_SITE.
getMenu | ( | $name = null , |
|
$options = array() |
|||
) |
Returns the application object.
string | null | $name | The name of the application/client. |
array | $options | An optional associative array of configuration settings. |
Implémente CMSWebApplicationInterface.
Références null.
getTemplate | ( | $params = false | ) |
|
protected |
Initialise the application.
array | $options | An optional associative array of configuration settings. |
Références $options, LanguageHelper\detectLanguage(), Joomla\Application\getSession(), et null.
Allows the application to load a custom or default document.
The logic and options for creating this object are adequately generic for default cases but for many applications it will make sense to override this method and create a document, if required, based on more specific needs.
Document | null | $document | An optional document object. If omitted, the factory document is created. |
Références $attributes, $date, $document, Factory\$document, $lang, $this, $type, class, Joomla\DI\getContainer(), Factory\getLanguage(), et null.
render | ( | ) |
Rendering is the process of pushing the document buffers into the template placeholders, retrieving data from the document and pushing it into the application response buffer.
Références $data, $options, et JPATH_THEMES.
setCfg | ( | array | $vars = array() , |
$namespace = 'config' |
|||
) |
Set configuration values.
array | $vars | Array of configuration values |
string | $namespace | The namespace |
Références $namespace.