Improve some inline documentation for class properties in `WP_Customize_Section`.

Props leewillis77 for the initial patch.
Fixes #26245.

Built from https://develop.svn.wordpress.org/trunk@27902


git-svn-id: http://core.svn.wordpress.org/trunk@27733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-04-02 03:02:16 +00:00
parent 668235fb42
commit 3d2728f7a6
1 changed files with 35 additions and 6 deletions

View File

@ -9,9 +9,12 @@
* @since 3.4.0
*/
class WP_Customize_Section {
/**
* @access public
* WP_Customize_Manager instance.
*
* @since 3.4.0
* @access public
* @var WP_Customize_Manager
*/
public $manager;
@ -19,6 +22,8 @@ class WP_Customize_Section {
/**
* Unique identifier.
*
* @since 3.4.0
* @access public
* @var string
*/
public $id;
@ -26,31 +31,55 @@ class WP_Customize_Section {
/**
* Priority of the section which informs load order of sections.
*
* @since 3.4.0
* @access public
* @var integer
*/
public $priority = 10;
public $priority = 10;
/**
* Capability required for the section.
*
* @since 3.4.0
* @access public
* @var string
*/
public $capability = 'edit_theme_options';
public $capability = 'edit_theme_options';
/**
* Theme feature support for the section.
*
* @since 3.4.0
* @access public
* @var string|array
*/
public $theme_supports = '';
/**
* Title of the section to show in UI.
*
* @since 3.4.0
* @access public
* @var string
*/
public $title = '';
public $title = '';
/**
* Description to show in the UI.
*
* @since 3.4.0
* @access public
* @var string
*/
public $description = '';
public $description = '';
/**
* Customizer controls for this section.
*
* @since 3.4.0
* @access public
* @var array
*/
public $controls;
/**
@ -60,7 +89,7 @@ class WP_Customize_Section {
*
* @since 3.4.0
*
* @param WP_Customize_Manager $manager
* @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id An specific ID of the section.
* @param array $args Section arguments.
*/