Source for file interface.php
Documentation is available at interface.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Observer updater pattern implementation for Joomla
* @package Joomla.Platform
* @link http://docs.joomla.org/JObserverUpdater
* @param JObservableInterface $observable The observable subject object
public function __construct(JObservableInterface $observable);
* Adds an observer to the JObservableInterface instance updated by this
* This method can be called fron JObservableInterface::attachObserver
* @param JObserverInterface $observer The observer object
* Call all observers for $event with $params
* @param string $event Event name (function name in observer)
* @param array $params Params of event (params in observer function)
public function update($event, $params);
* Enable/Disable calling of observers (this is useful when calling parent:: function
* @param boolean $enabled Enable (true) or Disable (false) the observer events
* @return boolean Returns old state
Documentation generated on Tue, 19 Nov 2013 15:05:50 +0100 by phpDocumentor 1.4.3