| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Base |
JObservable |
__construct |
__construct() |
Never | Work in Progress |
This is the class contructor. It initiates the list of observers to an empty array.
JObservable __construct ()
The JEventDispatcher::getInstance member instantiates its class. The following code is used:
Example
$instances[0] = new JEventDispatcher();