]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-walker-category-dropdown.php
WordPress 4.7.1-scripts
[autoinstalls/wordpress.git] / wp-includes / class-walker-category-dropdown.php
index 46821fbc62f4c5188dad5cb31c05dbce27c26014..7d89dc8b97cba95e37253d7cdf5cd613ff58c62f 100644 (file)
  * @see Walker
  */
 class Walker_CategoryDropdown extends Walker {
+
        /**
-        * @see Walker::$tree_type
+        * What the class handles.
+        *
         * @since 2.1.0
+        * @access private
         * @var string
+        *
+        * @see Walker::$tree_type
         */
        public $tree_type = 'category';
 
        /**
-        * @see Walker::$db_fields
+        * Database fields to use.
+        *
         * @since 2.1.0
+        * @access public
         * @todo Decouple this
         * @var array
+        *
+        * @see Walker::$db_fields
         */
        public $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
 
        /**
-        * Start the element output.
+        * Starts the element output.
         *
-        * @see Walker::start_el()
         * @since 2.1.0
+        * @access public
+        *
+        * @see Walker::start_el()
         *
         * @param string $output   Passed by reference. Used to append additional content.
         * @param object $category Category data object.
         * @param int    $depth    Depth of category. Used for padding.
         * @param array  $args     Uses 'selected', 'show_count', and 'value_field' keys, if they exist.
-        *                         See {@see wp_dropdown_categories()}.
+        *                         See wp_dropdown_categories().
+        * @param int    $id       Optional. ID of the current category. Default 0 (unused).
         */
        public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
                $pad = str_repeat(' ', $depth * 3);