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

Public Member Functions

 __construct ($name, StorageInterface $storage, ArrayObject $params, &$result)
 Constructor.
 
 setResult (&$value)
 Set the result/return value.
 
getResult ()
 Get the result/return value.
 
- Public Member Functions inherited from Event
 __construct ($name, StorageInterface $storage, ArrayObject $params)
 Constructor.
 
 setTarget ($target)
 Set the event target/context.
 
 setStorage (StorageInterface $storage)
 Alias of setTarget.
 
 getStorage ()
 Alias of getTarget.
 
- Public Member Functions inherited from Event
 __construct ($name=null, $target=null, $params=null)
 Constructor.
 
 getName ()
 Get event name.
 
 getTarget ()
 Get the event target.
 
 setParams ($params)
 Set parameters.
 
 getParams ()
 Get all parameters.
 
 getParam ($name, $default=null)
 Get an individual parameter.
 
 setName ($name)
 Set the event name.
 
 setTarget ($target)
 Set the event target/context.
 
 setParam ($name, $value)
 Set an individual parameter to a value.
 
 stopPropagation ($flag=true)
 Stop further event propagation.
 
 propagationIsStopped ()
 Is propagation stopped?
 

Protected Attributes

 $result
 

Constructor & Destructor Documentation

__construct (   $name,
StorageInterface  $storage,
ArrayObject  $params,
$result 
)

Constructor.

Accept a target and its parameters.

Parameters
string$name
StorageInterface$storage
ArrayObject$params
mixed$result

Member Function Documentation

& getResult ( )

Get the result/return value.

Returns
mixed
setResult ( $value)

Set the result/return value.

Parameters
mixed$value
Returns
PostEvent

Member Data Documentation

$result
protected