Changeset 37046
- Timestamp:
- 03/22/2016 05:24:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-category.php
r36008 r37046 16 16 */ 17 17 class Walker_Category extends Walker { 18 18 19 /** 19 20 * What the class handles. 20 21 * 22 * @since 2.1.0 23 * @access public 24 * @var string 25 * 21 26 * @see Walker::$tree_type 22 * @since 2.1.023 * @var string24 27 */ 25 28 public $tree_type = 'category'; … … 28 31 * Database fields to use. 29 32 * 30 * @s ee Walker::$db_fields31 * @ since 2.1.033 * @since 2.1.0 34 * @access public 32 35 * @todo Decouple this 33 36 * @var array 37 * 38 * @see Walker::$db_fields 34 39 */ 35 40 public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); … … 38 43 * Starts the list before the elements are added. 39 44 * 45 * @since 2.1.0 46 * @access public 47 * 40 48 * @see Walker::start_lvl() 41 *42 * @since 2.1.043 49 * 44 50 * @param string $output Passed by reference. Used to append additional content. 45 51 * @param int $depth Depth of category. Used for tab indentation. 46 52 * @param array $args An array of arguments. Will only append content if style argument value is 'list'. 47 * @see wp_list_categories()53 * See wp_list_categories(). 48 54 */ 49 55 public function start_lvl( &$output, $depth = 0, $args = array() ) { … … 58 64 * Ends the list of after the elements are added. 59 65 * 66 * @since 2.1.0 67 * @access public 68 * 60 69 * @see Walker::end_lvl() 61 *62 * @since 2.1.063 70 * 64 71 * @param string $output Passed by reference. Used to append additional content. 65 72 * @param int $depth Depth of category. Used for tab indentation. 66 73 * @param array $args An array of arguments. Will only append content if style argument value is 'list'. 67 * @wsee wp_list_categories()74 * See wp_list_categories(). 68 75 */ 69 76 public function end_lvl( &$output, $depth = 0, $args = array() ) { … … 76 83 77 84 /** 78 * Start the element output. 85 * Starts the element output. 86 * 87 * @since 2.1.0 88 * @access public 79 89 * 80 90 * @see Walker::start_el() 81 *82 * @since 2.1.083 91 * 84 92 * @param string $output Passed by reference. Used to append additional content. 85 93 * @param object $category Category data object. 86 94 * @param int $depth Depth of category in reference to parents. Default 0. 87 * @param array $args An array of arguments. @see wp_list_categories()95 * @param array $args An array of arguments. See wp_list_categories(). 88 96 * @param int $id ID of the current category. 89 97 */ … … 207 215 * Ends the element output, if needed. 208 216 * 217 * @since 2.1.0 218 * @access public 219 * 209 220 * @see Walker::end_el() 210 *211 * @since 2.1.0212 221 * 213 222 * @param string $output Passed by reference. Used to append additional content.
Note: See TracChangeset
for help on using the changeset viewer.