[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/joomla/application/module/ -> helper.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: helper.php 14401 2010-01-26 14:10:00Z louis $
File Size: 307 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 templates/system/html/modules.php

Defines 1 class

JModuleHelper:: (6 methods):
  getModule()
  getModules()
  isEnabled()
  renderModule()
  getLayoutPath()
  _load()


Class: JModuleHelper  - X-Ref

Module helper class

getModule($name, $title = null )   X-Ref
Get module by name (real, eg 'Breadcrumbs' or folder, eg 'mod_breadcrumbs')

param: string     $name    The name of the module
param: string    $title    The title of the module, optional
return: object    The Module object

getModules($position)   X-Ref
Get modules by position

param: string     $position    The position of the module
return: array    An array of module objects

isEnabled( $module )   X-Ref
Checks if a module is enabled

param: string     $module    The module name
return: boolean

renderModule($module, $attribs = array()   X-Ref
No description

getLayoutPath($module, $layout = 'default')   X-Ref
Get the path to a layout for a module

param: string    $module    The name of the module
param: string    $layout    The name of the module layout
return: string    The path to the module layout

_load()   X-Ref
Load published modules

return: array



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1