API16

API16:JModuleHelper

From Joomla! Documentation

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

Importing

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



Examples

Code Examples