JObserverWrapperMapper

Wrapper class for JObserverMapper

package

Joomla.Platform

subpackage

Observer

since

3.4

Methods

addObserverClassToClass

Helper wrapper method for addObserverClassToClass

addObserverClassToClass(string $observerClass, string $observableClass, array|boolean $params = array()) : void
see \JObserverMapper::addObserverClassToClass
since

3.4

Arguments

$observerClass

stringThe name of the observer class (implementing JObserverInterface).

$observableClass

stringThe name of the observable class (implementing JObservableInterface).

$params

array|booleanThe params to give to the JObserverInterface::createObserver() function, or false to remove mapping.

attachAllObservers

Helper wrapper method for attachAllObservers

attachAllObservers(\JObservableInterface $observableObject) : void
see \JObserverMapper::attachAllObservers
since

3.4

Arguments

$observableObject

\JObservableInterfaceThe observable subject object.