Changeset 35929
- Timestamp:
- 12/14/2015 06:05:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-page.php
r34441 r35929 17 17 class Walker_Page extends Walker { 18 18 /** 19 * Walker tree type. 20 * 21 * @since 2.1.0 19 22 * @see Walker::$tree_type 20 * @since 2.1.021 23 * @var string 22 24 */ … … 24 26 25 27 /** 28 * Database fields. 29 * 30 * @since 2.1.0 26 31 * @see Walker::$db_fields 27 * @since 2.1.028 32 * @todo Decouple this. 29 33 * @var array … … 32 36 33 37 /** 34 * @see Walker::start_lvl() 38 * Outputs the beginning of the current level in the tree before elements are output. 39 * 35 40 * @since 2.1.0 36 41 * 42 * @see Walker::start_lvl() 43 * 37 44 * @param string $output Passed by reference. Used to append additional content. 38 * @param int $depth Depth of page. Used for padding. 39 * @param array $args 45 * @param int $depth Optional. Depth of page. Used for padding. Default 0. 46 * @param array $args Optional. Arguments for outputing the next level. 47 * Default empty array. 40 48 */ 41 49 public function start_lvl( &$output, $depth = 0, $args = array() ) { … … 45 53 46 54 /** 47 * @see Walker::end_lvl() 55 * Outputs the end of the current level in the tree after elements are output. 56 * 48 57 * @since 2.1.0 49 58 * 59 * @see Walker::end_lvl() 60 * 50 61 * @param string $output Passed by reference. Used to append additional content. 51 * @param int $depth Depth of page. Used for padding. 52 * @param array $args 62 * @param int $depth Optional. Depth of page. Used for padding. Default 0. 63 * @param array $args Optional. Arguments for outputting the end of the current level. 64 * Default empty array. 53 65 */ 54 66 public function end_lvl( &$output, $depth = 0, $args = array() ) { … … 58 70 59 71 /** 72 * Outputs the beginning of the current element in the tree. 73 * 60 74 * @see Walker::start_el() 61 75 * @since 2.1.0 … … 141 155 142 156 /** 157 * Outputs the end of the current element in the tree. 158 * 159 * @since 2.1.0 160 * 143 161 * @see Walker::end_el() 144 * @since 2.1.0145 162 * 146 163 * @param string $output Passed by reference. Used to append additional content.
Note: See TracChangeset
for help on using the changeset viewer.