Actions

API16

JModuleHelper

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] JModuleHelper is a static helper class which provides functionality to handle modules.

Contents

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] SeeAlso:JModuleHelper

Examples

<CodeExamplesForm />