JModuleHelper: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 47: | 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]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JModuleHelper | category=JModuleHelper | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Latest revision as of 03:28, 25 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
User contributed notes
Code Examples