API17:JView::setLayout
From Joomla! Documentation
JView::setLayout
Description
Sets the layout name to use.
public function setLayout ($layout)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $layout | string | The layout name or a string in format <template>:<layout file>=""> |
- Returns string Previous value
- Defined on line 455 of libraries/joomla/application/component/view.php
- Since

See also
JView::setLayout source code on BitBucket
Class JView
Subpackage Application- Other versions of JView::setLayout
User contributed notes
Code Examples