Fully Qualified Name: | Zend\Db\TableGateway\Feature\EventFeature\TableGatewayEvent |
Implements: | EventInterface |
Name | Description | Defined By |
---|---|---|
getName() | Get event name | TableGatewayEvent |
getParam() | Get a single parameter by name | TableGatewayEvent |
getParams() | Get parameters passed to the event | TableGatewayEvent |
getTarget() | Get target/context from which event was triggered | TableGatewayEvent |
propagationIsStopped() | Has this event indicated event propagation should stop? | TableGatewayEvent |
setName() | Set the event name | TableGatewayEvent |
setParam() | Set a single parameter by key | TableGatewayEvent |
setParams() | Set event parameters | TableGatewayEvent |
setTarget() | Set the event target/context | TableGatewayEvent |
stopPropagation() | Indicate whether or not the parent EventManagerInterface should stop propagating events | TableGatewayEvent |
Get event name
Returns: string
Get a single parameter by name
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$default | mixed | Default |
Returns: mixed
Get parameters passed to the event
Returns: array|\ArrayAccess
Get target/context from which event was triggered
Returns: null|string|object
Has this event indicated event propagation should stop?
Returns: bool
Set the event name
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: void
Set a single parameter by key
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$value | mixed |
Returns: void
Set event parameters
Parameter Name | Type | Description |
---|---|---|
$params | string |
Returns: void
Set the event target/context
Parameter Name | Type | Description |
---|---|---|
$target | null|string|object |
Returns: void
Indicate whether or not the parent EventManagerInterface should stop propagating events
Parameter Name | Type | Description |
---|---|---|
$flag | bool |
Returns: void