Helper for interacting with Zend_Layout objects

uses
category Zend
package Zend_Controller
subpackage Zend_Controller_Action
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Controller_Action_Helper_Abstract

 Methods

Proxy method calls to layout object

__call(string $method, array $args) : mixed

Parameters

$method

string

$args

array

Returns

mixed

Constructor

__construct(\Zend_Layout $layout = null) : void

Parameters

$layout

\Zend_Layout

Strategy pattern; call object as method

direct() : \Zend_Layout

Returns layout object

Returns

\Zend_Layout

Retrieve current action controller

getActionController() : \Zend_Controller_Action
Inherited

Returns

\Zend_Controller_Action

Get front controller instance

getFrontController() : \Zend_Controller_Front
inherited_from \Zend_Controller_Action_Helper_Abstract::getFrontController()

Returns

\Zend_Controller_Front

Retrieve front controller instance

getFrontController() : \Zend_Controller_Front
Inherited

Returns

\Zend_Controller_Front

Get layout object

getLayoutInstance() : \Zend_Layout

Returns

\Zend_Layout

getName()

getName() : string
Inherited

Returns

string

getRequest() -

getRequest() : \Zend_Controller_Request_Abstract
Inherited

Returns

\Zend_Controller_Request_Abstract$request

getResponse() -

getResponse() : \Zend_Controller_Response_Abstract
Inherited

Returns

\Zend_Controller_Response_Abstract$response

Hook into action controller initialization

init() 
inherited_from \Zend_Controller_Action_Helper_Abstract::init()

Hook into action controller initialization

init() : void
Inherited

Did the previous action successfully complete?

isActionControllerSuccessful() : boolean

Returns

boolean

Mark Action Controller (according to this plugin) as Running successfully

postDispatch() : \Zend_Layout_Controller_Action_Helper_Layout
inherited_from \Zend_Controller_Action_Helper_Abstract::postDispatch()

Returns

\Zend_Layout_Controller_Action_Helper_Layout

Hook into action controller postDispatch() workflow

postDispatch() : void
Inherited

Hook into action controller preDispatch() workflow

preDispatch() : void
Inherited

setActionController()

setActionController(\Zend_Controller_Action $actionController = null) : \Zend_Controller_ActionHelper_Abstract
Inherited

Parameters

$actionController

\Zend_Controller_Action

Returns

\Zend_Controller_ActionHelper_AbstractProvides a fluent interface

Set layout object

setLayoutInstance(\Zend_Layout $layout) : \Zend_Layout_Controller_Action_Helper_Layout

Parameters

$layout

\Zend_Layout

Returns

\Zend_Layout_Controller_Action_Helper_Layout

 Properties

 

$_actionController

$_actionController : \Zend_Controller_Action

Default

null
 

$_frontController

$_frontController : \Zend_Controller_Front

Default

inherited_from \Zend_Controller_Action_Helper_Abstract::_frontController
 

$_frontController

$_frontController : mixed

Default

null
 

$_isActionControllerSuccessful

$_isActionControllerSuccessful : boolean

Default

false
 

$_layout

$_layout : \Zend_Layout

Default