API16

JModuleHelper: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JModuleHelper}} ===Defined ...
 
Doxiki (talk | contribs)
No edit summary
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>

Revision as of 09:57, 30 March 2010

[Edit Descripton] Template:Description:JModuleHelper

Defined in

libraries/joomla/application/module/helper.php

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 Render the module.
getLayoutPath Get the path to a layout for a module

Importing

jimport( 'joomla.application.module.helper' );

[Edit See Also] Template:SeeAlso:JModuleHelper

Examples

<CodeExamplesForm />