Controller/Plugin/ActionStack.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_Controller
- Subpackage
- Plugins
\Zend_Controller_Plugin_ActionStack
Package: Zend_Controller\Plugins







Returns


Manage a stack of actions
- Parent(s)
- \Zend_Controller_Plugin_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- Version
- $Id$
Properties

Bool $_clearRequestParams = falseFlag to determine whether request parameters are cleared between actions, or whether new parameters
are added to existing request parameters.
Default value
falseDetails- Type
- Bool

string $_registryKey = 'Zend_Controller_Plugin_ActionStack'Registry key under which actions are stored
Default value
'Zend_Controller_Plugin_ActionStack'Details- Type
- string
Methods

__construct(\Zend_Registry $registry = null, string $key = null) : voidConstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $registry | \Zend_Registry | |
| $key | string |

_saveStack(array $stack) : \Zend_Controller_Plugin_ActionStackSave stack to registry
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $stack | array |
| Type | Description |
|---|---|
| \Zend_Controller_Plugin_ActionStack |

popStack() : false | \Zend_Controller_Request_AbstractPop an item off the action stack
Returns
| Type | Description |
|---|---|
| false | \Zend_Controller_Request_Abstract |

postDispatch(\Zend_Controller_Request_Abstract $request) : voidpostDispatch() plugin hook -- check for actions in stack, and dispatch if any found
Parameters
| Name | Type | Description |
|---|---|---|
| $request | \Zend_Controller_Request_Abstract |

pushStack(\Zend_Controller_Request_Abstract $next) : \Zend_Controller_Plugin_ActionStackPush an item onto the stack
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $next | \Zend_Controller_Request_Abstract |
| Type | Description |
|---|---|
| \Zend_Controller_Plugin_ActionStack |

setClearRequestParams( $clearRequestParams) : \Zend_Controller_Plugin_ActionStackSet clearRequestParams flag
@param bool $clearRequestParams
Parameters| Name | Type | Description |
|---|---|---|
| $clearRequestParams |
| Type | Description |
|---|---|
| \Zend_Controller_Plugin_ActionStack |

setRegistry(\Zend_Registry $registry) : \Zend_Controller_Plugin_ActionStackSet registry object
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $registry | \Zend_Registry |
| Type | Description |
|---|---|
| \Zend_Controller_Plugin_ActionStack |

setRegistryKey(string $key) : \Zend_Controller_Plugin_ActionStackSet registry key
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| \Zend_Controller_Plugin_ActionStack |