attach($this); // Set the subject to observe $this->_subject = & $subject; } /** * Method to update the state of observable objects * * @abstract Implement in child classes * @access public * @return mixed */ function update() { return JError::raiseError('9', 'JObserver::update: Method not implemented', 'This method should be implemented in a child class'); } }