API17

JModuleHelper: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 47: Line 47:
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]]
* [[API17:JModuleHelper|Other versions of JModuleHelper]]
* [[API17:JModuleHelper|Other versions of JModuleHelper]]
{{subst:SeeAlso:JModuleHelper}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JModuleHelper
category=JModuleHelper
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*

Latest revision as of 03:28, 25 March 2017

Joomla 11.1 JModuleHelper

Description

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

Methods

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

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

See also


User contributed notes

Code Examples