JModuleHelper

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
m
m (Added availability section.)
Line 1: Line 1:
 
'''JModuleHelper''' is a static helper class which provides functionality to handle modules.
 
'''JModuleHelper''' is a static helper class which provides functionality to handle modules.
 +
 +
===Availability===
 +
{{JVer|1.5}} {{JVer|1.6}}
  
 
===Defined in===
 
===Defined in===

Revision as of 17:59, 3 July 2009

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
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox