Class Events
Xoops Event processing, including preload mechanism
Direct known subclasses
XoopsPreload
Namespace: Xoops\Core
Package: Xoops\Core
Category: Xoops\Core\Events
Copyright: 2013 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Author: Richard Griffith richard@geekwright.com
Version: Release: 1.0
Since: 1.0
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Events.php
Package: Xoops\Core
Category: Xoops\Core\Events
Copyright: 2013 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Author: Richard Griffith richard@geekwright.com
Version: Release: 1.0
Since: 1.0
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Events.php
protected
|
|
public static
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
protected
string
|
#
toInternalEventName( string $eventName )
toInternalEventName - convert event name to internal form i.e. core.include.common.end becomes coreincludecommonend |
public
|
#
addListener( string $eventName, callable $callback )
addListener - add a listener, providing a callback for a specific event. |
public
array
|
|
public
boolean
|
#
hasListeners( string $eventName )
hasListeners - for debugging only, return list of event listeners |
protected
array
|
$preloadList
$preloadList array containing information about the event observers |
#
array()
|
protected
array
|
$eventListeners
$eventListeners - $eventListeners['eventName'][]=Closure key is event name, value is array of callables |
#
array()
|
protected
boolean
|
$eventsEnabled
|
#
true
|