function power_menu_get_menu_tree in Power Menu 6
Same name and namespace in other branches
- 7 power_menu.module \power_menu_get_menu_tree()
File
- ./
power_menu.module, line 560 - This module provides some additional menu features. The features are not actually new, but are part of other modules. it's though very cumbersome to creating a new menu item, because one has to go to all the different places to configure these…
Code
function power_menu_get_menu_tree() {
$result = db_query("SELECT * FROM {menu_links} WHERE menu_name='%s'", power_menu_get_menu());
$tree = array();
while ($row = db_fetch_object($result)) {
$tree[] = $row;
}
return $tree;
}