JModuleHelper

From Joomla! Documentation

Revision as of 22:59, 3 July 2009 by Chris Davenport (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

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

Contents

Availability

Joomla 1.5 Joomla 1.6

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' );

See also

Personal tools