JView/getLayout: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Get the layout.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{D... |
m clean up |
||
| Line 2: | Line 2: | ||
Get the layout. | Get the layout. | ||
{{Description:JView/getLayout}} | |||
{{subst:Description:JView/getLayout}} | |||
===Syntax=== | ===Syntax=== | ||
| Line 28: | Line 26: | ||
</source> | </source> | ||
{{subst:SeeAlso:JView/getLayout}} | |||
{{SeeAlso:JView/getLayout}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:37, 24 March 2017
Description
Get the layout.
{{subst:Description:JView/getLayout}}
Syntax
getLayout()
Returns
string The layout name
Defined in
libraries/joomla/application/component/view.php
Importing
jimport( 'joomla.application.component.view' );
Source Body
function getLayout()
{
return $this->_layout;
}
{{subst:SeeAlso:JView/getLayout}}
Examples
<CodeExamplesForm />