JObserverUpdater
class JObserverUpdater implements JObserverUpdaterInterface
Observer updater pattern implementation for Joomla
Methods
Adds an observer to the JObservableInterface instance updated by this This method can be called from JObservableInterface::attachObserver
Removes an observer from the JObservableInterface instance updated by this This method can be called from JObservableInterface::attachObserver
Gets the instance of the observer of class $observerClass
Call all observers for $event with $params
Enable/Disable calling of observers (this is useful when calling parent:: function
Details
void
attachObserver(
JObserverInterface $observer)
Adds an observer to the JObservableInterface instance updated by this This method can be called from JObservableInterface::attachObserver
void
detachObserver(
String $observer)
Removes an observer from the JObservableInterface instance updated by this This method can be called from JObservableInterface::attachObserver