![]() |
Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | getRouter ($name='administrator', array $options=array()) |
static | purgeMessages () |
![]() | |
static | getInstance ($name=null, $prefix='\JApplication', Container $container=null) |
static | getRouter ($name=null, array $options=array()) |
![]() | |
static | getInstance ($name=null) |
![]() | |
static | isAscii ($str) |
Fonctions membres protégées | |
doExecute () | |
initialiseApp ($options=array()) | |
render () | |
route () | |
![]() | |
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 () | |
Attributs protégés | |
$allowedUnprivilegedOptions | |
![]() | |
$docOptions = array() | |
$clientId = null | |
$messageQueue = array() | |
$name = null | |
$profiler = null | |
$template = null | |
$pathway = null | |
$authenticationPluginType = 'authentication' | |
$menus = [] | |
![]() | |
$document | |
$language | |
![]() | |
$input | |
$response | |
![]() | |
$config | |
Membres hérités additionnels | |
![]() | |
$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' |
![]() | |
static | $instances = array() |
![]() | |
static | $instance |
Joomla! Administrator Application class
__construct | ( | Input | $input = null , |
Registry | $config = null , |
||
WebClient | $client = null , |
||
Container | $container = null |
||
) |
Class constructor.
Input | $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 | $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 | $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 | $container | Dependency injection container. |
Références $client, $config, $container, $input, Symfony\Contracts\Service\__construct(), Uri\base(), name, null, et Uri\root().
dispatch | ( | $component = null | ) |
Dispatch the application
string | $component | The component which is being rendered. |
Références $clientId, $component, $document, Factory\$document, $template, Text\_(), Factory\getDocument(), PluginHelper\importPlugin(), null, et Joomla\CMS\Application\triggerEvent().
|
protected |
|
static |
Return a reference to the Router object.
string | $name | The name of the application. |
array | $options | An optional associative array of configuration settings. |
Implémente CMSWebApplicationInterface.
getTemplate | ( | $params = false | ) |
Gets the name of the current template.
boolean | $params | True to return the template parameters |
Références $params, $template, Text\_(), Joomla\CMS\Application\getIdentity(), InputFilter\getInstance(), Joomla\CMS\Application\getLogger(), JPATH_THEMES, et Text\sprintf().
|
protected |
Initialise the application.
array | $options | An optional associative array of configuration settings. |
Références $lang, $options, $params, $user, LanguageHelper\exists(), ComponentHelper\getParams(), et Factory\getUser().
login | ( | $credentials, | |
$options = array() |
|||
) |
Login authentication function
array | $credentials | Array('username' => string, 'password' => string) |
array | $options | Array('remember' => boolean) |
Références $lang, $options, $result, Uri\base(), et Joomla\CMS\Application\getIdentity().
|
static |
Purge the jos_messages table of old messages
Références Factory\getApplication(), et Factory\getUser().
|
protected |
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 $component, $input, elseif, Session\getFormToken(), Factory\getUser(), et Text\sprintf().
|
protected |
Route the application.
Routing is the process of examining the request environment to determine which component should receive the request. The component optional parameters are then set in the request object to be processed when the application is being dispatched.
Références $uri, Uri\getInstance(), PluginHelper\importPlugin(), et Joomla\CMS\Application\triggerEvent().
|
protected |