Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct (Input $input=null, Registry $config=null, \JApplicationWebClient $client=null) | |
dispatch ($component=null) | |
getDetectBrowser () | |
getLanguageFilter () | |
getMenu ($name='site', $options=array()) | |
getPageParameters ($option=null) | |
getParams ($option=null) | |
getPathway ($name='site', $options=array()) | |
getTemplate ($params=false) | |
login ($credentials, $options=array()) | |
setDetectBrowser ($state=false) | |
setLanguageFilter ($state=false) | |
setTemplate ($template, $styleParams=null) | |
Fonctions membres publiques hérités de CMSApplication | |
__construct (Input $input=null, Registry $config=null, \JApplicationWebClient $client=null) | |
checkSession () | |
enqueueMessage ($msg, $type='message') | |
execute () | |
getCfg ($varname, $default=null) | |
getClientId () | |
getMenu ($name=null, $options=array()) | |
getMessageQueue ($clear=false) | |
getName () | |
getPathway ($name=null, $options=array()) | |
getTemplate ($params=false) | |
getUserState ($key, $default=null) | |
getUserStateFromRequest ($key, $request, $default=null, $type='none') | |
isAdmin () | |
isSite () | |
isHttpsForced ($clientId=null) | |
isClient ($identifier) | |
loadSession (\JSession $session=null) | |
login ($credentials, $options=array()) | |
logout ($userid=null, $options=array()) | |
redirect ($url, $status=303) | |
setUserState ($key, $value) | |
toString ($compress=false) | |
Fonctions membres publiques hérités de WebApplication | |
__construct (Input $input=null, Registry $config=null, \JApplicationWebClient $client=null) | |
initialise ($session=null, $document=null, $language=null, $dispatcher=null) | |
execute () | |
redirect ($url, $status=303) | |
loadConfiguration ($data) | |
allowCache ($allow=null) | |
setHeader ($name, $value, $replace=false) | |
getHeaders () | |
clearHeaders () | |
sendHeaders () | |
setBody ($content) | |
prependBody ($content) | |
appendBody ($content) | |
getBody ($asArray=false) | |
getDocument () | |
getLanguage () | |
getSession () | |
flushAssets () | |
isSSLConnection () | |
loadDocument (\JDocument $document=null) | |
loadLanguage (\JLanguage $language=null) | |
loadSession (\JSession $session=null) | |
afterSessionStart () | |
Fonctions membres publiques hérités de BaseApplication | |
__construct (Input $input=null, Registry $config=null) | |
getIdentity () | |
registerEvent ($event, $handler) | |
triggerEvent ($event, array $args=null) | |
loadDispatcher (\JEventDispatcher $dispatcher=null) | |
loadIdentity (\JUser $identity=null) | |
Fonctions membres publiques hérités de AbstractApplication | |
__construct (Input $input=null, Registry $config=null) | |
close ($code=0) | |
execute () | |
get ($key, $default=null) | |
getLogger () | |
set ($key, $value=null) | |
setConfiguration (Registry $config) | |
setLogger (LoggerInterface $logger) | |
Fonctions membres publiques statiques | |
static | getRouter ($name='site', array $options=array()) |
Fonctions membres publiques statiques hérités de CMSApplication | |
static | getInstance ($name=null) |
static | getRouter ($name=null, array $options=array()) |
Fonctions membres publiques statiques hérités de WebApplication | |
static | getInstance ($name=null) |
Fonctions membres protégées | |
authorise ($itemid) | |
doExecute () | |
initialiseApp ($options=array()) | |
loadLibraryLanguage () | |
render () | |
route () | |
Fonctions membres protégées hérités de CMSApplication | |
checkUserRequireReset ($option, $view, $layout, $tasks) | |
initialiseApp ($options=array()) | |
loadLibraryLanguage () | |
render () | |
route () | |
Fonctions membres protégées hérités de WebApplication | |
render () | |
compress () | |
respond () | |
isRedirectState ($state) | |
getHttpStatusValue ($value) | |
checkConnectionAlive () | |
checkHeadersSent () | |
detectRequestUri () | |
fetchConfigurationData ($file='', $class='\JConfig') | |
header ($string, $replace=true, $code=null) | |
loadSystemUris ($requestUri=null) | |
Fonctions membres protégées hérités de BaseApplication | |
doExecute () | |
Fonctions membres protégées hérités de AbstractApplication | |
doExecute () | |
initialise () | |
Attributs protégés | |
$_language_filter = false | |
$_detect_browser = false | |
Attributs protégés hérités de CMSApplication | |
$docOptions = array() | |
$_clientId = null | |
$_messageQueue = array() | |
$_name = null | |
$profiler = null | |
$template = null | |
Attributs protégés hérités de WebApplication | |
$document | |
$language | |
$session | |
$response | |
Attributs protégés hérités de BaseApplication | |
$dispatcher | |
$identity | |
Attributs protégés hérités de AbstractApplication | |
$config | |
Membres hérités additionnels | |
Champs de données hérités de CMSApplication | |
$scope = null | |
Champs de données hérités de WebApplication | |
$charSet = 'utf-8' | |
$mimeType = 'text/html' | |
$modifiedDate | |
$client | |
Champs de données hérités de AbstractApplication | |
$input | |
Attributs protégés statiques hérités de CMSApplication | |
static | $instances = array() |
Attributs protégés statiques hérités de WebApplication | |
static | $instance |
Joomla! Site Application class
Class constructor.
Input | $input | An optional argument to provide dependency injection for the application's input object. If the argument is a 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. |
\JApplicationWebClient | $client | An optional argument to provide dependency injection for the application's client object. If the argument is a object that object will become the application's client object, otherwise a default client object is created. |
|
protected |
dispatch | ( | $component = null | ) |
Dispatch the application
string | $component | The component which is being rendered. |
Références $component, $document, $params, $template, getDocument, htmlspecialchars, JROUTER_MODE_SEF, et null.
|
protected |
getDetectBrowser | ( | ) |
Return the current state of the detect browser option.
getLanguageFilter | ( | ) |
Return the current state of the language filter.
getMenu | ( | $name = 'site' , |
|
$options = array() |
|||
) |
getPageParameters | ( | $option = null | ) |
Get the application parameters
string | $option | The component option |
Références $option.
getParams | ( | $option = null | ) |
Get the application parameters
string | $option | The component option |
Références $description, $hash, $menu, $option, $params, $title, ComponentHelper\getParams(), et null.
getPathway | ( | $name = 'site' , |
|
$options = array() |
|||
) |
|
static |
getTemplate | ( | $params = false | ) |
|
protected |
|
protected |
Load the library language files for the application
Références JPATH_ADMINISTRATOR, JPATH_SITE, et null.
login | ( | $credentials, | |
$options = array() |
|||
) |
Login authentication function
array | $credentials | Array('username' => string, 'password' => string) |
array | $options | Array('remember' => boolean) |
Références $options.
|
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 $file, $template, et JPATH_THEMES.
|
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 null.
setDetectBrowser | ( | $state = false | ) |
Set the current state of the detect browser option.
boolean | $state | The new state of the detect browser option |
Références $state.
setLanguageFilter | ( | $state = false | ) |
Set the current state of the language filter.
boolean | $state | The new state of the language filter |
Références $state.
setTemplate | ( | $template, | |
$styleParams = null |
|||
) |
Overrides the default template that would be used
string | $template | The template name |
mixed | $styleParams | The template style parameters |
Références $template, et JPATH_THEMES.
|
protected |
|
protected |