API15

API15:JModuleHelper

From Joomla! Documentation

Revision as of 00:58, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JModuleHelper is a static helper class which provides functionality to handle modules.

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

Importing

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



Examples

Code Examples