Phalcon Events Manager, offers an easy way to intercept and manipulate, if needed, the normal flow of operation. With the EventsManager the developer can create hooks or plugins that will offer monitoring of data, manipulation, conditional execution and much more.
Attach a listener to the events manager
Detach the listener from the events manager
Set if priorities are enabled in the EventsManager
Returns if priorities are enabled
Tells the event manager if it needs to collect all the responses returned by every registered listener in a single fire
Check if the events manager is collecting all all the responses returned by every registered listener in a single fire
Returns all the responses returned by every handler executed by the last ‘fire’ executed
Removes all events from the EventsManager
Internal handler to call a queue of events
Fires an event in the events manager causing the active listeners to be notified about it
Check whether certain type of event has listeners
Returns all the attached listeners of a certain type
© 2011–2017 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.