JView::setLayout
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JView::setLayout[edit]
Description[edit]
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[edit]
- JView::setLayout source code on BitBucket
- Class JView
- Subpackage Application
- Other versions of JView::setLayout
User contributed notes[edit]
Code Examples[edit]