====== __construct ======
{#JAPI Joomla.Framework Base JObservable::__construct #}
This is the class contructor. It initiates the list of observers to an empty array.
===== Syntax =====
JObservable __construct ()
===== Examples =====
The [[references:joomla.framework:application:jeventdispatcher#getInstance|JEventDispatcher::getInstance]] member instantiates its class. The following code is used:
$instances[0] = new JEventDispatcher();