@@ -84,7 +84,7 @@ |
||
84 | 84 | |
85 | 85 | // The first element is the option key; the section or field dimensional keys follow. |
86 | 86 | if ( '__dummy_option_key' === $_aDimensionalKeys[ 0 ] ) { |
87 | - array_shift( $_aDimensionalKeys ); |
|
87 | + array_shift( $_aDimensionalKeys ); |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | $this->unsetDimensionalArrayElement( |
@@ -109,7 +109,7 @@ |
||
109 | 109 | /** |
110 | 110 | * @deprecated |
111 | 111 | */ |
112 | - /* public function _get() { |
|
112 | + /* public function _get() { |
|
113 | 113 | |
114 | 114 | $_aDefaultOptions = array(); |
115 | 115 | foreach( $this->aFieldsets as $_sSectionID => $_aFieldsetsPerSection ) { |
@@ -9,7 +9,6 @@ discard block |
||
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Provides methods to retrieve field type resources. |
12 | - |
|
13 | 12 | * @package AdminPageFramework |
14 | 13 | * @subpackage Form |
15 | 14 | * @since DEVVER |
@@ -42,7 +41,7 @@ discard block |
||
42 | 41 | call_user_func_array( |
43 | 42 | $aFieldTypeDefinition[ 'hfFieldSetTypeSetter' ], |
44 | 43 | array( $sStructureType ) |
45 | - ); |
|
44 | + ); |
|
46 | 45 | } |
47 | 46 | |
48 | 47 | if ( is_callable( $aFieldTypeDefinition[ 'hfFieldLoader' ] ) ) { |
@@ -96,7 +96,7 @@ |
||
96 | 96 | // $aSubFields gets updated in the method |
97 | 97 | $this->_fillRepeatableElements( $aField, $aSubFields, $mSavedValue ); |
98 | 98 | |
99 | - // $aSubFields gets updated in the method |
|
99 | + // $aSubFields gets updated in the method |
|
100 | 100 | $this->_fillSubFields( $aSubFields, $aFirstField ); |
101 | 101 | |
102 | 102 | // Put them together |
@@ -24,13 +24,13 @@ |
||
24 | 24 | protected function _get() { |
25 | 25 | return $this->_getFormSectionRules(); |
26 | 26 | } |
27 | - /** |
|
28 | - * Returns the CSS rules for form fields. |
|
29 | - * |
|
30 | - * @since 3.4.0 |
|
31 | - * @since DEVVER Moved from `AdminPageFramework_CSS`. |
|
32 | - * @internal |
|
33 | - */ |
|
27 | + /** |
|
28 | + * Returns the CSS rules for form fields. |
|
29 | + * |
|
30 | + * @since 3.4.0 |
|
31 | + * @since DEVVER Moved from `AdminPageFramework_CSS`. |
|
32 | + * @internal |
|
33 | + */ |
|
34 | 34 | private function _getFormSectionRules() { |
35 | 35 | |
36 | 36 | return <<<CSSRULES |
@@ -189,7 +189,7 @@ |
||
189 | 189 | $_sButtons = |
190 | 190 | "<div class='admin-page-framework-repeatable-field-buttons' {$_sSettingsAttributes} >" |
191 | 191 | . "<a class='repeatable-field-remove-button button-secondary repeatable-field-button button button-small {$_sDashiconMinus}' href='#' title='{$_sRemove}' {$_sVisibility} data-id='{$sFieldsContainerID}'>" |
192 | - . ( $_bDashiconSupported ? '' : '-' ) |
|
192 | + . ( $_bDashiconSupported ? '' : '-' ) |
|
193 | 193 | . "</a>" |
194 | 194 | . "<a class='repeatable-field-add-button button-secondary repeatable-field-button button button-small {$_sDashiconPlus}' href='#' title='{$_sAdd}' data-id='{$sFieldsContainerID}'>" |
195 | 195 | . ( $_bDashiconSupported ? '' : '+' ) |
@@ -59,7 +59,7 @@ |
||
59 | 59 | |
60 | 60 | } |
61 | 61 | |
62 | - // @deprecated |
|
62 | + // @deprecated |
|
63 | 63 | // protected function _getBaseFieldTagID() { |
64 | 64 | |
65 | 65 | // $_sSectionIndex = isset( $this->aArguments[ '_section_index' ] ) |
@@ -399,12 +399,12 @@ |
||
399 | 399 | |
400 | 400 | |
401 | 401 | /** |
402 | - * Stores the set container IDs to prevent multiple calls. |
|
403 | - * |
|
404 | - * Collapsible and tabbed sections can call this method multiple times with the same container ID. |
|
405 | - * |
|
406 | - * @since 3.4.0 |
|
407 | - */ |
|
402 | + * Stores the set container IDs to prevent multiple calls. |
|
403 | + * |
|
404 | + * Collapsible and tabbed sections can call this method multiple times with the same container ID. |
|
405 | + * |
|
406 | + * @since 3.4.0 |
|
407 | + */ |
|
408 | 408 | static private $_aSetContainerIDsForRepeatableSections = array(); |
409 | 409 | /** |
410 | 410 | * Returns the enabler script of repeatable sections. |
@@ -531,7 +531,7 @@ |
||
531 | 531 | * @return string The generated section tab list as HTML. |
532 | 532 | */ |
533 | 533 | private function _getSectionTabList( $sSectionTabSlug, array $aSectionTabList ) { |
534 | - return $sSectionTabSlug |
|
534 | + return $sSectionTabSlug |
|
535 | 535 | ? "<ul class='admin-page-framework-section-tabs nav-tab-wrapper'>" |
536 | 536 | . implode( PHP_EOL, $aSectionTabList ) |
537 | 537 | . "</ul>" |