class JObserverWrapperMapper

Wrapper class for JObserverMapper

Methods

void
addObserverClassToClass( string $observerClass, string $observableClass, array|boolean $params = array())

Helper wrapper method for addObserverClassToClass

void
attachAllObservers( JObservableInterface $observableObject)

Helper wrapper method for attachAllObservers

Details

void addObserverClassToClass( string $observerClass, string $observableClass, array|boolean $params = array())

Helper wrapper method for addObserverClassToClass

Parameters

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.

Return Value

void

See also

JObserverMapper::addObserverClassToClass

void attachAllObservers( JObservableInterface $observableObject)

Helper wrapper method for attachAllObservers

Parameters

JObservableInterface $observableObject The observable subject object.

Return Value

void

See also

JObserverMapper::attachAllObservers