@@ -170,6 +170,7 @@ |
||
170 | 170 | |
171 | 171 | /** |
172 | 172 | * The recursive version of the glob() function. |
173 | + * @param string $sPathPatten |
|
173 | 174 | */ |
174 | 175 | protected function doRecursiveGlob( $sPathPatten, $nFlags=0, array $aExcludeDirs=array(), array $aExcludeDirNames=array() ) { |
175 | 176 |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * Converts non-alphabetic characters to underscore. |
22 | 22 | * |
23 | 23 | * @since 2.0.0 |
24 | - * @return string|null The sanitized string. |
|
24 | + * @return string The sanitized string. |
|
25 | 25 | * @todo Change the method name as it does not tell for what it will sanitized. |
26 | 26 | * @todo Examine why null needs to be returned. |
27 | 27 | */ |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * Returns the given string length. |
92 | 92 | * @since 3.3.0 |
93 | - * @return integer|null Null if an array is given. |
|
93 | + * @return integer Null if an array is given. |
|
94 | 94 | */ |
95 | 95 | static public function getStringLength( $sString ) { |
96 | 96 | return function_exists( 'mb_strlen' ) |
@@ -95,7 +95,7 @@ |
||
95 | 95 | * Returns an array of constants. |
96 | 96 | * |
97 | 97 | * @since 3.4.6 |
98 | - * @param array|string $asCategory The category key names of the returning array. |
|
98 | + * @param array|string $asCategories The category key names of the returning array. |
|
99 | 99 | */ |
100 | 100 | static public function getDefinedConstants( $asCategories=null, $asRemovingCategories=null ) { |
101 | 101 |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | * |
24 | 24 | * @since 2.0.0 |
25 | 25 | * @since 3.5.7 Moved from `AdminPageFramework_Utility`. |
26 | + * @param string $sQueryKey |
|
26 | 27 | * @return string|null |
27 | 28 | */ |
28 | 29 | static public function getQueryValueInURLByKey( $sURL, $sQueryKey ) { |
@@ -72,6 +73,7 @@ discard block |
||
72 | 73 | /** |
73 | 74 | * Returns the port suffix in the currently loading url. |
74 | 75 | * @since 3.5.7 |
76 | + * @param boolean $_bSSL |
|
75 | 77 | * @return string |
76 | 78 | */ |
77 | 79 | static private function _getURLPortSuffix( $_bSSL ) { |
@@ -284,6 +284,7 @@ |
||
284 | 284 | * Checkes whether the passed base url name is of the admin index page. |
285 | 285 | * @since 3.5.3 |
286 | 286 | * return boolean Whether the passed base url name is of the admin index page. |
287 | + * @param string $sPageNow |
|
287 | 288 | */ |
288 | 289 | static private function _isInAdminIndex( $sPageNow ) { |
289 | 290 | return in_array( |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @since 2.0.0 |
35 | 35 | * @see http://codex.wordpress.org/Roles_and_Capabilities |
36 | 36 | * @see http://codex.wordpress.org/I18n_for_WordPress_Developers#Text_Domains |
37 | - * @param array|integer|string $aisOptionKey (optional) specifies the option key name to store in the options table. If this is not set, the instantiated class name will be used as default. |
|
37 | + * @param array|integer|string $isOptionKey (optional) specifies the option key name to store in the options table. If this is not set, the instantiated class name will be used as default. |
|
38 | 38 | * [3.5.9+] If an integer is given, a transient will be used. If an array of option key arguments is given, the argument values will be set to the framework properties. |
39 | 39 | * - type - either `options_table` or `transient`. |
40 | 40 | * - key - the option key or the transient key |
@@ -142,6 +142,7 @@ discard block |
||
142 | 142 | * <li>**media** - (optional, string) the description of the field which is inserted into the after the input field tag.</li> |
143 | 143 | * <li>**attributes** - (optional, array) [3.3.0+] attributes array. `array( 'data-id' => '...' )`</li> |
144 | 144 | * </ul> |
145 | + * @param string $sSRC |
|
145 | 146 | * @return string The style handle ID. If the passed url is not a valid url string, an empty string will be returned. |
146 | 147 | */ |
147 | 148 | public function enqueueStyle( $sSRC, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) { |
@@ -234,6 +235,7 @@ discard block |
||
234 | 235 | * @param string the tagged HTML link text. |
235 | 236 | * @param string (optional) another tagged HTML link text. |
236 | 237 | * @param string (optional) add more as many as want by adding items to the next parameters. |
238 | + * @param string $sTaggedLinkHTML1 |
|
237 | 239 | * @access public |
238 | 240 | * @return void |
239 | 241 | */ |
@@ -258,6 +260,9 @@ discard block |
||
258 | 260 | * @param string the tagged HTML link text. |
259 | 261 | * @param string (optional) another tagged HTML link text. |
260 | 262 | * @param string (optional) add more as many as want by adding items to the next parameters. |
263 | + * @param null|string $sTaggedLinkHTML1 |
|
264 | + * @param string $sTaggedLinkHTML2 |
|
265 | + * @param string $_and_more |
|
261 | 266 | * @access public |
262 | 267 | * @return void |
263 | 268 | */ |
@@ -274,6 +279,7 @@ discard block |
||
274 | 279 | * |
275 | 280 | * @since 3.1.0 |
276 | 281 | * @since 3.3.1 Moved from `AdminPageFramework`. |
282 | + * @param string $sLabel |
|
277 | 283 | */ |
278 | 284 | public function setPluginSettingsLinkLabel( $sLabel ) { |
279 | 285 | $this->oProp->sLabelPluginSettingsLink = $sLabel; |
@@ -153,9 +153,6 @@ |
||
153 | 153 | * @since 3.5.3 Removed the parameter declarations as they are caught with the func_get_args(). |
154 | 154 | * @access public |
155 | 155 | * @remark Accepts variadic parameters; the number of accepted parameters are not limited to three. |
156 | - * @param string $sSectionID1 the section ID to remove. |
|
157 | - * @param string $sSectionID2 (optional) another section ID to remove. |
|
158 | - * @param string $_and_more (optional) add more section IDs to the next parameters as many as necessary. |
|
159 | 156 | * @return void |
160 | 157 | */ |
161 | 158 | public function removeSettingSections( /* $sSectionID1=null, $sSectionID2=null, $_and_more=null */ ) { |
@@ -48,6 +48,8 @@ discard block |
||
48 | 48 | * <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> |
49 | 49 | * </ul> |
50 | 50 | * @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. |
51 | + * @param string $sIcon16x16 |
|
52 | + * @param integer $iMenuPosition |
|
51 | 53 | * @return void |
52 | 54 | */ |
53 | 55 | public function setRootMenuPage( $sRootMenuLabel, $sIcon16x16=null, $iMenuPosition=null ) { |
@@ -70,6 +72,7 @@ discard block |
||
70 | 72 | * |
71 | 73 | * @since 2.0.0 |
72 | 74 | * @internal |
75 | + * @param string $sMenuLabel |
|
73 | 76 | * @return void|string Returns the associated slug string, if true. |
74 | 77 | */ |
75 | 78 | private function _isBuiltInMenuItem( $sMenuLabel ) { |