theme_menu_tree

Versions
5
theme_menu_tree($pid = 1)
6
theme_menu_tree($tree)
7
theme_menu_tree($variables)

Generate the HTML for a menu tree.

Parameters

$pid The parent id of the menu.

Related topics

Code

5/includes/menu.inc, line 646

<?php
function theme_menu_tree($pid = 1) {
  if ($tree = menu_tree($pid)) {
    return "\n<ul class=\"menu\">\n". $tree ."\n</ul>\n";
  }
}
?>