JObservable
Description
Abstract observable class to implement the observer design pattern
Located in /joomla/base/observer.php (line 70)
JObject JObservable (Subpackage Base)
Direct descendents
Class | Description |
---|---|
JEditor | JEditor class to handle WYSIWYG editors |
JEventDispatcher | Class to handle dispatching of events. |
Method Summary
Methods
Constructor __construct (line 92)
Constructor
JObservable
__construct
()
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
Redefined in descendants as:
- JEditor::__construct() : constructor
- JEventDispatcher::__construct() : Constructor
attach (line 131)
Attach an observer object
void
attach
( &$observer, object $observer)
- object $observer: An observer object to attach
- &$observer
detach (line 156)
Detach an observer object
boolean
detach
(object $observer)
- object $observer: An observer object to detach
notify (line 114)
Update each attached observer object and return an array of their return values
array
notify
()
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:12:12 +0000 by phpDocumentor 1.3.1