Layout/Controller/Plugin/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
- Plugins
\Zend_Layout_Controller_Plugin_Layout
Render layouts
- Parent(s)
- \Zend_Controller_Plugin_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Controller_Plugin_Abstract
- Version
- $Id: Layout.php 24593 2012-01-05 20:35:02Z matthew $
Properties

\Zend_Controller_Request_Abstract $_request = - Type
- \Zend_Controller_Request_Abstract
- Inherited_from
- \Zend_Controller_Plugin_Abstract::$$_request

\Zend_Controller_Response_Abstract $_response = - Type
- \Zend_Controller_Response_Abstract
- Inherited_from
- \Zend_Controller_Plugin_Abstract::$$_response
Methods

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

dispatchLoopShutdown() : voidCalled before Zend_Controller_Front exits its dispatch loop.
Inherited from: \Zend_Controller_Plugin_Abstract::dispatchLoopShutdown()
dispatchLoopStartup(\Zend_Controller_Request_Abstract $request) : voidCalled before Zend_Controller_Front enters its dispatch loop.
Inherited from: \Zend_Controller_Plugin_Abstract::dispatchLoopStartup()| Name | Type | Description |
|---|---|---|
| $request | \Zend_Controller_Request_Abstract |

getLayoutActionHelper() : \Zend_Layout_Controller_Action_Helper_LayoutRetrieve layout action helper
| Type | Description |
|---|---|
| \Zend_Layout_Controller_Action_Helper_Layout |

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

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

postDispatch(\Zend_Controller_Request_Abstract $request) : voidpostDispatch() plugin hook -- render layout
This callback allows for proxy or filter behavior. By altering the request and resetting its dispatched flag (via setDispatched(false)), a new action may be specified for dispatching.
| Name | Type | Description |
|---|---|---|
| $request | \Zend_Controller_Request_Abstract |

preDispatch(\Zend_Controller_Request_Abstract $request) : voidCalled before an action is dispatched by Zend_Controller_Dispatcher.
Inherited from: \Zend_Controller_Plugin_Abstract::preDispatch()This callback allows for proxy or filter behavior. By altering the request and resetting its dispatched flag (via setDispatched(false)), the current action may be skipped.
| Name | Type | Description |
|---|---|---|
| $request | \Zend_Controller_Request_Abstract |

routeShutdown(\Zend_Controller_Request_Abstract $request) : voidCalled after Zend_Controller_Router exits.
Inherited from: \Zend_Controller_Plugin_Abstract::routeShutdown()Called after Zend_Controller_Front exits from the router.
| Name | Type | Description |
|---|---|---|
| $request | \Zend_Controller_Request_Abstract |

routeStartup(\Zend_Controller_Request_Abstract $request) : voidCalled before Zend_Controller_Front begins evaluating the request against its routes.
Inherited from: \Zend_Controller_Plugin_Abstract::routeStartup()| Name | Type | Description |
|---|---|---|
| $request | \Zend_Controller_Request_Abstract |

setLayout(\Zend_Layout $layout) : \Zend_Layout_Controller_Plugin_LayoutSet layout object
| Name | Type | Description |
|---|---|---|
| $layout | \Zend_Layout |
| Type | Description |
|---|---|
| \Zend_Layout_Controller_Plugin_Layout |

setLayoutActionHelper(\Zend_Layout_Controller_Action_Helper_Layout $layoutActionHelper) : \Zend_Layout_Controller_Plugin_LayoutSet layout action helper
| Name | Type | Description |
|---|---|---|
| $layoutActionHelper | \Zend_Layout_Controller_Action_Helper_Layout |
| Type | Description |
|---|---|
| \Zend_Layout_Controller_Plugin_Layout |

setRequest(\Zend_Controller_Request_Abstract $request) : \Zend_Controller_Plugin_Abstract
| Name | Type | Description |
|---|---|---|
| $request | \Zend_Controller_Request_Abstract |
| Type | Description |
|---|---|
| \Zend_Controller_Plugin_Abstract |

setResponse(\Zend_Controller_Response_Abstract $response) : \Zend_Controller_Plugin_Abstract
| Name | Type | Description |
|---|---|---|
| $response | \Zend_Controller_Response_Abstract |
| Type | Description |
|---|---|
| \Zend_Controller_Plugin_Abstract |