references:joomla.framework:event:jeventdispatcher-getinstanceTable of Contents
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() ExamplesExample $dispatcher = &JEventDispatcher::getInstance();
|


