Class JObserver

Description

Abstract observer class to implement the observer design pattern

Located in /Servers/Apache_2_2/htdocs/Joomla15/libraries/joomla/base/observer.php (line 27)

JObject
   |
   --JObserver
Direct descendents
Class Description
JEvent JEvent Class
Method Summary
JObserver __construct ( &$subject)
mixed update ()
Variables

Inherited Variables

Inherited from JObject

JObject::$_errors
Methods
Constructor __construct (line 41)

Constructor

JObserver __construct ( &$subject)
  • &$subject

Redefinition of:
JObject::__construct()
Class constructor, overridden in descendant classes.

Redefined in descendants as:
update (line 57)

Method to update the state of observable objects

  • abstract: Implement in child classes
  • access: public
mixed update ()

Redefined in descendants as:

Inherited Methods

Inherited From JObject

JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()

Documentation generated on Sun, 06 Apr 2008 07:14:43 +0200 by phpDocumentor 1.4.0a2