JModuleHelper: Difference between revisions
From Joomla! Documentation
m moving preparation |
m clean up |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JModuleHelper== | =={{JVer|11.1}} JModuleHelper== | ||
===Description=== | ===Description=== | ||
[[JModuleHelper]] is a static helper class which provides functionality to handle modules. | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 49: | Line 47: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]] | ||
* [[API17:JModuleHelper|Other versions of JModuleHelper]] | * [[API17:JModuleHelper|Other versions of JModuleHelper]] | ||
{{SeeAlso:JModuleHelper}} | {{subst:SeeAlso:JModuleHelper}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:54, 24 March 2017
JModuleHelper
Description
JModuleHelper is a static helper class which provides functionality to handle modules.
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | getLayoutPath | Get the path to a layout for a module. |
| public | getModule | Get module by name (real, eg 'Breadcrumbs' or folder, eg 'mod_breadcrumbs'). |
| public | getModules | Get modules by position. |
| public static | isEnabled | Checks if a module is enabled. |
| public static | moduleCache | Module cache helper. |
| public static | renderModule | Render the module. |
| protected | _load | Load published modules. |
- Defined in libraries/joomla/application/module/helper.php
Importing
jimport( 'joomla.application.module.helper' );
See also
JModuleHelper source code on BitBucket
Subpackage Application- Other versions of JModuleHelper
{{subst:SeeAlso:JModuleHelper}}
User contributed notes
<CodeExamplesForm />