JModuleHelper
From Joomla! Documentation
(Difference between revisions)
m |
m (Added availability section.) |
||
| Line 1: | Line 1: | ||
'''JModuleHelper''' is a static helper class which provides functionality to handle modules. | '''JModuleHelper''' is a static helper class which provides functionality to handle modules. | ||
| + | |||
| + | ===Availability=== | ||
| + | {{JVer|1.5}} {{JVer|1.6}} | ||
===Defined in=== | ===Defined in=== | ||
Revision as of 17:59, 3 July 2009
JModuleHelper is a static helper class which provides functionality to handle modules.
Contents |
Availability
Defined in
/libraries/joomla/application/module/helper.php
Methods
| Method name | Description |
|---|---|
| getLayoutPath | Get the path to a layout for a module. |
| getModule | Get module by name. Returns an object with information about the module. |
| getModules | Get modules by module position. Returns an array of objects with information about the modules. |
| isEnabled | Checks if a module is enabled. |
| renderModule | Renders the module, returning the output HTML. |
Importing
jimport( 'joomla.application.module.helper' );