Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
close ($code=0) | |
getIdentity () | |
registerEvent ($event, $handler) | |
triggerEvent ($event, array $args=null) | |
loadDispatcher (JEventDispatcher $dispatcher=null) | |
loadIdentity (JUser $identity=null) |
Attributs publics | |
$input = null |
Attributs protégés | |
$dispatcher | |
$identity |
JApplicationBase::close | ( | $code = 0 | ) |
JApplicationBase::getIdentity | ( | ) |
JApplicationBase::loadDispatcher | ( | JEventDispatcher | $dispatcher = null | ) |
Allows the application to load a custom or default dispatcher.
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 event dispatchers, if required, based on more specific needs.
JEventDispatcher | $dispatcher | An optional dispatcher object. If omitted, the factory dispatcher is created. |
Définition à la ligne 125 du fichier base.php.
Références JEventDispatcher\getInstance().
JApplicationBase::loadIdentity | ( | JUser | $identity = null | ) |
Allows the application to load a custom or default identity.
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 an identity, if required, based on more specific needs.
JUser | $identity | An optional identity object. If omitted, the factory user is created. |
Définition à la ligne 145 du fichier base.php.
Références JFactory\getUser().
JApplicationBase::registerEvent | ( | $event, | |
$handler | |||
) |
Registers a handler to a particular event group.
string | $event | The event name. |
callable | $handler | The handler, a function or an instance of a event object. |
Définition à la ligne 82 du fichier base.php.
JApplicationBase::triggerEvent | ( | $event, | |
array | $args = null |
||
) |
Calls all handlers associated with an event group.
string | $event | The event name. |
array | $args | An array of arguments (optional). |
Définition à la ligne 102 du fichier base.php.