EventManager
class EventManager implements Countable, IteratorAggregate (View source)
EventManager Object
This class keeps track of events and their respective callbacks for a chart or dashboard.
Methods
int
count()
Returns the number of events when the EventManager is counted.
int
getIterator()
Allows for the events to be traversed with foreach.
set(
string $event,
string $callback)
Sets the callback for an event.
string
getCallback(
string $event)
Retrieves the javascript callback for a chart event.
Details
at line 55
int
count()
Returns the number of events when the EventManager is counted.
at line 67
int
getIterator()
Allows for the events to be traversed with foreach.
at line 81
set(
string $event,
string $callback)
Sets the callback for an event.
at line 100
string
getCallback(
string $event)
Retrieves the javascript callback for a chart event.