? improve_menu_inc_documentation-D6.patch
Index: includes/menu.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/menu.inc,v
retrieving revision 1.315
diff -u -p -r1.315 menu.inc
--- includes/menu.inc	20 Mar 2009 19:18:09 -0000	1.315
+++ includes/menu.inc	20 Mar 2009 23:33:59 -0000
@@ -1084,6 +1084,11 @@ function _menu_tree_cid($menu_name, $dat
 
 /**
  * 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(&$
 
 /**
  * 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()) {
 
