====== getInstance ====== {#JAPI Joomla.Framework Event JEventDispatcher::getInstance #} Returns a reference to the global Language object, only creating it if it doesn't already exist. JEventDispatcher is implemented as a Singleton object, that is only one instance of this object exists. Do not use the new operator to "create" a new dispatcher instance. ===== Syntax ===== &getInstance() ===== Examples ===== $dispatcher = &JEventDispatcher::getInstance(); ---- ~~DISCUSSION~~