Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

Abstract Class JObserver

Description

Abstract observer class to implement the observer design pattern

  • since: 1.5
  • abstract:

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

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 39)

Constructor

JObserver __construct ( &$subject)
  • &$subject

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

Redefined in descendants as:
update (line 55)

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 Sat, 14 Nov 2009 11:16:26 +0000 by phpDocumentor 1.3.1