Changeset 37047
- Timestamp:
- 03/22/2016 05:29:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-category.php
r37046 r37047 33 33 * @since 2.1.0 34 34 * @access public 35 * @var array 36 * 37 * @see Walker::$db_fields 35 38 * @todo Decouple this 36 * @var array37 *38 * @see Walker::$db_fields39 39 */ 40 40 public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); … … 48 48 * @see Walker::start_lvl() 49 49 * 50 * @param string $output Passed by reference. Used to append additional content.51 * @param int $depth Depth of category. Used for tab indentation.52 * @param array $args An array of arguments. Will only append content if style argument value is 'list'.53 * See wp_list_categories().50 * @param string $output Used to append additional content. Passed by reference. 51 * @param int $depth Optional. Depth of category. Used for tab indentation. Default 0. 52 * @param array $args Optional. An array of arguments. Will only append content if style argument 53 * value is 'list'. See wp_list_categories(). Default empty array. 54 54 */ 55 55 public function start_lvl( &$output, $depth = 0, $args = array() ) { … … 69 69 * @see Walker::end_lvl() 70 70 * 71 * @param string $output Passed by reference. Used to append additional content.72 * @param int $depth Depth of category. Used for tab indentation.73 * @param array $args An array of arguments. Will only append content if style argument value is 'list'.74 * See wp_list_categories().71 * @param string $output Used to append additional content. Passed by reference. 72 * @param int $depth Optional. Depth of category. Used for tab indentation. Default 0. 73 * @param array $args Optional. An array of arguments. Will only append content if style argument 74 * value is 'list'. See wp_list_categories(). Default empty array. 75 75 */ 76 76 public function end_lvl( &$output, $depth = 0, $args = array() ) { … … 92 92 * @param string $output Passed by reference. Used to append additional content. 93 93 * @param object $category Category data object. 94 * @param int $depth Depth of category in reference to parents. Default 0.95 * @param array $args An array of arguments. See wp_list_categories().96 * @param int $id ID of the current category.94 * @param int $depth Optional. Depth of category in reference to parents. Default 0. 95 * @param array $args Optional. An array of arguments. See wp_list_categories(). Default empty array. 96 * @param int $id Optional. ID of the current category. Default 0. 97 97 */ 98 98 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { … … 222 222 * @param string $output Passed by reference. Used to append additional content. 223 223 * @param object $page Not used. 224 * @param int $depth Depth of category. Not used. 225 * @param array $args An array of arguments. Only uses 'list' for whether should append to output. @see wp_list_categories() 224 * @param int $depth Optional. Depth of category. Not used. 225 * @param array $args Optional. An array of arguments. Only uses 'list' for whether should append 226 * to output. See wp_list_categories(). Default empty array. 226 227 */ 227 228 public function end_el( &$output, $page, $depth = 0, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.