API17

JModuleHelper

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JModuleHelper[edit]

Description[edit]

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

Methods[edit]

Visibility Method name Description
public static getLayoutPath Get the path to a layout for a module.
public getModule Get module by name (real, eg 'Breadcrumbs' or folder, eg 'mod_breadcrumbs').
public getModules Get modules by position.
public static isEnabled Checks if a module is enabled.
public static moduleCache Module cache helper.
public static renderModule Render the module.
protected _load Load published modules.
  • Defined in libraries/joomla/application/module/helper.php

Importing[edit]

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

See also[edit]


User contributed notes[edit]

Code Examples[edit]