EventManager/ResponseCollection.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
[email protected] 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
Package: Zend_EventManager- Implements
- Children
- \Zend_EventManager_ResponseCollection
Constants
IT_MODE_DELETE
= 1
Delete items during iteration
IT_MODE_KEEP
= 0
Keep items during iteration
Properties
int $count = 0
Count of elements in the stack
Default value0
Details- Type
- int
array $data = array()
Data represented by this stack
Default valuearray()
Details- Type
- array
Methods
offsetExists(mixed $index) : bool
ArrayAccess: does an item exist at the specified offset?
ParametersName | Type | Description |
---|
$index | mixed | |
---|
Returns offsetGet(mixed $index) : mixed
ArrayAccess: get the item at the specified offset
ParametersName | Type | Description |
---|
$index | mixed | |
---|
ReturnsThrows offsetSet(mixed $index, mixed $newval) : void
ArrayAccess: add an item at the specified offset
ParametersName | Type | Description |
---|
$index | mixed | |
---|
$newval | mixed | |
---|
offsetUnset(mixed $index) : void
ArrayAccess: unset the item at the specified offset
ParametersName | Type | Description |
---|
$index | mixed | |
---|
Throws prev() : void
Move the iterator to the previous node
Details- Todo
- Does this need to be implemented?
push(mixed $value) : void
Push an element to the list
ParametersName | Type | Description |
---|
$value | mixed | |
---|
unshift(mixed $value) : void
Unshift a node onto the beginning of the list
ParametersName | Type | Description |
---|
$value | mixed | |
---|
\Zend_EventManager_ResponseCollection
Package: Zend_EventManagerCollection of signal handler return values
- Parent(s)
- \SplStack
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
$stopped = false
Default valuefalse
Details- Type
- n/a
Methods
contains(mixed $value) : void
Check if any of the responses match the given value.
ParametersName | Type | Description |
---|
$value | mixed | The value to look for among responses |
---|
first() : mixed
Convenient access to the first handler return value.
ReturnsType | Description |
---|
mixed | The first handler return value |
last() : mixed
Convenient access to the last handler return value.
If the collection is empty, returns null. Otherwise, returns value
returned by last handler.
ReturnsType | Description |
---|
mixed | The last handler return value |