Zend_LayoutProvide Layout support for MVC applications
Located in /Layout.php (line 30)
static Zend_Layout
$_mvcInstance
(line 99)
Instance registered with MVC, if any
Zend_View_Helper_Placeholder_Container
$_container
(line 36)
Placeholder container for layout variables
string
$_contentKey
= 'content' (line 42)
Key used to store content from 'default' named response segment
bool
$_enabled
= true (line 48)
Are layouts enabled?
string
$_helperClass
= 'Zend_Layout_Controller_Action_Helper_Layout' (line 54)
Helper class
Zend_Filter_Inflector
$_inflector
(line 60)
Inflector used to resolve layout script
bool
$_inflectorEnabled
= true (line 66)
Flag: is inflector enabled?
string
$_inflectorTarget
= ':script.:suffix' (line 72)
Inflector target
string
$_layout
= 'layout' (line 78)
Layout view
bool
$_mvcEnabled
= true (line 93)
Flag: is MVC integration enabled?
bool
$_mvcSuccessfulActionOnly
= true (line 105)
Flag: is MVC successful action only flag set?
string
$_pluginClass
= 'Zend_Layout_Controller_Plugin_Layout' (line 111)
Plugin class
Zend_View_Interface
$_view
(line 116)
mixed
$_viewBasePath
= null (line 86)
mixed
$_viewBasePrefix
= 'Layout_View' (line 87)
string
$_viewScriptPath
= null (line 84)
Layout view script path
string
$_viewSuffix
= 'phtml' (line 122)
View script suffix for layout script
static getMvcInstance (line 193)
Retrieve MVC instance of Zend_Layout object
static resetMvcInstance (line 205)
Reset MVC instance
Unregisters plugins and helpers, and destroys MVC layout instance.
static startMvc (line 173)
Static method for initialization with MVC support
Constructor __construct (line 142)
Constructor
Accepts either:
If mvcEnabled flag is false from options, simply sets layout script path. Otherwise, also instantiates and registers action helper and controller plugin.
assign (line 743)
Assign one or more layout variables
getContentKey (line 450)
Retrieve content key
getHelperClass (line 516)
Retrieve helper class
getInflectorTarget (line 603)
Retrieve inflector target
getLayout (line 349)
Get current layout script
getLayoutPath (line 426)
Get current layout script path
getMvcEnabled (line 472)
Retrieve MVC enabled flag
getMvcSuccessfulActionOnly (line 494)
Get MVC Successful Action Only Flag
getPluginClass (line 538)
Retrieve plugin class
getView (line 563)
Get current view object
If no view object currently set, retrieves it from the ViewRenderer.
getViewBasePath (line 394)
getViewScriptPath (line 405)
getViewSuffix (line 593)
Retrieve layout view script suffix
inflectorEnabled (line 678)
Return status of inflector enabled flag
isEnabled (line 381)
Is layout enabled?
render (line 773)
Render layout
Sets internal script path as last path on script path stack, assigns layout variables to view, determines layout name using inflector, and renders layout view script.
$name will be passed to the inflector as the key 'script'.
setContentKey (line 439)
Set content key
Key in namespace container denoting default content
setHelperClass (line 527)
Set helper class
setInflector (line 626)
Set inflector to use when resolving layout names
setInflectorTarget (line 614)
Set inflector target
setLayout (line 335)
Set layout script to use
Note: enables layout by default, can be disabled
setLayoutPath (line 416)
Set layout script path
setMvcSuccessfulActionOnly (line 483)
Set MVC Successful Action Only flag
setPluginClass (line 549)
Set plugin class
setViewBasePath (line 387)
setViewScriptPath (line 399)
setViewSuffix (line 582)
Set layout view script suffix
_initHelper (line 286)
Initialize action helper
_initMvc (line 252)
Initialize MVC integration
_initPlugin (line 263)
Initialize front controller plugin
_initVarContainer (line 316)
Initialize placeholder container for layout vars
_setMvcEnabled (line 461)
Set MVC enabled flag
__get (line 701)
Get layout variable
__isset (line 716)
Is a layout variable set?
__set (line 690)
Set layout variable
__unset (line 727)
Unset a layout variable?
Documentation generated on Mon, 21 Jun 2010 15:30:36 -0400 by phpDocumentor 1.4.3