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 189)
Retrieve MVC instance of Zend_Layout object
static resetMvcInstance (line 201)
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 732)
Assign one or more layout variables
getContentKey (line 439)
Retrieve content key
getHelperClass (line 505)
Retrieve helper class
getInflectorTarget (line 592)
Retrieve inflector target
getLayout (line 338)
Get current layout script
getLayoutPath (line 415)
Get current layout script path
getMvcEnabled (line 461)
Retrieve MVC enabled flag
getMvcSuccessfulActionOnly (line 483)
Get MVC Successful Action Only Flag
getPluginClass (line 527)
Retrieve plugin class
getView (line 552)
Get current view object
If no view object currently set, retrieves it from the ViewRenderer.
getViewBasePath (line 383)
getViewScriptPath (line 394)
getViewSuffix (line 582)
Retrieve layout view script suffix
inflectorEnabled (line 667)
Return status of inflector enabled flag
isEnabled (line 370)
Is layout enabled?
render (line 762)
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 428)
Set content key
Key in namespace container denoting default content
setHelperClass (line 516)
Set helper class
setInflector (line 615)
Set inflector to use when resolving layout names
setInflectorTarget (line 603)
Set inflector target
setLayout (line 326)
Set layout script to use
Note: enables layout.
setLayoutPath (line 405)
Set layout script path
setMvcSuccessfulActionOnly (line 472)
Set MVC Successful Action Only flag
setOptions (line 226)
Set options en masse
setPluginClass (line 538)
Set plugin class
setViewBasePath (line 376)
setViewScriptPath (line 388)
setViewSuffix (line 571)
Set layout view script suffix
_initHelper (line 280)
Initialize action helper
_initMvc (line 248)
Initialize MVC integration
_initPlugin (line 259)
Initialize front controller plugin
_initVarContainer (line 308)
Initialize placeholder container for layout vars
_setMvcEnabled (line 450)
Set MVC enabled flag
__get (line 690)
Get layout variable
__isset (line 705)
Is a layout variable set?
__set (line 679)
Set layout variable
__unset (line 716)
Unset a layout variable?
Documentation generated on Mon, 25 Aug 2008 23:59:59 +0400 by phpDocumentor 1.4.1