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 statiques | |
static | addObserverClassToClass ($observerClass, $observableClass, $params=array()) |
Attributs protégés statiques | |
static | $observations = array() |
Observer mapping pattern implementation for Joomla
|
static |
Adds a mapping to observe $observerClass subjects with $observableClass observer/listener, attaching it on creation with $params on $observableClass instance creations
string | $observerClass | The name of the observer class (implementing JObserverInterface) |
string | $observableClass | The name of the observable class (implementing JObservableInterface) |
array | boolean | $params | The params to give to the JObserverInterface::createObserver() function, or false to remove mapping |
Références $params.
Référencé par JObserverWrapperMapper\addObserverClassToClass().
|
staticprotected |