API17:JModuleHelper::getLayoutPath
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| 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 52: | 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 21:25, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JModuleHelper::getLayoutPath
Description
Get the path to a layout for a module.
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
SeeAlso:JModuleHelper::getLayoutPath [Edit See Also]
User contributed notes
<CodeExamplesForm />
