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. | ||
<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 | * {{JVer|11.1}} Class [[API17:JModuleHelper|JModuleHelper]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Application | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
* [[JModuleHelper::getLayoutPath|Other versions of JModuleHelper::getLayoutPath]] | * [[API17:JModuleHelper::getLayoutPath|Other versions of JModuleHelper::getLayoutPath]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JModuleHelper::getLayoutPath | category=JModuleHelper::getLayoutPath | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 55: | Line 51: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:28, 25 March 2017
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

See also
JModuleHelper::getLayoutPath source code on BitBucket
Class JModuleHelper
Subpackage Application- Other versions of JModuleHelper::getLayoutPath
User contributed notes
Code Examples