| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Base |
JObservable |
getState |
getState() |
Never | Work in Progress |
Get the state of the JObservable object. This function returns the state of the JObservable object. The value returned is the _state property. This is a private property that can be utilised by child classes to communicate information about the state of the observable class in a standard way.
mixed getState ()
The _state property is a private property and must be set by the child class.
Example
$dispatcher =& JEventDispatcher::getInstance(); echo "State: ". $dispatcher->getState();