API17

JModuleHelper: Difference between revisions

From Joomla! Documentation

m moving preparation
m clean up
Line 2: Line 2:
=={{JVer|11.1}} JModuleHelper==
=={{JVer|11.1}} JModuleHelper==
===Description===
===Description===
{{Description:JModuleHelper}}
[[JModuleHelper]] is a static helper class which provides functionality to handle modules.
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JModuleHelper|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 49: 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]]
{{SeeAlso:JModuleHelper}}
{{subst:SeeAlso:JModuleHelper}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JModuleHelper|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:54, 24 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

{{subst:SeeAlso:JModuleHelper}}

User contributed notes

<CodeExamplesForm />