Make WordPress Core


Ignore:
Timestamp:
03/04/2014 08:20:28 PM (11 years ago)
Author:
nacin
Message:

Update the Customizer API inline docs.

props ericlewis.
fixes #27065.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r27369 r27398  
    4040     * @var int
    4141     */
    42     public $priority          = 10;
     42    public $priority = 10;
    4343
    4444    /**
     
    4646     * @var string
    4747     */
    48     public $section           = '';
     48    public $section = '';
    4949
    5050    /**
     
    5252     * @var string
    5353     */
    54     public $label             = '';
     54    public $label = '';
    5555
    5656    /**
     
    6060     * @var array
    6161     */
    62     public $choices           = array();
     62    public $choices = array();
    6363
    6464    /**
     
    7777    /**
    7878     * Constructor.
     79     *
     80     * Supplied $args override class property defaults.
    7981     *
    8082     * If $args['settings'] is not defined, use the $id as the setting ID.
     
    9597        $this->manager = $manager;
    9698        $this->id = $id;
    97 
    9899
    99100        // Process settings.
     
    186187
    187188    /**
    188      * Render the control. Renders the control wrapper, then calls $this->render_content().
     189     * Renders the control wrapper and calls $this->render_content() for the internals.
    189190     *
    190191     * @since 3.4.0
     
    200201
    201202    /**
    202      * Get the data link parameter for a setting.
     203     * Get the data link attribute for a setting.
    203204     *
    204205     * @since 3.4.0
     
    215216
    216217    /**
    217      * Render the data link parameter for a setting
     218     * Render the data link attribute for the control's input element.
    218219     *
    219220     * @since 3.4.0
     
    229230     * Render the control's content.
    230231     *
    231      * Allows the content to be overriden without having to rewrite the wrapper.
     232     * Allows the content to be overriden without having to rewrite the wrapper in $this->render().
     233     *
     234     * Supports basic input types `text`, `checkbox`, `radio`, `select` and `dropdown-pages`.
    232235     *
    233236     * @since 3.4.0
     
    332335     * Constructor.
    333336     *
    334      * If $args['settings'] is not defined, use the $id as the setting ID.
    335      *
    336337     * @since 3.4.0
    337338     * @uses WP_Customize_Control::__construct()
     
    347348
    348349    /**
    349      * Enqueue control related scripts/styles.
     350     * Enqueue scripts/styles for the color picker.
    350351     *
    351352     * @since 3.4.0
     
    467468    /**
    468469     * Constructor.
    469      *
    470      * If $args['settings'] is not defined, use the $id as the setting ID.
    471470     *
    472471     * @since 3.4.0
Note: See TracChangeset for help on using the changeset viewer.