Class TableGatewayEvent

Summary

Fully Qualified Name: Laminas\Db\TableGateway\Feature\EventFeature\TableGatewayEvent
Implements: EventInterface

Description

Methods

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

Method Details

getName()

Get event name

Returns: string

getParam()

Get a single parameter by name

Parameter Name Type Description
$name string
$default mixed Default

Returns: mixed

getParams()

Get parameters passed to the event

Returns: array|\ArrayAccess

getTarget()

Get target/context from which event was triggered

Returns: null|string|object

propagationIsStopped()

Has this event indicated event propagation should stop?

Returns: bool

setName()

Set the event name

Parameter Name Type Description
$name string

Returns: void

setParam()

Set a single parameter by key

Parameter Name Type Description
$name string
$value mixed

Returns: void

setParams()

Set event parameters

Parameter Name Type Description
$params string

Returns: void

setTarget()

Set the event target/context

Parameter Name Type Description
$target null|string|object

Returns: void

stopPropagation()

Indicate whether or not the parent EventManagerInterface should stop propagating events

Parameter Name Type Description
$flag bool

Returns: void

Top