@@ -107,8 +107,8 @@ |
||
107 | 107 | } |
108 | 108 | CSSRULES; |
109 | 109 | |
110 | - return $_sCSS . PHP_EOL |
|
111 | - . self::_getPageLoadStatsRules() . PHP_EOL |
|
110 | + return $_sCSS.PHP_EOL |
|
111 | + . self::_getPageLoadStatsRules().PHP_EOL |
|
112 | 112 | . self::_getVersionSpecificRules(); |
113 | 113 | |
114 | 114 | } |
@@ -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( |
@@ -31,9 +31,9 @@ discard block |
||
31 | 31 | * @param string $sStructureType The type of object. Currently 'post_meta_box' or 'user_meta' is accepted. |
32 | 32 | * @return void |
33 | 33 | */ |
34 | - public function updateMetaDataByType( $iObjectID, array $aInput, array $aSavedMeta, $sStructureType='post_meta_box' ) { |
|
34 | + public function updateMetaDataByType( $iObjectID, array $aInput, array $aSavedMeta, $sStructureType = 'post_meta_box' ) { |
|
35 | 35 | |
36 | - if ( ! $iObjectID ) { |
|
36 | + if ( !$iObjectID ) { |
|
37 | 37 | return; |
38 | 38 | } |
39 | 39 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | 'post_meta_box' => 'update_post_meta', |
42 | 42 | 'user_meta' => 'update_user_meta', |
43 | 43 | ); |
44 | - if ( ! in_array( $sStructureType, array_keys( $_aFunctionNameMapByFieldsType ) ) ) { |
|
44 | + if ( !in_array( $sStructureType, array_keys( $_aFunctionNameMapByFieldsType ) ) ) { |
|
45 | 45 | return; |
46 | 46 | } |
47 | 47 | $_sFunctionName = $this->getElement( $_aFunctionNameMapByFieldsType, $sStructureType ); |
@@ -69,16 +69,16 @@ discard block |
||
69 | 69 | */ |
70 | 70 | private function _getInputByUnset( array $aInput ) { |
71 | 71 | |
72 | - $_sUnsetKey = '__unset_' . $this->sStructureType; |
|
73 | - if ( ! isset( $_POST[ $_sUnsetKey ] ) ) { |
|
72 | + $_sUnsetKey = '__unset_'.$this->sStructureType; |
|
73 | + if ( !isset( $_POST[ $_sUnsetKey ] ) ) { |
|
74 | 74 | return $aInput; |
75 | 75 | } |
76 | 76 | |
77 | 77 | $_aUnsetElements = array_unique( $_POST[ $_sUnsetKey ] ); |
78 | - foreach( $_aUnsetElements as $_sFlatInputName ) { |
|
78 | + foreach ( $_aUnsetElements as $_sFlatInputName ) { |
|
79 | 79 | |
80 | 80 | $_aDimensionalKeys = explode( '|', $_sFlatInputName ); |
81 | - if ( ! isset( $_aDimensionalKeys[ 0 ] ) ) { |
|
81 | + if ( !isset( $_aDimensionalKeys[ 0 ] ) ) { |
|
82 | 82 | continue; |
83 | 83 | } |
84 | 84 | |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | |
114 | 114 | $_vSavedValue = $this->getElement( |
115 | 115 | $aSavedMeta, // subject |
116 | - $_sSectionOrFieldID, // dimensional keys |
|
116 | + $_sSectionOrFieldID, // dimensional keys |
|
117 | 117 | null // default value |
118 | 118 | ); |
119 | 119 |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | */ |
108 | 108 | private function _updateMetaDatumByFuncitonName( $iObjectID, $_vValue, array $aSavedMeta, $_sSectionOrFieldID, $_sFunctionName ) { |
109 | 109 | |
110 | - if ( is_null( $_vValue ) ) { |
|
110 | + if ( is_null( $_vValue ) ) { |
|
111 | 111 | return; |
112 | 112 | } |
113 | 113 | |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | // PHP can compare even array contents with the == operator. See http://www.php.net/manual/en/language.operators.array.php |
121 | 121 | // if the input value and the saved meta value are the same, no need to update it. |
122 | - if ( $_vValue == $_vSavedValue ) { |
|
122 | + if ( $_vValue == $_vSavedValue ) { |
|
123 | 123 | return; |
124 | 124 | } |
125 | 125 |
@@ -57,18 +57,18 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | // If the section ID is not registered, return false. |
60 | - if ( ! array_key_exists( $sID, $this->aSectionsets ) ) { |
|
60 | + if ( !array_key_exists( $sID, $this->aSectionsets ) ) { |
|
61 | 61 | return false; |
62 | 62 | } |
63 | 63 | |
64 | 64 | // the fields array's first dimension is also filled with the keys of section ids. |
65 | - if ( ! array_key_exists( $sID, $this->aFieldsets ) ) { |
|
65 | + if ( !array_key_exists( $sID, $this->aFieldsets ) ) { |
|
66 | 66 | return false; |
67 | 67 | } |
68 | 68 | |
69 | 69 | // Since numeric IDs are denied at the beginning of the method, the elements will not be sub-sections. |
70 | 70 | $_bIsSeciton = false; |
71 | - foreach( $this->aFieldsets as $_sSectionID => $_aFields ) { |
|
71 | + foreach ( $this->aFieldsets as $_sSectionID => $_aFields ) { |
|
72 | 72 | |
73 | 73 | if ( $_sSectionID == $sID ) { |
74 | 74 | $_bIsSeciton = true; |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * @return boolean |
95 | 95 | */ |
96 | 96 | public function canUserView( $sCapability ) { |
97 | - if ( ! $sCapability ) { |
|
97 | + if ( !$sCapability ) { |
|
98 | 98 | return true; |
99 | 99 | } |
100 | 100 | return ( boolean ) current_user_can( $sCapability ); |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | * @since DEVVER |
140 | 140 | */ |
141 | 141 | public function callBack( $oCallable, $asParameters ) { |
142 | - $_aParameters = self::getAsArray( |
|
142 | + $_aParameters = self::getAsArray( |
|
143 | 143 | $asParameters, |
144 | 144 | true // preserve empty |
145 | 145 | ); |
@@ -57,25 +57,25 @@ |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | // If the section ID is not registered, return false. |
60 | - if ( ! array_key_exists( $sID, $this->aSectionsets ) ) { |
|
60 | + if ( ! array_key_exists( $sID, $this->aSectionsets ) ) { |
|
61 | 61 | return false; |
62 | 62 | } |
63 | 63 | |
64 | 64 | // the fields array's first dimension is also filled with the keys of section ids. |
65 | - if ( ! array_key_exists( $sID, $this->aFieldsets ) ) { |
|
65 | + if ( ! array_key_exists( $sID, $this->aFieldsets ) ) { |
|
66 | 66 | return false; |
67 | 67 | } |
68 | 68 | |
69 | 69 | // Since numeric IDs are denied at the beginning of the method, the elements will not be sub-sections. |
70 | 70 | $_bIsSeciton = false; |
71 | - foreach( $this->aFieldsets as $_sSectionID => $_aFields ) { |
|
71 | + foreach( $this->aFieldsets as $_sSectionID => $_aFields ) { |
|
72 | 72 | |
73 | - if ( $_sSectionID == $sID ) { |
|
73 | + if ( $_sSectionID == $sID ) { |
|
74 | 74 | $_bIsSeciton = true; |
75 | 75 | } |
76 | 76 | |
77 | 77 | // a field using the ID is found, and it precedes a section match. |
78 | - if ( array_key_exists( $sID, $_aFields ) ) { |
|
78 | + if ( array_key_exists( $sID, $_aFields ) ) { |
|
79 | 79 | return false; |
80 | 80 | } |
81 | 81 |
@@ -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' ] ) ) { |
@@ -35,41 +35,41 @@ discard block |
||
35 | 35 | // Optional |
36 | 36 | 'page_slug' => null, |
37 | 37 | 'tab_slug' => null, |
38 | - 'section_tab_slug' => null, // 3.0.0+ |
|
38 | + 'section_tab_slug' => null, // 3.0.0+ |
|
39 | 39 | 'title' => null, |
40 | 40 | 'description' => null, |
41 | 41 | 'capability' => null, |
42 | 42 | 'if' => true, |
43 | - 'order' => null, // do not set the default number here because incremented numbers will be added when registering the sections. |
|
43 | + 'order' => null, // do not set the default number here because incremented numbers will be added when registering the sections. |
|
44 | 44 | 'help' => null, |
45 | 45 | 'help_aside' => null, |
46 | - 'repeatable' => false, // (boolean|array) 3.0.0+ |
|
47 | - 'sortable' => false, // (boolean|array) 3.6.0+ |
|
46 | + 'repeatable' => false, // (boolean|array) 3.0.0+ |
|
47 | + 'sortable' => false, // (boolean|array) 3.6.0+ |
|
48 | 48 | 'attributes' => array( // 3.3.1+ |
49 | - 'class' => null, // set null to avoid undefined index warnings. |
|
50 | - 'style' => null, // set null to avoid undefined index warnings. |
|
49 | + 'class' => null, // set null to avoid undefined index warnings. |
|
50 | + 'style' => null, // set null to avoid undefined index warnings. |
|
51 | 51 | 'tab' => array(), |
52 | 52 | ), |
53 | 53 | 'class' => array( // 3.3.1+ |
54 | 54 | 'tab' => array(), |
55 | 55 | ), |
56 | - 'hidden' => false, // 3.3.1+ |
|
57 | - 'collapsible' => false, // 3.4.0+ (boolean|array) For the array structure see the $aStructure_CollapsibleArguments property. |
|
58 | - 'save' => true, // 3.6.0+ |
|
56 | + 'hidden' => false, // 3.3.1+ |
|
57 | + 'collapsible' => false, // 3.4.0+ (boolean|array) For the array structure see the $aStructure_CollapsibleArguments property. |
|
58 | + 'save' => true, // 3.6.0+ |
|
59 | 59 | |
60 | - 'content' => null, // 3.6.1+ (string) An overriding section-set output. |
|
60 | + 'content' => null, // 3.6.1+ (string) An overriding section-set output. |
|
61 | 61 | |
62 | - 'tip' => null, // 3.7.0 (string) Tool tip HTML strings. |
|
62 | + 'tip' => null, // 3.7.0 (string) Tool tip HTML strings. |
|
63 | 63 | |
64 | 64 | // Internal |
65 | - '_fields_type' => null, // @deprecated 3.7.0+ Use the `_structure_type` instead. 3.0.0+ - same as the one of the field definition array. Used to insert debug info at the bottom of sections. |
|
66 | - '_structure_type' => null, // 3.7.0+ |
|
67 | - '_is_first_index' => false, // 3.4.0+ (boolean) indicates whether it is the first item of the sub-sections (for repeatable sections). |
|
68 | - '_is_last_index' => false, // 3.4.0+ (boolean) indicates whether it is the last item of the sub-sections (for repeatable sections). |
|
65 | + '_fields_type' => null, // @deprecated 3.7.0+ Use the `_structure_type` instead. 3.0.0+ - same as the one of the field definition array. Used to insert debug info at the bottom of sections. |
|
66 | + '_structure_type' => null, // 3.7.0+ |
|
67 | + '_is_first_index' => false, // 3.4.0+ (boolean) indicates whether it is the first item of the sub-sections (for repeatable sections). |
|
68 | + '_is_last_index' => false, // 3.4.0+ (boolean) indicates whether it is the last item of the sub-sections (for repeatable sections). |
|
69 | 69 | |
70 | - '_section_path' => '', // 3.7.0+ (string) e.g. my_section|nested_section |
|
71 | - '_section_path_array' => '', // 3.7.0+ (array) an array version of the above section_path argument. Numerically indexed. |
|
72 | - '_nested_depth' => 0, // 3.7.0+ (integer) the nested level of the section |
|
70 | + '_section_path' => '', // 3.7.0+ (string) e.g. my_section|nested_section |
|
71 | + '_section_path_array' => '', // 3.7.0+ (array) an array version of the above section_path argument. Numerically indexed. |
|
72 | + '_nested_depth' => 0, // 3.7.0+ (integer) the nested level of the section |
|
73 | 73 | |
74 | 74 | // 3.6.0+ - (object) the caller framework factory object. This allows the framework to access the factory property when rendering the section. |
75 | 75 | // 3.7.0+ It no longer stores a factory object but a form object. |
@@ -124,11 +124,11 @@ discard block |
||
124 | 124 | $_aSectionPath = explode( '|', $this->sSectionPath ); |
125 | 125 | $_aSectionset = $this->uniteArrays( |
126 | 126 | array( |
127 | - '_fields_type' => $this->sStructureType, // @deprecated 3.7.0+ |
|
128 | - '_structure_type' => $this->sStructureType, // 3.7.0+ |
|
129 | - '_section_path' => $this->sSectionPath, // 3.7.0+ |
|
127 | + '_fields_type' => $this->sStructureType, // @deprecated 3.7.0+ |
|
128 | + '_structure_type' => $this->sStructureType, // 3.7.0+ |
|
129 | + '_section_path' => $this->sSectionPath, // 3.7.0+ |
|
130 | 130 | '_section_path_array' => $_aSectionPath, |
131 | - '_nested_depth' => count( $_aSectionPath ) - 1, // 3.7.0+ - zero base |
|
131 | + '_nested_depth' => count( $_aSectionPath ) - 1, // 3.7.0+ - zero base |
|
132 | 132 | ) |
133 | 133 | + $this->aSectionset |
134 | 134 | + array( |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | $aOptions // data source |
69 | 69 | ); |
70 | 70 | |
71 | - foreach( $aOptions as $_sSectionID => $_aSubSectionOrFields ) { |
|
71 | + foreach ( $aOptions as $_sSectionID => $_aSubSectionOrFields ) { |
|
72 | 72 | |
73 | 73 | $_aSubSection = $this->_getSubSectionFromOptions( |
74 | 74 | $_sSectionID, |
@@ -105,10 +105,10 @@ discard block |
||
105 | 105 | |
106 | 106 | $_aSubSection = array(); |
107 | 107 | $_iPrevIndex = null; |
108 | - foreach( $_aSubSectionOrFields as $_isIndexOrFieldID => $_aSubSectionOrFieldOptions ) { |
|
108 | + foreach ( $_aSubSectionOrFields as $_isIndexOrFieldID => $_aSubSectionOrFieldOptions ) { |
|
109 | 109 | |
110 | 110 | // If it is not a sub-section array, skip. |
111 | - if ( ! $this->isNumericInteger( $_isIndexOrFieldID ) ) { |
|
111 | + if ( !$this->isNumericInteger( $_isIndexOrFieldID ) ) { |
|
112 | 112 | continue; |
113 | 113 | } |
114 | 114 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | ); |
123 | 123 | |
124 | 124 | // Update the internal section index key |
125 | - foreach( $_aSubSection[ $_iIndex ] as &$_aField ) { |
|
125 | + foreach ( $_aSubSection[ $_iIndex ] as &$_aField ) { |
|
126 | 126 | $_aField[ '_section_index' ] = $_iIndex; |
127 | 127 | } |
128 | 128 | unset( $_aField ); // to be safe in PHP |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | */ |
148 | 148 | private function _getSubSectionItemsFromOptions( array $_aSubSection, $_sSectionID, $_iIndex, $_iPrevIndex ) { |
149 | 149 | |
150 | - if ( ! isset( $this->aFieldsets[ $_sSectionID ] ) ) { |
|
150 | + if ( !isset( $this->aFieldsets[ $_sSectionID ] ) ) { |
|
151 | 151 | return array(); |
152 | 152 | } |
153 | 153 | |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | : $this->getNonIntegerKeyElements( $this->aFieldsets[ $_sSectionID ] ); |
157 | 157 | |
158 | 158 | // if empty, merge with the previous element. |
159 | - return ! empty( $_aFields ) |
|
159 | + return !empty( $_aFields ) |
|
160 | 160 | ? $_aFields |
161 | 161 | : $this->getElementAsArray( |
162 | 162 | $_aSubSection, |
@@ -108,7 +108,7 @@ |
||
108 | 108 | foreach( $_aSubSectionOrFields as $_isIndexOrFieldID => $_aSubSectionOrFieldOptions ) { |
109 | 109 | |
110 | 110 | // If it is not a sub-section array, skip. |
111 | - if ( ! $this->isNumericInteger( $_isIndexOrFieldID ) ) { |
|
111 | + if ( ! $this->isNumericInteger( $_isIndexOrFieldID ) ) { |
|
112 | 112 | continue; |
113 | 113 | } |
114 | 114 |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | static public $aStructure = array( |
26 | 26 | '_is_sub_field' => false, // @todo change this key name as all the parsed field is technically a sub-field. |
27 | - '_index' => 0, // indicates the field index |
|
27 | + '_index' => 0, // indicates the field index |
|
28 | 28 | '_is_multiple_fields' => false, |
29 | 29 | '_saved_value' => null, |
30 | 30 | '_is_value_set_by_user' => false, |
@@ -39,8 +39,8 @@ discard block |
||
39 | 39 | '_fields_container_id' => '', |
40 | 40 | '_fieldset_container_id' => '', |
41 | 41 | |
42 | - '_field_object' => null, // 3.6.0+ |
|
43 | - '_parent_field_object' => null, // 3.6.0+ Stores the parent field object to be accessed from the nested fields to generate id and name attribute models. |
|
42 | + '_field_object' => null, // 3.6.0+ |
|
43 | + '_parent_field_object' => null, // 3.6.0+ Stores the parent field object to be accessed from the nested fields to generate id and name attribute models. |
|
44 | 44 | ); |
45 | 45 | |
46 | 46 | /** |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | |
84 | 84 | $_aField = $this->aField + self::$aStructure; |
85 | 85 | |
86 | - $_aField[ '_is_sub_field' ] = is_numeric( $this->isIndex ) && 0 < $this->isIndex; // 3.5.3+ |
|
86 | + $_aField[ '_is_sub_field' ] = is_numeric( $this->isIndex ) && 0 < $this->isIndex; // 3.5.3+ |
|
87 | 87 | $_aField[ '_index' ] = $this->isIndex; |
88 | 88 | |
89 | 89 | // 'input_id' - something like ({section id}_){field_id}_{index} e.g. my_section_id_my_field_id_0 |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | // ); |
128 | 128 | |
129 | 129 | // used in the attribute below plus it is also used in the sample custom field type. |
130 | - $_aField[ '_field_container_id' ] = "field-{$_aField[ 'input_id' ]}"; |
|
130 | + $_aField[ '_field_container_id' ] = "field-{$_aField[ 'input_id' ]}"; |
|
131 | 131 | |
132 | 132 | // @todo for issue #158 https://github.com/michaeluno/admin-page-framework/issues/158 |
133 | 133 | // These models are for generating ids and names dynamically. |
@@ -165,8 +165,8 @@ discard block |
||
165 | 165 | 'value' => $_aField[ 'value' ], |
166 | 166 | 'type' => $_aField[ 'type' ], // text, password, etc. |
167 | 167 | 'disabled' => null, |
168 | - 'data-id_model' => $_aField[ '_input_id_model' ], // 3.3.1+ |
|
169 | - 'data-name_model' => $_aField[ '_input_name_model' ], // 3.3.1+ |
|
168 | + 'data-id_model' => $_aField[ '_input_id_model' ], // 3.3.1+ |
|
169 | + 'data-name_model' => $_aField[ '_input_name_model' ], // 3.3.1+ |
|
170 | 170 | ) |
171 | 171 | ), |
172 | 172 | // this allows sub-fields with different field types to set the default key-values for the sub-field. |
@@ -32,21 +32,21 @@ discard block |
||
32 | 32 | * @internal |
33 | 33 | */ |
34 | 34 | static public $aStructure = array( |
35 | - '_section_index' => null, // 3.0.0+ - internally set to indicate the section index for repeatable sections. |
|
35 | + '_section_index' => null, // 3.0.0+ - internally set to indicate the section index for repeatable sections. |
|
36 | 36 | |
37 | 37 | 'tag_id' => null, |
38 | - '_tag_id_model' => '', // 3.6.0+ |
|
38 | + '_tag_id_model' => '', // 3.6.0+ |
|
39 | 39 | |
40 | - '_field_name' => '', // 3.6.0+ |
|
41 | - '_field_name_model' => '', // 3.6.0+ |
|
40 | + '_field_name' => '', // 3.6.0+ |
|
41 | + '_field_name_model' => '', // 3.6.0+ |
|
42 | 42 | |
43 | - '_field_name_flat' => '', // 3.6.0+ |
|
44 | - '_field_name_flat_model' => '', // 3.6.0+ |
|
43 | + '_field_name_flat' => '', // 3.6.0+ |
|
44 | + '_field_name_flat_model' => '', // 3.6.0+ |
|
45 | 45 | |
46 | - '_field_address' => '', // 3.6.0+ |
|
47 | - '_field_address_model' => '', // 3.6.0+ |
|
46 | + '_field_address' => '', // 3.6.0+ |
|
47 | + '_field_address_model' => '', // 3.6.0+ |
|
48 | 48 | |
49 | - '_parent_field_object' => null, // 3.6.0+ Assigned when a field creates a nested field. |
|
49 | + '_parent_field_object' => null, // 3.6.0+ Assigned when a field creates a nested field. |
|
50 | 50 | |
51 | 51 | ); |
52 | 52 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | $_aFieldset = $this->aFieldset + self::$aStructure; |
90 | 90 | |
91 | 91 | // The section index must be set before generating a field tag id as it uses a section index. |
92 | - $_aFieldset[ '_section_index' ] = $this->iSectionIndex; |
|
92 | + $_aFieldset[ '_section_index' ] = $this->iSectionIndex; |
|
93 | 93 | |
94 | 94 | $_oFieldTagIDGenerator = new AdminPageFramework_Form_View___Generate_FieldTagID( |
95 | 95 | $_aFieldset, |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Stores the section definition. |
45 | 45 | */ |
46 | - public $aSection = array(); |
|
46 | + public $aSection = array(); |
|
47 | 47 | |
48 | 48 | /** |
49 | 49 | * Indicates the sub section index. |
@@ -91,8 +91,8 @@ discard block |
||
91 | 91 | |
92 | 92 | $_aSection[ '_is_collapsible' ] = $_aSection[ 'collapsible' ] && 'section' === $_aSection[ 'collapsible' ][ 'container' ]; |
93 | 93 | |
94 | - $_aSection[ '_tag_id' ] = 'section-' . $_aSection[ 'section_id' ] . '__' . $this->iIndex; |
|
95 | - $_aSection[ '_tag_id_model' ] = 'section-' . $_aSection[ 'section_id' ] . '__' . '___i___'; |
|
94 | + $_aSection[ '_tag_id' ] = 'section-'.$_aSection[ 'section_id' ].'__'.$this->iIndex; |
|
95 | + $_aSection[ '_tag_id_model' ] = 'section-'.$_aSection[ 'section_id' ].'__'.'___i___'; |
|
96 | 96 | |
97 | 97 | return $_aSection; |
98 | 98 |