API17

Difference between revisions of "JView::setLayout"

From Joomla! Documentation

m (→‎See also: moving preparation)
m (clean up)
Line 4: Line 4:
 
Sets the layout name to use.  
 
Sets the layout name to use.  
  
{{Description:JView::setLayout}}
+
{{subst:Description:JView::setLayout}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JView::setLayout|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function setLayout ($layout)
 
public function setLayout ($layout)
Line 32: Line 30:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
 
* [[API17:JView::setLayout|Other versions of JView::setLayout]]
 
* [[API17:JView::setLayout|Other versions of JView::setLayout]]
{{SeeAlso:JView::setLayout}}
+
{{subst:SeeAlso:JView::setLayout}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JView::setLayout|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />

Revision as of 11:24, 24 March 2017

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.

Joomla 11.1 JView::setLayout[edit]

Description[edit]

Sets the layout name to use.

{{subst:Description:JView::setLayout}}

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 Joomla 11.1

See also[edit]

{{subst:SeeAlso:JView::setLayout}}

User contributed notes[edit]

<CodeExamplesForm />