EventManager/EventDescription.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_EventManager
\Zend_EventManager_EventDescription
Package: Zend_EventManager





Representation of an event
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods


getParam(string $name, mixed $default = null) : mixed
Get a single parameter by name
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string | |
$default | mixed | Default value to return if parameter does not exist |
Type | Description |
---|---|
mixed |


getParams() : array | \ArrayAccess
Get parameters passed to the event
Returns
Type | Description |
---|---|
array | \ArrayAccess |


getTarget() : null | string | object
Get target/context from which event was triggered
Returns
Type | Description |
---|---|
null | string | object |


propagationIsStopped() : bool
Has this event indicated event propagation should stop?
Returns
Type | Description |
---|---|
bool |


setParam(string $name, mixed $value) : void
Set a single parameter by key
Parameters
Name | Type | Description |
---|---|---|
$name | string | |
$value | mixed |


setTarget(null | string | object $target) : void
Set the event target/context
Parameters
Name | Type | Description |
---|---|---|
$target | null | string | object |