Class flEventManager
flEventManager Class
Class to manage and dispatch events.
Package: fusionLib
Copyright: Copyright (c) 2008 - 2013 fusionLib. All rights reserved.
Located at system/libs/Event/flEventManager.php
Copyright: Copyright (c) 2008 - 2013 fusionLib. All rights reserved.
Located at system/libs/Event/flEventManager.php
Methods summary
public
|
|
public
|
#
addListener( string $event, string|object $object, string $function )
Add a listener for an event. |
public
|
#
removeListener( string $event, string|object $object, string $function )
Remove a listener from an event. |
public
|
Properties summary
protected
|
$db
The database object for persistent events. |
|
protected
array
|
$listeners
Array of arrays of listeners. |
#
array()
|
protected
array
|
$loadedEvt
Array of flags to track if persistent events loaded. |
#
array()
|
protected
array
|
$classCache
Array of objects created from loaded event listeners. |
#
array()
|