API17

JModuleHelper::getLayoutPath: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Get the path to a layout for a module.  
Get the path to a layout for a module.  


{{subst:Description:JModuleHelper::getLayoutPath}}
 


<source lang="php">
<source lang="php">
Line 38: Line 38:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[API17:JModuleHelper::getLayoutPath|Other versions of JModuleHelper::getLayoutPath]]
* [[API17:JModuleHelper::getLayoutPath|Other versions of JModuleHelper::getLayoutPath]]
{{subst:SeeAlso:JModuleHelper::getLayoutPath}}
 


===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=*

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