API17

JModuleHelper::getLayoutPath: Difference between revisions

From Joomla! Documentation

m JoomlaWikiBot moved page JModuleHelper::getLayoutPath/11.1 to API17:JModuleHelper::getLayoutPath without leaving a redirect: Robot: Moved page
m preparing for archive only
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
Get the path to a layout for a module.  
Get the path to a layout for a module.  


{{Description:JModuleHelper::getLayoutPath}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JModuleHelper::getLayoutPath|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public static function getLayoutPath (
public static function getLayoutPath (
Line 37: Line 35:
===See also===
===See also===
* {{JVer|11.1}} '''JModuleHelper::getLayoutPath source code''' on [[jplatform:application/module/helper.php#cl-217|BitBucket]]
* {{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}} Class [[API17:JModuleHelper|JModuleHelper]]
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JModuleHelper::getLayoutPath|Other versions of JModuleHelper::getLayoutPath]]
* [[API17:JModuleHelper::getLayoutPath|Other versions of JModuleHelper::getLayoutPath]]
{{SeeAlso:JModuleHelper::getLayoutPath}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JModuleHelper::getLayoutPath|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JModuleHelper::getLayoutPath
category=JModuleHelper::getLayoutPath
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
Line 55: Line 51:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JModuleHelper]][[Category:JModuleHelper::getLayoutPath]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:28, 25 March 2017

Joomla 11.1 JModuleHelper::getLayoutPath

Description

Get the path to a layout for a module.


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


User contributed notes

Code Examples