Make WordPress Core


Ignore:
Timestamp:
12/01/2014 12:32:19 AM (10 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for List Tables.

See #30224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r30648 r30679  
    203203    }
    204204
     205    /**
     206     * @param string $taxonomy
     207     * @param array $terms
     208     * @param array $children
     209     * @param int $start
     210     * @param int $per_page
     211     * @param int $count
     212     * @param int $parent
     213     * @param int $level
     214     */
    205215    private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 ) {
    206216
     
    251261    }
    252262
     263    /**
     264     * @global string $taxonomy
     265     * @staticvar string $row_class
     266     * @param object $tag
     267     * @param int $level
     268     */
    253269    public function single_row( $tag, $level = 0 ) {
    254270        global $taxonomy;
     
    265281    }
    266282
     283    /**
     284     * @param object $tag
     285     * @return string
     286     */
    267287    public function column_cb( $tag ) {
    268288        $default_term = get_option( 'default_' . $this->screen->taxonomy );
     
    275295    }
    276296
     297    /**
     298     * @param object $tag
     299     * @return string
     300     */
    277301    public function column_name( $tag ) {
    278302        $taxonomy = $this->screen->taxonomy;
     
    349373    }
    350374
     375    /**
     376     * @param object $tag
     377     * @return string
     378     */
    351379    public function column_description( $tag ) {
    352380        return $tag->description;
    353381    }
    354382
     383    /**
     384     * @param object $tag
     385     * @return string
     386     */
    355387    public function column_slug( $tag ) {
    356388        /** This filter is documented in wp-admin/edit-tag-form.php */
     
    358390    }
    359391
     392    /**
     393     * @param object $tag
     394     * @return string
     395     */
    360396    public function column_posts( $tag ) {
    361397        $count = number_format_i18n( $tag->count );
     
    382418    }
    383419
     420    /**
     421     * @param object $tag
     422     * @return string
     423     */
    384424    public function column_links( $tag ) {
    385425        $count = number_format_i18n( $tag->count );
     
    389429    }
    390430
     431    /**
     432     * @param object $tag
     433     * @param string $column_name
     434     * @return string
     435     */
    391436    public function column_default( $tag, $column_name ) {
    392437        /**
Note: See TracChangeset for help on using the changeset viewer.