Method | Description | |
---|---|---|
getCallbacksReference ( string $event ) : array | Gets reference to array of registered events | |
invokeCallbacks ( string $event, mixed $arg ) | Invokes callbacks registered for given event | |
registerCallback ( string $event, mixed $callback ) | Registers new callback for given event |
Method | Description | |
---|---|---|
checkEventType ( string $event ) |
public getCallbacksReference ( string $event ) : array | ||
$event | string | |
return | array |
public invokeCallbacks ( string $event, mixed $arg ) | ||
$event | string | |
$arg | mixed |
public registerCallback ( string $event, mixed $callback ) | ||
$event | string | |
$callback | mixed |