[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/libraries/joomla/html/html/ -> menu.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 352 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  menus()
  menuitems()
  menuitemlist()
  ordering()
  linkoptions()
  treerecurse()

Functions
Functions that are not part of a class:

menus()   X-Ref
Get a list of the available menus.

return: string

menuitems($config = array()   X-Ref
Returns an array of menu items grouped by menu.

param: array  $config  An array of configuration options.
return: array

menuitemlist($name, $selected = null, $attribs = null, $config = array()   X-Ref
Displays an HTML select list of menu items.

param: string  $name      The name of the control.
param: string  $selected  The value of the selected option.
param: string  $attribs   Attributes for the control.
param: array   $config    An array of options for the control.
return: string

ordering(&$row, $id)   X-Ref
Build the select list for Menu Ordering

param: object   &$row  The row object
param: integer  $id    The id for the row. Must exist to enable menu ordering
return: string

linkoptions($all = false, $unassigned = false)   X-Ref
Build the multiple select list for Menu Links/Pages

param: boolean  $all         True if all can be selected
param: boolean  $unassigned  True if unassigned can be selected
return: string

treerecurse($id, $indent, $list, &$children, $maxlevel = 9999, $level = 0, $type = 1)   X-Ref
Build the list representing the menu tree

param: integer  $id         Id of the menu item
param: string   $indent     The indentation string
param: array    $list       The list to process
param: array    &$children  The children of the current item
param: integer  $maxlevel   The maximum number of levels in the tree
param: integer  $level      The starting level
param: string   $type       Type of link: component, URL, alias, separator
return: array



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1