Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5. Some parts of this website may be subject to other licenses.

Abstract Class JObserver

Description

Abstract observer class to implement the observer design pattern

Located in /joomla/base/observer.php (line 27)

Class JObject

Abstract class JObserver   (Subpackage Base)
Direct descendents
Class Description
Abstract classJEvent JEvent Class
Method Summary
Constructor JObserver __construct ( &$subject)
Abstract method mixed update ()
Variables

Inherited Variables

Inherited from JObject

Variable 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

  • access: public
  • abstract: Implement in child classes
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 Tue, 29 Jan 2008 18:48:43 +0000 by phpDocumentor 1.3.1