Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/12/2015 12:49:36 AM (11 years ago)
Author:
tw2113
Message:

First pass at BP-Core docs cleanup.

See #6398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-walker-nav-menu.php

    r9819 r10012  
    5050         * @see Walker::walk()
    5151         *
    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         *
    5455         * @return string See {@link Walker::walk()}.
    5556         */
     
    7980
    8081                /*
    81                  * need to display in hierarchical order
     82                 * Need to display in hierarchical order
    8283                 * separate elements into two buckets: top level and children elements
    8384                 * children_elements is two dimensional array, eg.
     
    9697
    9798                /*
    98                  * when none of the elements is top level
    99                  * 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.
    100101                 */
    101102                if ( empty( $top_level_elements ) ) {
     
    135136         * Display the current <li> that we are on.
    136137         *
    137          * @see Walker::start_el() for complete description of parameters .
     138         * @see Walker::start_el() for complete description of parameters.
    138139         *
    139140         * @since BuddyPress (1.7.0)
    140141         *
    141142         * @param string $output Passed by reference. Used to append
    142          *        additional content.
    143          * @param object $item Menu item data object.
    144          * @param int $depth Depth of menu item. Used for padding. Optional,
    145          *        defaults to 0.
    146          * @param array $args Optional. See {@link Walker::start_el()}.
    147          * @param int $current_page Menu 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.
    148149         */
    149150        public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.