Changeset 33215 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 07/13/2015 08:16:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r33189 r33215 1014 1014 * 1015 1015 * @since 4.3.0 1016 *1017 1016 * @access public 1018 1017 * @var string … … 1024 1023 * 1025 1024 * @since 4.3.0 1026 *1027 1025 * @access public 1028 1026 * @var int … … 1034 1032 * 1035 1033 * @since 4.3.0 1036 *1037 1034 * @access public 1038 1035 * @var int … … 1044 1041 * 1045 1042 * @since 4.3.0 1046 *1047 1043 * @access public 1048 1044 * @var bool … … 1054 1050 * 1055 1051 * @since 4.3.0 1056 *1057 1052 * @access public 1058 1053 * @var bool … … 1064 1059 * 1065 1060 * @since 4.3.0 1066 *1067 1061 * @access public 1068 1062 */ … … 1077 1071 * 1078 1072 * @since 4.3.0 1079 * 1080 * @access public 1081 * @uses WP_Customize_Image_Control::to_json() 1073 * @access public 1074 * 1082 1075 * @see WP_Customize_Control::to_json() 1083 1076 */ … … 1108 1101 * 1109 1102 * @since 4.3.0 1110 *1111 1103 * @access public 1112 1104 * @var string … … 1118 1110 * 1119 1111 * @since 4.3.0 1120 * 1121 * @param WP_Customize_Manager $manager 1122 * @param string $id 1123 * @param array $args 1112 * @access public 1113 * 1114 * @param WP_Customize_Manager $manager WP_Customize_Manager instance. 1115 * @param string $id Control ID. 1116 * @param array $args Optional. Arguments to override class property defaults. 1124 1117 */ 1125 1118 public function __construct( $manager, $id, $args = array() ) { … … 1535 1528 1536 1529 /** 1537 * Customize Nav Menu Control Class 1530 * Customize Nav Menu Control Class. 1538 1531 * 1539 1532 * @since 4.3.0 … … 1545 1538 * 1546 1539 * @since 4.3.0 1547 *1548 1540 * @access public 1549 1541 * @var string … … 1555 1547 * 1556 1548 * @since 4.3.0 1557 * 1549 * @access public 1558 1550 * @var WP_Customize_Nav_Menu_Setting 1559 1551 */ … … 1564 1556 * 1565 1557 * @since 4.3.0 1558 * @access public 1566 1559 */ 1567 1560 public function render_content() {} … … 1571 1564 * 1572 1565 * @since 4.3.0 1566 * @access public 1573 1567 */ 1574 1568 public function content_template() { … … 1608 1602 1609 1603 /** 1610 * Return params for this control. 1611 * 1612 * @since 4.3.0 1613 * 1614 * @return array 1604 * Return parameters for this control. 1605 * 1606 * @since 4.3.0 1607 * @access public 1608 * 1609 * @return array Exported parameters. 1615 1610 */ 1616 1611 public function json() { … … 1633 1628 * 1634 1629 * @since 4.3.0 1635 *1636 1630 * @access public 1637 1631 * @var string … … 1643 1637 * 1644 1638 * @since 4.3.0 1645 * 1639 * @access public 1646 1640 * @var WP_Customize_Nav_Menu_Item_Setting 1647 1641 */ … … 1652 1646 * 1653 1647 * @since 4.3.0 1654 * 1655 * @uses WP_Customize_Control::__construct() 1648 * @access public 1649 * 1650 * @see WP_Customize_Control::__construct() 1656 1651 * 1657 1652 * @param WP_Customize_Manager $manager An instance of the WP_Customize_Manager class. … … 1667 1662 * 1668 1663 * @since 4.3.0 1664 * @access public 1669 1665 */ 1670 1666 public function render_content() {} … … 1674 1670 * 1675 1671 * @since 4.3.0 1672 * @access public 1676 1673 */ 1677 1674 public function content_template() { … … 1756 1753 1757 1754 /** 1758 * Return params for this control. 1759 * 1760 * @since 4.3.0 1761 * 1762 * @return array 1755 * Return parameters for this control. 1756 * 1757 * @since 4.3.0 1758 * @access public 1759 * 1760 * @return array Exported parameters. 1763 1761 */ 1764 1762 public function json() { … … 1771 1769 1772 1770 /** 1773 * Customize Menu Location Control Class 1771 * Customize Menu Location Control Class. 1774 1772 * 1775 1773 * This custom control is only needed for JS. 1776 1774 * 1777 1775 * @since 4.3.0 1776 * 1777 * @see WP_Customize_Control 1778 1778 */ 1779 1779 class WP_Customize_Nav_Menu_Location_Control extends WP_Customize_Control { … … 1783 1783 * 1784 1784 * @since 4.3.0 1785 *1786 1785 * @access public 1787 1786 * @var string … … 1793 1792 * 1794 1793 * @since 4.3.0 1795 *1796 1794 * @access public 1797 1795 * @var string … … 1803 1801 * 1804 1802 * @since 4.3.0 1805 * 1806 * @uses WP_Customize_Control::to_json() 1803 * @access public 1804 * 1805 * @see WP_Customize_Control::to_json() 1807 1806 */ 1808 1807 public function to_json() { … … 1815 1814 * 1816 1815 * @since 4.3.0 1816 * @access public 1817 1817 */ 1818 1818 public function render_content() { … … 1846 1846 * 1847 1847 * @since 4.3.0 1848 * 1849 * @see WP_Customize_Control 1848 1850 */ 1849 1851 class WP_Customize_Nav_Menu_Name_Control extends WP_Customize_Control { … … 1853 1855 * 1854 1856 * @since 4.3.0 1855 * 1857 * @access public 1856 1858 * @var string 1857 1859 */ … … 1862 1864 * 1863 1865 * @since 4.3.0 1866 * @access protected 1864 1867 */ 1865 1868 protected function render_content() {} … … 1869 1872 * 1870 1873 * @since 4.3.0 1874 * @access protected 1871 1875 */ 1872 1876 protected function content_template() { … … 1883 1887 * 1884 1888 * @since 4.3.0 1889 * 1890 * @see WP_Customize_Control 1885 1891 */ 1886 1892 class WP_Customize_Nav_Menu_Auto_Add_Control extends WP_Customize_Control { … … 1890 1896 * 1891 1897 * @since 4.3.0 1892 * 1898 * @access public 1893 1899 * @var string 1894 1900 */ … … 1899 1905 * 1900 1906 * @since 4.3.0 1907 * @access protected 1901 1908 */ 1902 1909 protected function render_content() {} … … 1906 1913 * 1907 1914 * @since 4.3.0 1915 * @access protected 1908 1916 */ 1909 1917 protected function content_template() { … … 1922 1930 * 1923 1931 * @since 4.3.0 1932 * 1933 * @see WP_Customize_Control 1924 1934 */ 1925 1935 class WP_New_Menu_Customize_Control extends WP_Customize_Control { … … 1929 1939 * 1930 1940 * @since 4.3.0 1931 *1932 1941 * @access public 1933 1942 * @var string … … 1939 1948 * 1940 1949 * @since 4.3.0 1950 * @access public 1941 1951 */ 1942 1952 public function render_content() {
Note: See TracChangeset
for help on using the changeset viewer.