Class JEventDispatcher
Class to handle dispatching of events.
This is the Observable part of the Observer design pattern for the event architecture.
- JObject
- JEventDispatcher
Direct known subclasses
Package: Joomla\Platform\Event
Deprecated: 4.0 The CMS' Event classes will be replaced with the
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 12.1
See:
Located at joomla/event/dispatcher.php
Deprecated: 4.0 The CMS' Event classes will be replaced with the
joomla/event
packageCopyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 12.1
See:
JPlugin
Located at joomla/event/dispatcher.php
Methods summary
public static
|
#
getInstance( )
Returns the global Event Dispatcher object, only creating it if it doesn't already exist. |
public
mixed
|
|
public
|
|
public
array
|
|
public
|
|
public
boolean
|
Methods inherited from JObject
__construct()
,
__toString()
,
def()
,
get()
,
getError()
,
getErrors()
,
getProperties()
,
set()
,
setError()
,
setProperties()
Magic methods summary
Properties summary
protected
array
|
$_observers |
#
An array of Observer objects to notify |
protected
mixed
|
$_state |
#
The state of the observable object |
protected
array
|
$_methods |
#
A multi dimensional array of [function][] = key for observers |
protected static
|
$instance |
#
Stores the singleton instance of the dispatcher. |