Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
TableGatewayEvent Class Reference

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 = []
 

Member Function Documentation

getName ( )

Get event name.

Returns
string

Implements EventInterface.

getParam (   $name,
  $default = null 
)

Get a single parameter by name.

Parameters
string$name
mixed$defaultDefault value to return if parameter does not exist
Returns
mixed

Implements EventInterface.

getParams ( )

Get parameters passed to the event.

Returns
array|

Implements EventInterface.

getTarget ( )

Get target/context from which event was triggered.

Returns
null|string|object

Implements EventInterface.

propagationIsStopped ( )

Has this event indicated event propagation should stop?

Returns
bool

Implements EventInterface.

setName (   $name)

Set the event name.

Parameters
string$name
Returns
void

Implements EventInterface.

setParam (   $name,
  $value 
)

Set a single parameter by key.

Parameters
string$name
mixed$value
Returns
void

Implements EventInterface.

setParams (   $params)

Set event parameters.

Parameters
string$params
Returns
void

Implements EventInterface.

setTarget (   $target)

Set the event target/context.

Parameters
null | string | object$target
Returns
void

Implements EventInterface.

stopPropagation (   $flag = true)

Indicate whether or not the parent EventManagerInterface should stop propagating events.

Parameters
bool$flag
Returns
void

Implements EventInterface.

Member Data Documentation

$name = null
protected
$params = []
protected
$target = null
protected