@@ -165,6 +165,7 @@ discard block |
||
165 | 165 | } |
166 | 166 | /** |
167 | 167 | * @since 3.7.0 |
168 | + * @param string $_sOutput |
|
168 | 169 | * @return string |
169 | 170 | */ |
170 | 171 | private function _getSpinnerOutput( $_sOutput ) { |
@@ -299,7 +300,7 @@ discard block |
||
299 | 300 | * @param array $_aOutputs Holds output elements - contents, section tab list, count of subsections. |
300 | 301 | * @param string $_sSectionsID The container id of sections. |
301 | 302 | * @param array $_aSection |
302 | - * @param array $_aFieldsInSections A field-sets array already divided by section tab. |
|
303 | + * @param array $aFieldsInSections A field-sets array already divided by section tab. |
|
303 | 304 | * @return array The updated sections table output array. |
304 | 305 | */ |
305 | 306 | private function _getSectionsetTable( $_aOutputs, $_sSectionsID, array $_aSection, array $aFieldsInSections ) { |
@@ -354,6 +355,7 @@ discard block |
||
354 | 355 | * Returns the output of sub-sections for repeatable and sortable sections. |
355 | 356 | * |
356 | 357 | * @since 3.7.0 |
358 | + * @param string $_sSectionsID |
|
357 | 359 | * @return array |
358 | 360 | */ |
359 | 361 | private function _getSubSections( $_aOutputs, $_sSectionsID, $_aSection, $_aSubSections ) { |
@@ -500,6 +502,7 @@ discard block |
||
500 | 502 | * @since 3.5.3 |
501 | 503 | * @since 3.6.0 Removed the `$sSectionID` parameter. Added the `$aSectionset` parameter. |
502 | 504 | * @since 3.7.0 Moved from `AdminPageFramework_FormPart_Table`. |
505 | + * @param string $sSectionsID |
|
503 | 506 | * @return string The formatted sections table HTML output. |
504 | 507 | */ |
505 | 508 | private function _getFormattedSectionsTablesOutput( array $aOutputs, $aSectionset, $sSectionsID, array $aCollapsible, $sSectionTabSlug ) { |
@@ -74,6 +74,8 @@ discard block |
||
74 | 74 | * <li>a base64-encoded SVG using a data URI, which will be colored to match the color scheme. This should begin with 'data:image/svg+xml;base64,'.</li> |
75 | 75 | * </ul> |
76 | 76 | * @param string (optional) the position number that is passed to the <var>$position</var> parameter of the <a href="http://codex.wordpress.org/Function_Reference/add_menu_page">add_menu_page()</a> function. |
77 | + * @param string $sIcon16x16 |
|
78 | + * @param integer $iMenuPosition |
|
77 | 79 | * @return void |
78 | 80 | */ |
79 | 81 | public function setRootMenuPage( $sRootMenuLabel, $sIcon16x16=null, $iMenuPosition=null ) { |
@@ -96,6 +98,7 @@ discard block |
||
96 | 98 | * |
97 | 99 | * @since 2.0.0 |
98 | 100 | * @internal |
101 | + * @param string $sMenuLabel |
|
99 | 102 | * @return void|string Returns the associated slug string, if true. |
100 | 103 | */ |
101 | 104 | private function _isBuiltInMenuItem( $sMenuLabel ) { |
@@ -160,9 +163,6 @@ discard block |
||
160 | 163 | * @since 3.0.0 Changed the scope to public. |
161 | 164 | * @remark The sub menu page slug should be unique because add_submenu_page() can add one callback per page slug. |
162 | 165 | * @remark Accepts variadic parameters; the number of accepted parameters are not limited to three. |
163 | - * @param array $aSubMenuItem1 a first sub-menu array. A sub-menu array can be a link or a page. For the specifications of the array structures and its arguments, refer to the parameter section of the `addSubMenuItem()` method. |
|
164 | - * @param array $aSubMenuItem2 (optional) a second sub-menu array. |
|
165 | - * @param array $_and_more (optional) a third and add items as many as necessary with next parameters. |
|
166 | 166 | * @access public |
167 | 167 | * @return void |
168 | 168 | */ |
@@ -52,43 +52,6 @@ discard block |
||
52 | 52 | * @since 2.0.0 |
53 | 53 | * @since 3.0.0 Changed the scope to public. Added page slug target support. |
54 | 54 | * @since 3.3.1 Moved from `AdminPageFramework_Page`. |
55 | - * @param array $aTab1 The in-page tab array. |
|
56 | - * <h4>In-Page Tab Array</h4> |
|
57 | - * <ul> |
|
58 | - * <li>**page_slug** - (string) the page slug that the tab belongs to.</li> |
|
59 | - * <li>**tab_slug** - (string) the tab slug. Non-alphabetical characters should not be used including dots(.) and hyphens(-).</li> |
|
60 | - * <li>**title** - (string) the title of the tab.</li> |
|
61 | - * <li>**order** - (optional, integer) the order number of the tab. The lager the number is, the lower the position it is placed in the menu.</li> |
|
62 | - * <li>**show_in_page_tab** - (optional, boolean) default: `true`. If this is set to `false`, the tab title will not be displayed in the tab navigation menu; however, it is still accessible from the direct URL.</li> |
|
63 | - * <li>**parent_tab_slug** - (optional, string) this needs to be set if the above `show_in_page_tab` argument is `false` so that the parent tab will be emphasized as active when the hidden page is accessed.</li> |
|
64 | - * <li>**url** - [3.5.0+] (optional, string) If this is set, the link url of the navigation tab will be this url. Use this to create link only tab.</li> |
|
65 | - * <li>**capability** - [3.6.0+] (optional, string) The capability level.</li> |
|
66 | - * <li>**if** - [3.6.0+] (optional, boolean) Whether the tab should be displayed or not.</li> |
|
67 | - * <li>style - [3.6.3+] (optional) (string|array) The path or url of a stylesheet which gets loaded in the head tag. Or inline CSS rules. |
|
68 | - * When custom arguments need to be set such as whether it should be inserted in the footer, set an array holding the following arguments. |
|
69 | - * <ul> |
|
70 | - * <li>src - (required, string) the source url or path.</li> |
|
71 | - * <li>handle_id - (optional, string) The handle ID of the stylesheet.</li> |
|
72 | - * <li>dependencies - (optional, array) The dependency array.</li> |
|
73 | - * <li>version - (optional, string) The stylesheet version number.</li> |
|
74 | - * <li>media - (optional, string) the description of the field which is inserted into the after the input field tag.</li> |
|
75 | - * </ul> |
|
76 | - * </li> |
|
77 | - * <li>script - [3.6.3+] (optional) (string|array) The path or url of a JavaScript script which gets loaded in the head tag. Or an inline JavaScript script. |
|
78 | - * When custom arguments need to be set such as whether it should be inserted in the footer, set an array holding the following arguments. |
|
79 | - * <ul> |
|
80 | - * <li>src - (required, string) the source url or path.</li> |
|
81 | - * <li>handle_id - (optional, string) The handle ID of the stylesheet.</li> |
|
82 | - * <li>dependencies - (optional, array) The dependency array.</li> |
|
83 | - * <li>version - (optional, string) The stylesheet version number.</li> |
|
84 | - * <li>translation - (optional, array) an array holding translation key-value pairs.</li> |
|
85 | - * </ul> |
|
86 | - * </li> |
|
87 | - * <li>show_debug_info - [3.8.8+] (optional, boolean) Whether to show debug information. If `WP_DEBUG` is false, the debug output will not be displayed. Default: `true`.</li> |
|
88 | - * </ul> |
|
89 | - * @param array $aTab2 Another in-page tab array. |
|
90 | - * @param array $_and_more (optional) Add in-page tab arrays as many as necessary to the next parameters. |
|
91 | - * @param string $sPageSlug (optional) If the passed parameter item is a string, it will be stored as the target page slug so that it will be applied to the next passed tab arrays as the page_slug element. |
|
92 | 55 | * @remark Accepts variadic parameters; the number of accepted parameters are not limited to three. |
93 | 56 | * @remark In-page tabs are different from page-heading tabs which is automatically added with page titles. |
94 | 57 | * @return void |
@@ -278,6 +241,10 @@ discard block |
||
278 | 241 | /** |
279 | 242 | * Sets a page property. |
280 | 243 | * @since 3.6.0 |
244 | + * @param string $sPropertyName |
|
245 | + * @param string $sPropertyKey |
|
246 | + * @param boolean|string $mValue |
|
247 | + * @param string $sPageSlug |
|
281 | 248 | * @return void |
282 | 249 | */ |
283 | 250 | private function _setPageProperty( $sPropertyName, $sPropertyKey, $mValue, $sPageSlug ) { |