By melchior on
hi guys,
I just switched to drupal 6.x
By 5.x I used to get menu-childs by
$children = isset($menu['visible'][$mid]['children']) ? $menu['visible'][$mid]['children'] : NULL;
In 6.x I couldn't find a solution to get childs by mlid. I need this because I'm building my navigation from an array.
I tried
$fullMenue= menu_tree_all_data('primary-links');
and get
[49950 Home 92] => Array
(
[link] => Array
(
[load_functions] => a:1:{i:1;s:9:"node_load";}
[to_arg_functions] =>
[access_callback] => node_access
. . .
(
)
)
[below] =>
)
[49951 Über uns 94] => Array
(With this result I've got no idea how to access the indexes ([49950 Home 92] ) to get the child mlids.
can somebody please help me.
I'm searching for hours now :(
thx!
melchior