Method |
Description |
|
__construct ( string $name, string | object $target = null, array | object $params = null ) |
Constructor |
|
getName ( ) : string |
Get event name |
|
getParam ( string | integer $name, mixed $default = null ) : mixed |
Get an individual parameter |
|
getParams ( ) : array | object |
Get all parameters |
|
getTarget ( ) : string | object |
Get the event target |
|
setName ( string $name ) : Event |
Set the event name |
|
setParam ( string | integer $name, mixed $value ) : Event |
Set an individual parameter to a value |
|
setParams ( array | object $params ) : Event |
Overwrites parameters |
|
setTarget ( null | string | object $target ) : Event |
Set the event target/context |
|