JHtmlMenu::treerecurse
Build the list representing the menu tree
Signature
public function treerecurse(integer
$id,
[string&
$indent = 9999,
[array&
$list = 9999,
[&
$children = 9999,
[integer
$maxlevel = 9999,
[integer
$level = 0,
[integer
$type = 1]]]]]] )
Parameters
-
$id
- Id of the menu item
-
$indent
- The indentation string
-
$list
- The list to process
-
$children
-
$maxlevel
- The maximum number of levels in the tree
-
$level
- The starting level
-
$type
- Type of link: component, URL, alias, separator
Returns
- array