API17

JModuleHelper::getLayoutPath: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
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>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public static JModuleHelper::getLayoutPath ($module, $layout= 'default')
public static function getLayoutPath (
        $module
        $layout= 'default'
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 32: Line 32:
|-
|-
|}
|}
===Returns===
* '''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
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/module/helper.php (line 225)
* see source code in [[jplatform:application/module/helper.php#cl-225|BitBucket]]
===Referenced by===
===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>
* [[JModuleHelper/11.1|JModuleHelper]]
===User contributed notes===
* [[JModuleHelper::getLayoutPath|Other versions of this method]]
{{SeeAlso:JModuleHelper::getLayoutPath}}
===Examples===
<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

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

See also

Template:SeeAlso:JModuleHelper::getLayoutPath [Edit See Also]

User contributed notes

<CodeExamplesForm />