Source code for file /libraries/joomla/base/observer.php
Documentation is available at observer.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Abstract observer class to implement the observer design pattern
* @package Joomla.Platform
* Event object to observe.
* @param object &$subject The object to observe.
// Register the observer ($this) so we can be notified
// Set the subject to observe
* Method to update the state of observable objects
* @param array &$args An array of arguments to pass to the listener.
public abstract function update(&$args);