Changeset 10012 for trunk/src/bp-core/classes/class-bp-walker-nav-menu.php
- Timestamp:
- 07/12/2015 12:49:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-walker-nav-menu.php
r9819 r10012 50 50 * @see Walker::walk() 51 51 * 52 * @param array $elements See {@link Walker::walk()}. 53 * @param int $max_depth See {@link Walker::walk()}. 52 * @param array $elements See {@link Walker::walk()}. 53 * @param int $max_depth See {@link Walker::walk()}. 54 * 54 55 * @return string See {@link Walker::walk()}. 55 56 */ … … 79 80 80 81 /* 81 * need to display in hierarchical order82 * Need to display in hierarchical order 82 83 * separate elements into two buckets: top level and children elements 83 84 * children_elements is two dimensional array, eg. … … 96 97 97 98 /* 98 * when none of the elements is top level99 * assume the first one must be root of the sub elements 99 * When none of the elements is top level 100 * assume the first one must be root of the sub elements. 100 101 */ 101 102 if ( empty( $top_level_elements ) ) { … … 135 136 * Display the current <li> that we are on. 136 137 * 137 * @see Walker::start_el() for complete description of parameters 138 * @see Walker::start_el() for complete description of parameters. 138 139 * 139 140 * @since BuddyPress (1.7.0) 140 141 * 141 142 * @param string $output Passed by reference. Used to append 142 * additional content.143 * @param object $item Menu item data object.144 * @param int $depthDepth of menu item. Used for padding. Optional,145 * defaults to 0.146 * @param array $argsOptional. See {@link Walker::start_el()}.147 * @param int $current_pageMenu item ID. Optional.143 * additional content. 144 * @param object $item Menu item data object. 145 * @param int $depth Depth of menu item. Used for padding. Optional, 146 * defaults to 0. 147 * @param array $args Optional. See {@link Walker::start_el()}. 148 * @param int $id Menu item ID. Optional. 148 149 */ 149 150 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.