Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
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 () | |
Application sub-interface defining a web application class which supports sessions
checkToken | ( | $method = 'post' | ) |
Checks for a form token in the request.
string | $method | The request method in which to look for the token key. |
getFormToken | ( | $forceNew = false | ) |
Method to determine a hash for anti-spoofing variable names
boolean | $forceNew | If true, force a new token to be created |
getSession | ( | ) |
Method to get the application session object.
setSession | ( | SessionInterface | $session | ) |
Sets the session for the application to use, if required.
SessionInterface | $session | A session object. |