Handles adding and dispatching events
| package | Requests |
|---|---|
| subpackage | Utilities |
__construct()
dispatch(string $hook, array $parameters = array()) : boolean
| inherited_from | \Requests_Hooker::dispatch() |
|---|
stringHook name
arrayParameters to pass to callbacks
booleanSuccessfulnessregister(string $hook, callback $callback, integer $priority = 0)
| inherited_from | \Requests_Hooker::register() |
|---|
stringHook name
callbackFunction/method to call on event
integerPriority number. <0 is executed earlier, >0 is executed later
$hooks : array
array()