Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
getDocument () | |
getMenu ($name=null, $options=array()) | |
getUserState ($key, $default=null) | |
getUserStateFromRequest ($key, $request, $default=null, $type='none') | |
setUserState ($key, $value) | |
Fonctions membres publiques hérités de SessionAwareWebApplicationInterface | |
getSession () | |
setSession (SessionInterface $session) | |
checkToken ($method='post') | |
getFormToken ($forceNew=false) | |
Fonctions membres publiques hérités de WebApplicationInterface | |
getInput () | |
redirect ($url, $status=303) | |
allowCache ($allow=null) | |
setHeader ($name, $value, $replace=false) | |
getHeaders () | |
clearHeaders () | |
sendHeaders () | |
setBody ($content) | |
prependBody ($content) | |
appendBody ($content) | |
getBody () | |
getResponse () | |
isValidHttpStatus ($code) | |
setResponse (ResponseInterface $response) | |
isSslConnection () | |
Fonctions membres publiques hérités de ApplicationInterface | |
close ($code=0) | |
execute () | |
Fonctions membres publiques hérités de CMSApplicationInterface | |
enqueueMessage ($msg, $type=self::MSG_INFO) | |
getMessageQueue () | |
isClient ($identifier) | |
isCli () | |
getIdentity () | |
getInput () | |
getLanguage () | |
getName () | |
loadIdentity (User $identity=null) | |
Fonctions membres publiques hérités de ExtensionManagerInterface | |
bootComponent ($component) | |
bootModule ($module, $applicationName) | |
bootPlugin ($plugin, $type) | |
Fonctions membres publiques hérités de ConfigurationAwareApplicationInterface | |
get ($key, $default=null) | |
set ($key, $value=null) | |
setConfiguration (Registry $config) | |
Fonctions membres publiques hérités de EventAwareInterface | |
getDispatcher () | |
triggerEvent ($eventName, $args=[]) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques statiques | |
static | getRouter ($name=null, array $options=array()) |
Membres hérités additionnels | |
Champs de données hérités de CMSApplicationInterface | |
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' |
Interface defining a Joomla! CMS Application class for web applications.
getDocument | ( | ) |
getMenu | ( | $name = null , |
|
$options = array() |
|||
) |
Get the menu object.
string | $name | The application name for the menu |
array | $options | An array of options to initialise the menu with |
Implémenté dans InstallationApplication, et CMSApplication.
|
static |
Returns the application Router object.
string | $name | The name of the application. |
array | $options | An optional associative array of configuration settings. |
Implémenté dans CMSApplication, SiteApplication, et AdministratorApplication.
getUserState | ( | $key, | |
$default = null |
|||
) |
Gets a user state.
string | $key | The path of the state. |
mixed | $default | Optional default value, returned if the internal value is null. |
Implémenté dans CMSApplication.
getUserStateFromRequest | ( | $key, | |
$request, | |||
$default = null , |
|||
$type = 'none' |
|||
) |
Gets the value of a user state variable.
string | $key | The key of the user state variable. |
string | $request | The name of the variable passed in a request. |
string | $default | The default value for the variable if not found. Optional. |
string | $type | Filter for the variable, for valid values see InputFilter::clean(). Optional. |
Implémenté dans CMSApplication.
setUserState | ( | $key, | |
$value | |||
) |
Sets the value of a user state variable.
string | $key | The path of the state. |
mixed | $value | The value of the variable. |
Implémenté dans CMSApplication.