Make WordPress Core

Changeset 37055


Ignore:
Timestamp:
03/22/2016 06:03:07 PM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Improve inline documentation for properties and methods in Walker_Page.

Props raimy.
See #36300.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-walker-page.php

    r36175 r37055  
    1616 */
    1717class Walker_Page extends Walker {
     18
    1819    /**
    19      * Walker tree type.
     20     * What the class handles.
    2021     *
    2122     * @since 2.1.0
     23     * @access public
     24     * @var string
     25     *
    2226     * @see Walker::$tree_type
    23      * @var string
    2427     */
    2528    public $tree_type = 'page';
    2629
    2730    /**
    28      * Database fields.
     31     * Database fields to use.
    2932     *
    3033     * @since 2.1.0
     34     * @access private
     35     * @var array
     36     *
    3137     * @see Walker::$db_fields
    3238     * @todo Decouple this.
    33      * @var array
    3439     */
    35     public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID');
     40    public $db_fields = array( 'parent' => 'post_parent', 'id' => 'ID' );
    3641
    3742    /**
     
    3944     *
    4045     * @since 2.1.0
     46     * @access public
    4147     *
    4248     * @see Walker::start_lvl()
     
    5662     *
    5763     * @since 2.1.0
     64     * @access public
    5865     *
    5966     * @see Walker::end_lvl()
     
    7481     * @see Walker::start_el()
    7582     * @since 2.1.0
     83     * @access public
    7684     *
    7785     * @param string $output       Passed by reference. Used to append additional content.
     
    158166     *
    159167     * @since 2.1.0
     168     * @access public
    160169     *
    161170     * @see Walker::end_el()
Note: See TracChangeset for help on using the changeset viewer.