970.1. Zend\View\Helper\Layout
View helper for retrieving layout object
970.1.1. Methods
970.1.1.1. getLayout
-
getLayout()
Get layout template
970.1.1.2. setTemplate
-
setTemplate()
Set layout template
Parameters: | string – |
Return type: | Layout |
970.1.1.3. __invoke
-
__invoke()
Set layout template or retrieve “layout” view model
If no arguments are given, grabs the “root” or “layout” view model.
Otherwise, attempts to set the template for that view model.
Parameters: | null|string – |
Return type: | Layout |
970.1.1.4. getRoot
-
getRoot()
Get the root view model
970.1.1.5. getViewModelHelper
-
getViewModelHelper()
Retrieve the view model helper