getEventsList()
getEventsList() : array
Get events lists to be sorted.
attachEvent(string $event, callable $callback, integer $priority) : boolean
Attaches a listener to an event.
string | $event | the event to attach too |
callable | $callback | a callable function |
integer | $priority | the priority at which the $callback executed |
true on success false on failure