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 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
Package: Zend_EventManager- Implements
- Children
- \Zend_EventManager_ResponseCollection
Constants


IT_MODE_DELETE
= 1Delete items during iteration


IT_MODE_KEEP
= 0Keep items during iteration
Properties



int $count = 0Count of elements in the stack
Default value0Details- Type
- int



array $data = array()Data represented by this stack
Default valuearray()Details- Type
- array
Methods



offsetExists(mixed $index) : boolArrayAccess: does an item exist at the specified offset?
Parameters| Name | Type | Description |
|---|
| $index | mixed | |
|---|
Returns 


offsetGet(mixed $index) : mixedArrayAccess: get the item at the specified offset
Parameters| Name | Type | Description |
|---|
| $index | mixed | |
|---|
ReturnsThrows 


offsetSet(mixed $index, mixed $newval) : voidArrayAccess: add an item at the specified offset
Parameters| Name | Type | Description |
|---|
| $index | mixed | |
|---|
| $newval | mixed | |
|---|



offsetUnset(mixed $index) : voidArrayAccess: unset the item at the specified offset
Parameters| Name | Type | Description |
|---|
| $index | mixed | |
|---|
Throws 


prev() : voidMove the iterator to the previous node
Details- Todo
- Does this need to be implemented?



push(mixed $value) : voidPush an element to the list
Parameters| Name | Type | Description |
|---|
| $value | mixed | |
|---|



unshift(mixed $value) : voidUnshift a node onto the beginning of the list
Parameters| Name | 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 = falseDefault valuefalseDetails- Type
- n/a
Methods



contains(mixed $value) : voidCheck if any of the responses match the given value.
Parameters| Name | Type | Description |
|---|
| $value | mixed | The value to look for among responses |
|---|



first() : mixedConvenient access to the first handler return value.
Returns| Type | Description |
|---|
| mixed | The first handler return value |



last() : mixedConvenient access to the last handler return value.
If the collection is empty, returns null. Otherwise, returns value
returned by last handler.
Returns| Type | Description |
|---|
| mixed | The last handler return value |