Controller/Action/Helper/ActionStack.php
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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Controller
- Subpackage
- Zend_Controller_Action_Helper
- Version
- $Id: ActionStack.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Controller_Action_Helper_ActionStack
- Parent(s)
- \Zend_Controller_Action_Helper_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Controller_Action_Helper_Abstract
Properties


\Zend_Controller_Action $_actionController = null
null
Details

mixed $_frontController = null
null
Details- Type
- mixed
- Inherited_from
- \Zend_Controller_Action_Helper_Abstract::$$_frontController
Methods


actionToStack(string $action, string $controller = null, string $module = null, array $params = array()) : \Zend_Controller_Action_Helper_ActionStack
Push a new action onto the stack
Name | Type | Description |
---|---|---|
$action | string | |
$controller | string | |
$module | string | |
$params | array |
Type | Description |
---|---|
\Zend_Controller_Action_Helper_ActionStack |
Exception | Description |
---|---|
\Zend_Controller_Action_Exception |


direct(string $action, string $controller = null, string $module = null, array $params = array()) : boolean
Perform helper when called as $this->_helper->actionStack() from an action controller
Proxies to simple()
Name | Type | Description |
---|---|---|
$action | string | |
$controller | string | |
$module | string | |
$params | array |
Type | Description |
---|---|
boolean |


getActionController() : \Zend_Controller_Action
Retrieve current action controller
Inherited from: \Zend_Controller_Action_Helper_Abstract::getActionController()Type | Description |
---|---|
\Zend_Controller_Action |


getFrontController() : \Zend_Controller_Front
Retrieve front controller instance
Inherited from: \Zend_Controller_Action_Helper_Abstract::getFrontController()Type | Description |
---|---|
\Zend_Controller_Front |


getRequest() : \Zend_Controller_Request_Abstract
Type | Description |
---|---|
\Zend_Controller_Request_Abstract | $request |


getResponse() : \Zend_Controller_Response_Abstract
Type | Description |
---|---|
\Zend_Controller_Response_Abstract | $response |


init() : void
Hook into action controller initialization
Inherited from: \Zend_Controller_Action_Helper_Abstract::init()

postDispatch() : void
Hook into action controller postDispatch() workflow
Inherited from: \Zend_Controller_Action_Helper_Abstract::postDispatch()

preDispatch() : void
Hook into action controller preDispatch() workflow
Inherited from: \Zend_Controller_Action_Helper_Abstract::preDispatch()

pushStack(\Zend_Controller_Request_Abstract $next) : \Zend_Controller_Action_Helper_ActionStack
Push onto the stack
Name | Type | Description |
---|---|---|
$next | \Zend_Controller_Request_Abstract |
Type | Description |
---|---|
\Zend_Controller_Action_Helper_ActionStack | Provides a fluent interface |


setActionController(\Zend_Controller_Action $actionController = null) : \Zend_Controller_ActionHelper_Abstract
setActionController()
Inherited from: \Zend_Controller_Action_Helper_Abstract::setActionController()Name | Type | Description |
---|---|---|
$actionController | \Zend_Controller_Action |
Type | Description |
---|---|
\Zend_Controller_ActionHelper_Abstract | Provides a fluent interface |