Abstract Class JObserver

Description

Abstract observer class to implement the observer design pattern

Located in /common/base/observer.php (line 24)

JObject
   |
   --JObserver
Direct descendents
Class Description
 class JPlugin JPlugin Class
Variable Summary
 object $_subject
Method Summary
 JObserver __construct (mixed &$subject)
 mixed update ()
Variables
object $_subject = null (line 32)

Event object to observe

  • access: private
Methods
Constructor __construct (line 37)

Constructor

JObserver __construct (mixed &$subject)

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

Method to update the state of observable objects

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

Redefined in descendants as:

Inherited Methods

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:24:56 +0100 by phpDocumentor 1.3.0RC4