Zend Framework
3.0
|
Public Member Functions | |
getName () | |
Get event name. | |
getTarget () | |
Get target/context from which event was triggered. | |
getParams () | |
Get parameters passed to the event. | |
getParam ($name, $default=null) | |
Get a single parameter by name. | |
setName ($name) | |
Set the event name. | |
setTarget ($target) | |
Set the event target/context. | |
setParams ($params) | |
Set event parameters. | |
setParam ($name, $value) | |
Set a single parameter by key. | |
stopPropagation ($flag=true) | |
Indicate whether or not the parent EventManagerInterface should stop propagating events. | |
propagationIsStopped () | |
Has this event indicated event propagation should stop? | |
Protected Attributes | |
$target = null | |
$name = null | |
$params = [] | |
getName | ( | ) |
getParam | ( | $name, | |
$default = null |
|||
) |
Get a single parameter by name.
string | $name | |
mixed | $default | Default value to return if parameter does not exist |
Implements EventInterface.
getParams | ( | ) |
getTarget | ( | ) |
Get target/context from which event was triggered.
Implements EventInterface.
propagationIsStopped | ( | ) |
setName | ( | $name | ) |
setParam | ( | $name, | |
$value | |||
) |
Set a single parameter by key.
string | $name | |
mixed | $value |
Implements EventInterface.
setParams | ( | $params | ) |
setTarget | ( | $target | ) |
Set the event target/context.
null | string | object | $target |
Implements EventInterface.
stopPropagation | ( | $flag = true | ) |
Indicate whether or not the parent EventManagerInterface should stop propagating events.
bool | $flag |
Implements EventInterface.
|
protected |
|
protected |
|
protected |