Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JModuleHelper

Description

Module helper class

Located in /joomla/application/module/helper.php (line 30)

Class JModuleHelper   (Subpackage Application)
Method Summary
Static method static string getLayoutPath (string $module, [string $layout = 'default'])
Method object The &getModule (string $name)
Method array &getModules (string $position)
Method void renderModule ( $module, [ $attribs = array()])
Methods
getLayoutPath (line 186)

Get the path to a layout for a module

  • return: The path to the module layout
  • since: 1.5
string getLayoutPath (string $module, [string $layout = 'default'])
  • string $module: The name of the module
  • string $layout: The name of the module layout
getModule (line 39)

Get module by name

  • return: Module object
  • access: public
object The &getModule (string $name)
  • string $name: The name of the module
getModules (line 64)

Get modules by position

  • return: An array of module objects
  • access: public
array &getModules (string $position)
  • string $position: The position of the module
renderModule (line 81)
void renderModule ( $module, [ $attribs = array()])
  • $module
  • $attribs

Documentation generated on Mon, 05 Mar 2007 21:05:49 +0000 by phpDocumentor 1.3.1