diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-03-21 17:58:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-03-21 17:58:14 +0000 |
commit | 8af22eac088ec759c80fb784bd626e940d948d8b (patch) | |
tree | d785faf28667a7eec3ef674dc30b683793e5fca5 | |
parent | 84f30b9a6f92f5317f88ab9150fffc3f48daa4f8 (diff) | |
download | brdo-8af22eac088ec759c80fb784bd626e940d948d8b.tar.gz brdo-8af22eac088ec759c80fb784bd626e940d948d8b.tar.bz2 |
- Patch #408962 by brianV: documentation improvements.
-rw-r--r-- | includes/menu.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 2a8d9959f..a345f58a7 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -1084,6 +1084,11 @@ function _menu_tree_cid($menu_name, $data) { /** * Recursive helper function - collect node links. + * + * @param $tree + * The menu tree you wish to collect node links from. + * @param $node_links + * An array in which to store the collected node links. */ function menu_tree_collect_node_links(&$tree, &$node_links) { foreach ($tree as $key => $v) { @@ -1102,6 +1107,12 @@ function menu_tree_collect_node_links(&$tree, &$node_links) { /** * Check access and perform other dynamic operations for each link in the tree. + * + * @param $tree + * The menu tree you wish to operate on. + * @param $node_links + * A collection of node link references generated from $tree by + * menu_tree_collect_node_links(). */ function menu_tree_check_access(&$tree, $node_links = array()) { |