Solar_Controller_Page::_setLayoutTemplates()
protected
void
Solar_Controller_Page::_setLayoutTemplates ( void
)
Resets $this->_view_object to use the Layout templates.
Parameters
None.
Returns
(void)
Description
Resets $this->_view_object to use the Layout templates.
This effectively re-uses the Solar_View object from the page (with its helper objects and data) to build the layout. This helps to transfer JavaScript and other layout data back up to the layout with zero effort.
Automatically sets up a template-path stack for you, searching for layout files (e.g.) in this order ...
Vendor/App/Example/Layout/
Vendor/Controller/Page/Layout/
Solar/Controller/Page/Layout/