JModuleHelper::getLayoutPath: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JModuleHelper::getLayoutPath|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JModuleHelper::getLayoutPath|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
<source lang="php"> | <source lang="php"> | ||
public static | public static function getLayoutPath ( | ||
$module | |||
$layout= 'default' | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' string The path to the module layout | |||
string The path to the module layout | * '''Defined''' on line 225 of libraries/joomla/application/module/helper.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/application/module/helper.php | |||
* | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JModuleHelper::getLayoutPath source code''' on [[jplatform:application/module/helper.php#cl-217|BitBucket]] | |||
* {{JVer|11.1}} Class [[JModuleHelper/11.1|JModuleHelper]] | |||
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]] | |||
* [[JModuleHelper::getLayoutPath|Other versions of JModuleHelper::getLayoutPath]] | |||
{{SeeAlso:JModuleHelper::getLayoutPath}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JModuleHelper::getLayoutPath|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JModuleHelper::getLayoutPath|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===User contributed notes=== | |||
=== | |||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JModuleHelper]][[Category:JModuleHelper::getLayoutPath]]</noinclude> | <noinclude>[[Category:JModuleHelper]][[Category:JModuleHelper::getLayoutPath]]</noinclude> | ||
Revision as of 02:25, 28 April 2011
JModuleHelper::getLayoutPath
Description
Get the path to a layout for a module.
Template:Description:JModuleHelper::getLayoutPath [Edit Descripton]
public static function getLayoutPath (
$module
$layout= 'default'
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $module | string | The name of the module | |
| $layout | string | 'default' | The name of the module layout. If alternative layout, in the form template:filename. |
- Returns string The path to the module layout
- Defined on line 225 of libraries/joomla/application/module/helper.php
- Since

See also
JModuleHelper::getLayoutPath source code on BitBucket
Class JModuleHelper
Subpackage Application- Other versions of JModuleHelper::getLayoutPath
Template:SeeAlso:JModuleHelper::getLayoutPath [Edit See Also]
User contributed notes
<CodeExamplesForm />