Actions

API17

Difference between revisions of "JModuleHelper"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/application/module/helper.php
 
libraries/joomla/application/module/helper.php
 +
* see source code in [[jplatform:application/module/helper.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Application/11.1|Application]]
 
[[Subpackage Application/11.1|Application]]
Line 41: Line 42:
 
<source lang="php">jimport( 'joomla.application.module.helper' );</source>
 
<source lang="php">jimport( 'joomla.application.module.helper' );</source>
 
===See also===
 
===See also===
 +
* JModuleHelper source code in [[jplatform:application/module/helper.php|BitBucket]]
 
* [[JModuleHelper|Other versions of this class]]
 
* [[JModuleHelper|Other versions of this class]]
 
{{SeeAlso:JModuleHelper}}
 
{{SeeAlso:JModuleHelper}}

Revision as of 18:00, 23 April 2011

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.

Defined in

libraries/joomla/application/module/helper.php

Subpackage

Application

Extends

Extended by

Methods

Method name Description
getLayoutPath Get the path to a layout for a module.
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.
moduleCache Module cache helper.
renderModule Render the module.
_load Load published modules.

Importing

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

See also

SeeAlso:JModuleHelper [Edit See Also]

Examples

<CodeExamplesForm />