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 | |
getState () | |
register ($event, $handler) | |
trigger ($event, $args=array()) | |
attach ($observer) | |
detach ($observer) | |
Fonctions membres publiques hérités de FOFUtilsObject | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
Fonctions membres publiques statiques | |
static | getInstance () |
Attributs protégés | |
$_observers = array() | |
$_state = null | |
$_methods = array() | |
Attributs protégés hérités de FOFUtilsObject | |
$_errors = array() | |
Attributs protégés statiques | |
static | $instance = null |
Class to handle dispatching of events.
This is the Observable part of the Observer design pattern for the event architecture.
This class is based on JEventDispatcher as found in Joomla! 3.2.0
attach | ( | $observer | ) |
detach | ( | $observer | ) |
Detach an observer object
object | $observer | An observer object to detach. |
Références $key.
|
static |
Returns the global Event Dispatcher object, only creating it if it doesn't already exist.
Références null.
Référencé par FOFModel\preprocessForm().
getState | ( | ) |
Get the state of the FOFUtilsObservableDispatcher object
register | ( | $event, | |
$handler | |||
) |
Registers an event handler to the event dispatcher
string | $event | Name of the event to register handler for |
string | $handler | Name of the event handler |
InvalidArgumentException |
Références elseif.
trigger | ( | $event, | |
$args = array() |
|||
) |
|
protected |
|
protected |
|
protected |
|
staticprotected |