API15:JModuleHelper
From Joomla! Documentation
(Difference between revisions)
| Line 27: | Line 27: | ||
|Get the path to a layout for a module | |Get the path to a layout for a module | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.application.module.helper' );</source> | <source lang="php">jimport( 'joomla.application.module.helper' );</source> | ||
Latest revision as of 12:26, 25 March 2010
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.
[Edit Descripton] JModuleHelper is a static helper class which provides functionality to handle modules.
Contents |
[edit] Defined in
libraries/joomla/application/module/helper.php
[edit] Methods
| Method name | Description |
|---|---|
| getModule | Get module by name (real, eg 'Breadcrumbs' or folder, eg 'mod_breadcrumbs') |
| getModules | Get modules by position |
| isEnabled | Checks if a module is enabled |
| renderModule | |
| getLayoutPath | Get the path to a layout for a module |
[edit] Importing
jimport( 'joomla.application.module.helper' );
[Edit See Also] SeeAlso:JModuleHelper
[edit] Examples
<CodeExamplesForm />
