Difference between revisions of "JView::setLayout"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JView::setLayout ($layout) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 30: | ||
string Previous value | string Previous value | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/application/component/view.php | + | libraries/joomla/application/component/view.php (line 476) |
+ | * see source code in [[jplatform:application/component/view.php#cl-476|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 21:33, 23 April 2011
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.
Template:Description:JView::setLayout [Edit Descripton]
Since[edit]
Synopsis[edit]
public JView::setLayout ($layout)
Parameter | Type | Default | Description |
---|---|---|---|
$layout | string | The layout name or a string in format <template>:<layout file>=""> |
Returns[edit]
string Previous value
Defined in[edit]
libraries/joomla/application/component/view.php (line 476)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JView::setLayout
Examples[edit]
<CodeExamplesForm />