@@ -232,6 +232,8 @@ discard block |
||
| 232 | 232 | * @remark The meta box class may be instantiated multiple times so prevent echoing the same styles multiple times. |
| 233 | 233 | * @parameter string $sIDPrefix The id selector embedded in the script tag. |
| 234 | 234 | * @parameter string $sClassName The class name that identify the call group. This is important for the meta-box class because it can be instantiated multiple times in one particular page. |
| 235 | + * @param string $sIDPrefix |
|
| 236 | + * @param string $sClassName |
|
| 235 | 237 | */ |
| 236 | 238 | protected function _printCommonStyles( $sIDPrefix, $sClassName ) { |
| 237 | 239 | |
@@ -315,6 +317,8 @@ discard block |
||
| 315 | 317 | * @remark The meta box class may be instantiated multiple times so prevent echoing the same styles multiple times. |
| 316 | 318 | * @parametr string $sIDPrefix The id selector embedded in the script tag. |
| 317 | 319 | * @parametr string $sClassName The class name that identify the call group. This is important for the meta-box class because it can be instantiated multiple times in one particular page. |
| 320 | + * @param string $sIDPrefix |
|
| 321 | + * @param string $sClassName |
|
| 318 | 322 | */ |
| 319 | 323 | protected function _printCommonScripts( $sIDPrefix, $sClassName ) { |
| 320 | 324 | |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | * Converts bytes to HR. |
| 110 | 110 | * |
| 111 | 111 | * @access private |
| 112 | - * @param mixed $bytes |
|
| 112 | + * @param mixed $nBytes |
|
| 113 | 113 | * @remark This is influenced by the work of Mike Jolley. |
| 114 | 114 | * @see http://mikejolley.com/projects/wp-page-load-stats/ |
| 115 | 115 | */ |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | * @access public |
| 188 | 188 | * @remark The actual registration will be performed in the `_replyToRegisterSettings()` method with the `admin_menu` hook. |
| 189 | 189 | * @remark The `$oForm` property should be created in each extended class. |
| 190 | - * @param array|string $aSection the section array. If a string is passed, it is considered as a target page slug that will be used as a page slug element from the next call so that the element can be omitted. |
|
| 190 | + * @param array|string $aSectionset the section array. If a string is passed, it is considered as a target page slug that will be used as a page slug element from the next call so that the element can be omitted. |
|
| 191 | 191 | * <h4>Section Definition Array</h4> |
| 192 | 192 | * <ul> |
| 193 | 193 | * <li>**section_id** - (string) the section ID. Avoid using non-alphabetic characters except underscore and numbers.</li> |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | * @since 3.0.0 The scope changed to public to indicate the users will use. |
| 300 | 300 | * @return void |
| 301 | 301 | * @remark The $oForm property should be created in each extended class. |
| 302 | - * @param array|string $asField A field definition array or a string of the target section id. |
|
| 302 | + * @param array|string $asFieldset A field definition array or a string of the target section id. |
|
| 303 | 303 | * <h4>Built-in Field Types</h4> |
| 304 | 304 | * <ul> |
| 305 | 305 | * <li>**text** - a normal field to enter text input.</li> |
@@ -77,6 +77,8 @@ |
||
| 77 | 77 | } |
| 78 | 78 | /** |
| 79 | 79 | * @since 3.6.0 |
| 80 | + * @param boolean $abCollapsible |
|
| 81 | + * @param string $sTitle |
|
| 80 | 82 | * @return array |
| 81 | 83 | */ |
| 82 | 84 | private function _getArguments( $abCollapsible, $sTitle, array $aSection ) { |
@@ -98,6 +98,7 @@ discard block |
||
| 98 | 98 | * @since DEVVER Moved from `AdminPageFramework_FormDefinition`. Changed the name from `formatFields()`. |
| 99 | 99 | * Added the `$aSectionsets` parameter. |
| 100 | 100 | * @retuen array |
| 101 | + * @param string $sCapability |
|
| 101 | 102 | */ |
| 102 | 103 | private function _getFieldsetsFormatted( array $aFieldsets, array $aSectionsets, $sCapability ) { |
| 103 | 104 | |
@@ -271,6 +272,7 @@ discard block |
||
| 271 | 272 | * |
| 272 | 273 | * @since 3.0.0 |
| 273 | 274 | * @since DEVVER Moved from `AdminPageFramework_FormDefinition`. Changed the name from `formatField()`. |
| 275 | + * @param integer $iCountOfElements |
|
| 274 | 276 | * @return array|void An array of formatted field definition array. If required keys are not set, nothing will be returned. |
| 275 | 277 | */ |
| 276 | 278 | private function _getFieldsetFormatted( $aFieldset, $aSectionsets, $sCapability, $iCountOfElements, $iSubSectionIndex, $bIsSectionRepeatable, $oCallerObject ) { |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * Returns the field container attribute array. |
| 31 | 31 | * |
| 32 | 32 | * @remark Formatting each sub-field should be performed prior to callign this method. |
| 33 | - * @param array $aField The (sub-)field definition array. This should have been formatted already. |
|
| 34 | 33 | * @return array The generated field container attribute array. |
| 35 | 34 | * @internal |
| 36 | 35 | * @since 3.5.3 |
@@ -60,6 +60,7 @@ |
||
| 60 | 60 | * |
| 61 | 61 | * @since 3.1.0 |
| 62 | 62 | * @since DEVVER Moved from `AdminPageFramework_Form_View___Fieldset`. |
| 63 | + * @param string $sHeadingMessage |
|
| 63 | 64 | * @return string The error string message. An empty value if not found. |
| 64 | 65 | */ |
| 65 | 66 | private function _getFieldError( $aErrors, $aSectionPath, $aFieldPath, $sHeadingMessage ) { |
@@ -176,6 +176,7 @@ discard block |
||
| 176 | 176 | * Returns the repeatable fields script. |
| 177 | 177 | * |
| 178 | 178 | * @since 2.1.3 |
| 179 | + * @param string $sFieldsContainerID |
|
| 179 | 180 | */ |
| 180 | 181 | protected function _getRepeaterFieldEnablerScript( $sFieldsContainerID, $iFieldCount, $aSettings ) { |
| 181 | 182 | |
@@ -222,6 +223,7 @@ discard block |
||
| 222 | 223 | * Returns the sortable fields script. |
| 223 | 224 | * |
| 224 | 225 | * @since 3.0.0 |
| 226 | + * @param string $sFieldsContainerID |
|
| 225 | 227 | */ |
| 226 | 228 | protected function _getSortableFieldEnablerScript( $sFieldsContainerID ) { |
| 227 | 229 | |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | * @internal |
| 24 | 24 | * @since 3.5.3 |
| 25 | 25 | * @since 3.6.0 Moved from `AdminPageFramework_FormDefinition`. |
| 26 | - * @param array $aFieldset a field definition array. |
|
| 27 | 26 | * @return boolean |
| 28 | 27 | */ |
| 29 | 28 | protected function _isSectionSet() { |