API17:JView::setLayout
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JView::setLayout
Description
Sets the layout name to use.
Description:JView::setLayout [Edit Descripton]
Since
Synopsis
public JView->setLayout ($layout)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $layout | string | The layout name or a string in format <template>:<layout file>=""> |
Returns
string Previous value
Defined in
libraries/joomla/application/component/view.php
Referenced by
See also
Examples
<CodeExamplesForm />
