ClassInterface JObserverUpdaterInterface

Description

Observer updater pattern implementation for Joomla

Located in /libraries/joomla/observer/updater/interface.php (line 20)


	
			
Method Summary
 JObserverUpdaterInterface __construct (JObservableInterface $observable)
 boolean doCallObservers (boolean $enabled)
 void update (string $event, array $params)
Methods
Constructor __construct (line 29)

Constructor

  • since: 3.1.2
  • access: public
JObserverUpdaterInterface __construct (JObservableInterface $observable)
attachObserver (line 41)

Adds an observer to the JObservableInterface instance updated by this This method can be called fron JObservableInterface::attachObserver

  • since: 3.1.2
  • access: public
void attachObserver (JObserverInterface $observer)
doCallObservers (line 64)

Enable/Disable calling of observers (this is useful when calling parent:: function

  • return: Returns old state
  • since: 3.1.2
  • access: public
boolean doCallObservers (boolean $enabled)
  • boolean $enabled: Enable (true) or Disable (false) the observer events
update (line 53)

Call all observers for $event with $params

  • since: 3.1.2
  • access: public
void update (string $event, array $params)
  • string $event: Event name (function name in observer)
  • array $params: Params of event (params in observer function)

Documentation generated on Tue, 19 Nov 2013 15:05:50 +0100 by phpDocumentor 1.4.3