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.
Manage a stack of actions
Bool $_clearRequestParams = 'false'
Flag to determine whether request parameters are cleared between actions, or whether new parameters are added to existing request parameters.
Zend_Registry $_registry = ''
string $_registryKey = 'Zend_Controller_Plugin_ActionStack'
Registry key under which actions are stored
array $_validKeys = 'array'
Valid keys for stack items
__construct(
Zend_Registry $registry
=
null, string $key
=
null
)
:
void
Constructor
_saveStack(
array $stack
)
:
Zend_Controller_Plugin_ActionStack
Save stack to registry
forward(
array $next
)
:
void
Forward request with next action
getClearRequestParams(
)
:
bool
Retrieve clearRequestParams flag
getRegistry(
)
:
Zend_Registry
Retrieve registry object
getRegistryKey(
)
:
string
Retrieve registry key
getStack(
)
:
array
Retrieve action stack
popStack(
)
:
false|Zend_Controller_Request_Abstract
Pop an item off the action stack
postDispatch(
Zend_Controller_Request_Abstract $request
)
:
void
postDispatch() plugin hook -- check for actions in stack, and dispatch if any found
pushStack(
Zend_Controller_Request_Abstract $next
)
:
Zend_Controller_Plugin_ActionStack
Push an item onto the stack
setClearRequestParams(
$clearRequestParams
)
:
Zend_Controller_Plugin_ActionStack
Set clearRequestParams flag
@param bool $clearRequestParams
setRegistry(
Zend_Registry $registry
)
:
Zend_Controller_Plugin_ActionStack
Set registry object
setRegistryKey(
string $key
)
:
Zend_Controller_Plugin_ActionStack
Set registry key