Layout/Controller/Action/Helper/Layout.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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Controller
- Subpackage
- Zend_Controller_Action
- Version
- $Id: Layout.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Layout_Controller_Action_Helper_Layout
Helper for interacting with Zend_Layout objects
- 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
$_actionController
Inherited from: \Zend_Controller_Action_Helper_Abstract::$$_actionControllernull
Details- Type
- \Zend_Controller_Action
- Inherited_from
- \Zend_Controller_Action_Helper_Abstract::$$_actionController
Methods


__call(string $method, array $args) : mixed
Proxy method calls to layout object
Name | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
mixed |


__construct(\Zend_Layout $layout = null) : void
Constructor
Name | Type | Description |
---|---|---|
$layout | \Zend_Layout |


direct() : \Zend_Layout
Strategy pattern; call object as method
Returns layout object
Type | Description |
---|---|
\Zend_Layout |


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
Get front controller instance
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 |


isActionControllerSuccessful() : bool
Did the previous action successfully complete?
Type | Description |
---|---|
bool |


postDispatch() : \Zend_Layout_Controller_Action_Helper_Layout
Mark Action Controller (according to this plugin) as Running successfully
Type | Description |
---|---|
\Zend_Layout_Controller_Action_Helper_Layout |


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

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 |


setLayoutInstance(\Zend_Layout $layout) : \Zend_Layout_Controller_Action_Helper_Layout
Set layout object
Name | Type | Description |
---|---|---|
$layout | \Zend_Layout |
Type | Description |
---|---|
\Zend_Layout_Controller_Action_Helper_Layout |