Completed
Branch master (bf4987)
by Michael
03:55
created
factory/_common/form/field_type/AdminPageFramework_FieldType_submit.php 2 patches
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
          * @return      array       The label container attribute array.
305 305
          * @internal
306 306
          */        
307
-        private function _getLabelContainerAttributes( array $aField ) {           
307
+        private function _getLabelContainerAttributes( array $aField ) {
308 308
             return array(
309 309
                 'style' => $aField['label_min_width'] 
310 310
                     ? "min-width:" . $this->sanitizeLength( $aField['label_min_width'] ) . ";" 
@@ -540,19 +540,19 @@  discard block
 block discarded – undo
540 540
      * @since       2.1.5       Moved from `AdminPageFramwrork_InputField`. Changed the scope to protected from private. Removed the second parameter.
541 541
      * @internal
542 542
      */ 
543
-    protected function _getInputFieldValueFromLabel( $aField ) {    
543
+    protected function _getInputFieldValueFromLabel( $aField ) {
544 544
         
545 545
         // If the value key is explicitly set, use it. But the empty string will be ignored.
546
-        if ( isset( $aField[ 'value' ] ) && $aField[ 'value' ] != '' ) { 
546
+        if ( isset( $aField[ 'value' ] ) && $aField[ 'value' ] != '' ) {
547 547
             return $aField[ 'value' ]; 
548 548
         }
549 549
         
550
-        if ( isset( $aField[ 'label' ] ) ) { 
550
+        if ( isset( $aField[ 'label' ] ) ) {
551 551
             return $aField[ 'label' ]; 
552 552
         }
553 553
         
554 554
         // If the default value is set,
555
-        if ( isset( $aField[ 'default' ] ) ) { 
555
+        if ( isset( $aField[ 'default' ] ) ) {
556 556
             return $aField[ 'default' ]; 
557 557
         }
558 558
         
Please login to merge, or discard this patch.
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     /**
188 188
      * Defines the field type slugs used for this field type.
189 189
      */
190
-    public $aFieldTypeSlugs = array( 'submit', );
190
+    public $aFieldTypeSlugs = array( 'submit',);
191 191
     
192 192
     /**
193 193
      * Defines the default key-values of this field type. 
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         'redirect_url'  => null,
199 199
         'href'          => null,
200 200
         'reset'         => null, 
201
-        'email'         => null,    // [3.3.0+] string of an email address to send to or it can be an array with the following keys.
201
+        'email'         => null, // [3.3.0+] string of an email address to send to or it can be an array with the following keys.
202 202
         /* 
203 203
             array(
204 204
                 'to'            => null,    // string|array     The email address to send to or an array representing the key structure of the submitted form data holding the value. The first key should be the section ID and the second key is the the field ID.
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
                 'attachments'   => null,    // string|array     The file path(s) or an array representing the key structure of the submitted form data holding the value. The first key should be the section ID and the second key is the the field ID.
209 209
             )
210 210
         */
211
-        'skip_confirmation' => false,   // 3.7.6+ For emails.
211
+        'skip_confirmation' => false, // 3.7.6+ For emails.
212 212
         'attributes'    => array(
213 213
             'class' => 'button button-primary',
214 214
         ),    
@@ -248,16 +248,16 @@  discard block
 block discarded – undo
248 248
 
249 249
         return 
250 250
             $aField[ 'before_label' ]
251
-            . "<div " . $this->getAttributes( $_aLabelContainerAttributes ) . ">"
251
+            . "<div ".$this->getAttributes( $_aLabelContainerAttributes ).">"
252 252
                 . $this->_getExtraFieldsBeforeLabel( $aField ) // this is for the import field type that cannot place file input tag inside the label tag.
253
-                . "<label " . $this->getAttributes( $_aLabelAttributes ) . ">"
253
+                . "<label ".$this->getAttributes( $_aLabelAttributes ).">"
254 254
                     . $aField[ 'before_input' ]
255 255
                     . $this->_getExtraInputFields( $aField )
256
-                    . "<input " . $this->getAttributes( $_aInputAttributes ) . " />" // this method is defined in the base class
256
+                    . "<input ".$this->getAttributes( $_aInputAttributes )." />" // this method is defined in the base class
257 257
                     . $aField[ 'after_input' ]
258 258
                 . "</label>"
259 259
             . "</div>"
260
-            . $aField['after_label'];
260
+            . $aField[ 'after_label' ];
261 261
         
262 262
     }
263 263
         /**
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
         private function _getLabelAttributes( array $aField, array $aInputAttributes ) {
290 290
             return array(
291 291
                 'style' => $aField[ 'label_min_width' ] 
292
-                    ? "min-width:" . $this->getLengthSanitized( $aField[ 'label_min_width' ] ) . ";" 
292
+                    ? "min-width:".$this->getLengthSanitized( $aField[ 'label_min_width' ] ).";" 
293 293
                     : null,
294 294
                 'for'   => $aInputAttributes[ 'id' ],
295 295
                 'class' => $aInputAttributes[ 'disabled' ] 
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         private function _getLabelContainerAttributes( array $aField ) {           
308 308
             return array(
309 309
                 'style' => $aField[ 'label_min_width' ] 
310
-                    ? "min-width:" . $this->getLengthSanitized( $aField[ 'label_min_width' ] ) . ";" 
310
+                    ? "min-width:".$this->getLengthSanitized( $aField[ 'label_min_width' ] ).";" 
311 311
                     : null,
312 312
                 'class' => 'admin-page-framework-input-label-container'
313 313
                     . ' admin-page-framework-input-button-container'
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
     protected function _getExtraInputFields( &$aField ) {
359 359
         
360 360
         $_aOutput   = array();
361
-        $_aOutput[] = $this->getHTMLTag( 
361
+        $_aOutput[ ] = $this->getHTMLTag( 
362 362
             'input',
363 363
             array(
364 364
                 'type'  => 'hidden',
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
                 'value' => $aField[ 'input_id' ],
367 367
             )
368 368
         );
369
-        $_aOutput[] = $this->getHTMLTag( 
369
+        $_aOutput[ ] = $this->getHTMLTag( 
370 370
             'input',
371 371
             array(
372 372
                 'type'  => 'hidden',
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
                 'value' => $aField[ 'field_id' ],
375 375
             ) 
376 376
         );            
377
-        $_aOutput[] = $this->getHTMLTag( 
377
+        $_aOutput[ ] = $this->getHTMLTag( 
378 378
             'input',
379 379
             array(
380 380
                 'type'  => 'hidden',
@@ -382,11 +382,11 @@  discard block
 block discarded – undo
382 382
                 'value' => $aField[ '_input_name_flat' ],
383 383
             ) 
384 384
         );         
385
-        $_aOutput[] = $this->_getHiddenInput_SectionID( $aField );
386
-        $_aOutput[] = $this->_getHiddenInputByKey( $aField, 'redirect_url' );       
387
-        $_aOutput[] = $this->_getHiddenInputByKey( $aField, 'href' );       
388
-        $_aOutput[] = $this->_getHiddenInput_Reset( $aField );
389
-        $_aOutput[] = $this->_getHiddenInput_Email( $aField );
385
+        $_aOutput[ ] = $this->_getHiddenInput_SectionID( $aField );
386
+        $_aOutput[ ] = $this->_getHiddenInputByKey( $aField, 'redirect_url' );       
387
+        $_aOutput[ ] = $this->_getHiddenInputByKey( $aField, 'href' );       
388
+        $_aOutput[ ] = $this->_getHiddenInput_Reset( $aField );
389
+        $_aOutput[ ] = $this->_getHiddenInput_Email( $aField );
390 390
         return implode( PHP_EOL, array_filter( $_aOutput ) );  
391 391
         
392 392
     }
@@ -402,9 +402,9 @@  discard block
 block discarded – undo
402 402
                 'input',
403 403
                 array(
404 404
                     'type'  => 'hidden',
405
-                    'name'  => "__submit[{$aField['input_id']}][section_id]",
406
-                    'value' => isset( $aField['section_id'] ) && '_default' !== $aField['section_id'] 
407
-                        ? $aField['section_id'] 
405
+                    'name'  => "__submit[{$aField[ 'input_id' ]}][section_id]",
406
+                    'value' => isset( $aField[ 'section_id' ] ) && '_default' !== $aField[ 'section_id' ] 
407
+                        ? $aField[ 'section_id' ] 
408 408
                         : '',
409 409
                 ) 
410 410
             );                  
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
                     'input',
423 423
                     array(
424 424
                         'type'  => 'hidden',
425
-                        'name'  => "__submit[{$aField['input_id']}][{$sKey}]",
425
+                        'name'  => "__submit[{$aField[ 'input_id' ]}][{$sKey}]",
426 426
                         'value' => $aField[ $sKey ],
427 427
                     ) 
428 428
                 )
@@ -436,15 +436,15 @@  discard block
 block discarded – undo
436 436
          * @return      string      the HTML input tag output for the 'reset' argument.
437 437
          */        
438 438
         private function _getHiddenInput_Reset( array $aField ) {
439
-            if ( ! $aField['reset'] ) {
439
+            if ( !$aField[ 'reset' ] ) {
440 440
                 return '';
441 441
             }
442
-            return ! $this->_checkConfirmationDisplayed( $aField, $aField[ '_input_name_flat' ], 'reset' )
442
+            return !$this->_checkConfirmationDisplayed( $aField, $aField[ '_input_name_flat' ], 'reset' )
443 443
                 ? $this->getHTMLTag( 
444 444
                     'input',
445 445
                     array(
446 446
                         'type'  => 'hidden',
447
-                        'name'  => "__submit[{$aField['input_id']}][is_reset]",
447
+                        'name'  => "__submit[{$aField[ 'input_id' ]}][is_reset]",
448 448
                         'value' => '1',
449 449
                     ) 
450 450
                 )
@@ -452,10 +452,10 @@  discard block
 block discarded – undo
452 452
                     'input',
453 453
                     array(
454 454
                         'type'  => 'hidden',
455
-                        'name'  => "__submit[{$aField['input_id']}][reset_key]",
456
-                        'value' => is_array( $aField['reset'] )   // set the option array key to delete.
457
-                            ? implode( '|', $aField['reset'] )
458
-                            : $aField['reset'],
455
+                        'name'  => "__submit[{$aField[ 'input_id' ]}][reset_key]",
456
+                        'value' => is_array( $aField[ 'reset' ] )   // set the option array key to delete.
457
+                            ? implode( '|', $aField[ 'reset' ] )
458
+                            : $aField[ 'reset' ],
459 459
                     )
460 460
                 );      
461 461
         }
@@ -472,10 +472,10 @@  discard block
 block discarded – undo
472 472
                 return '';
473 473
             }
474 474
             $this->setTransient( 
475
-                'apf_em_' . md5( $aField[ '_input_name_flat' ] . get_current_user_id() ), 
475
+                'apf_em_'.md5( $aField[ '_input_name_flat' ].get_current_user_id() ), 
476 476
                 $aField[ 'email' ] 
477 477
             );
478
-            return ! $this->_checkConfirmationDisplayed( $aField, $aField[ '_input_name_flat' ], 'email' )
478
+            return !$this->_checkConfirmationDisplayed( $aField, $aField[ '_input_name_flat' ], 'email' )
479 479
                 ? $this->getHTMLTag( 
480 480
                     'input',
481 481
                     array(
@@ -500,19 +500,19 @@  discard block
 block discarded – undo
500 500
          * @return      boolean
501 501
          * @internal
502 502
          */
503
-        private function _checkConfirmationDisplayed( $aField, $sFlatFieldName, $sType='reset' ) {
503
+        private function _checkConfirmationDisplayed( $aField, $sFlatFieldName, $sType = 'reset' ) {
504 504
                             
505
-            switch( $sType ) {
505
+            switch ( $sType ) {
506 506
                 default:
507 507
                 case 'reset':       // admin page framework _ reset confirmation
508
-                    $_sTransientKey = 'apf_rc_' . md5( $sFlatFieldName . get_current_user_id() );
508
+                    $_sTransientKey = 'apf_rc_'.md5( $sFlatFieldName.get_current_user_id() );
509 509
                     break;
510 510
                 case 'email':       // admin page framework _ email confirmation
511
-                    $_sTransientKey = 'apf_ec_' . md5( $sFlatFieldName . get_current_user_id() );   
511
+                    $_sTransientKey = 'apf_ec_'.md5( $sFlatFieldName.get_current_user_id() );   
512 512
                     break;
513 513
             }
514 514
             
515
-            $_bConfirmed = false === $this->getTransient( $_sTransientKey ) && ! $aField[ 'skip_confirmation' ]
515
+            $_bConfirmed = false === $this->getTransient( $_sTransientKey ) && !$aField[ 'skip_confirmation' ]
516 516
                 ? false
517 517
                 : true;
518 518
             
Please login to merge, or discard this patch.
form/_view/fieldset/AdminPageFramework_Form_View___Fieldset_Base.php 4 patches
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                 self::$_bIsLoadedJSScripts_Widget = true;
158 158
             }
159 159
             
160
-            if ( self::$_bIsLoadedJSScripts ) { 
160
+            if ( self::$_bIsLoadedJSScripts ) {
161 161
                 return; 
162 162
             }
163 163
             self::$_bIsLoadedJSScripts = true;
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
      * 
256 256
      * @since 3.0.0
257 257
      */    
258
-    protected function _getSortableFieldEnablerScript( $sFieldsContainerID ) {        
258
+    protected function _getSortableFieldEnablerScript( $sFieldsContainerID ) {
259 259
     
260 260
         $_sScript = <<<JAVASCRIPTS
261 261
     jQuery( document ).ready( function() {
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,6 +174,7 @@  discard block
 block discarded – undo
174 174
      * Returns the repeatable fields script.
175 175
      * 
176 176
      * @since 2.1.3
177
+     * @param string $sFieldsContainerID
177 178
      */
178 179
     protected function _getRepeaterFieldEnablerScript( $sFieldsContainerID, $iFieldCount, $aSettings ) {
179 180
         
@@ -244,6 +245,7 @@  discard block
 block discarded – undo
244 245
             /**
245 246
              * @since       3.8.13
246 247
              * @param       array       $aArguments
248
+             * @param string $sSmallButtonSelector
247 249
              * @return      string
248 250
              */
249 251
             private function ___getAddButtonAttribtes( $aArguments, $sFieldsContainerID, $sSmallButtonSelector ) {
@@ -262,7 +264,7 @@  discard block
 block discarded – undo
262 264
             }
263 265
             /**
264 266
              * @since       3.8.13
265
-             * @param       array       $aArguments
267
+             * @param string $sSmallButtonSelector
266 268
              * @return      string
267 269
              */
268 270
             private function ___getRemvoeButtonAttribtes( $sFieldsContainerID, $sSmallButtonSelector, $iFieldCount ) {
@@ -306,6 +308,7 @@  discard block
 block discarded – undo
306 308
      * Returns the sortable fields script.
307 309
      * 
308 310
      * @since 3.0.0
311
+     * @param string $sFieldsContainerID
309 312
      */    
310 313
     protected function _getSortableFieldEnablerScript( $sFieldsContainerID ) {        
311 314
     
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -255,8 +255,8 @@  discard block
 block discarded – undo
255 255
                     'href'      => empty( $aArguments[ 'disabled' ] )
256 256
                         ? null
257 257
                         : '#TB_inline?width=' . $aArguments[ 'disabled' ][ 'box_width' ]
258
-                          . '&height=' . $aArguments[ 'disabled' ][ 'box_height' ]
259
-                          . '&inlineId=' . 'repeatable_field_disabled_' . $sFieldsContainerID,
258
+                            . '&height=' . $aArguments[ 'disabled' ][ 'box_height' ]
259
+                            . '&inlineId=' . 'repeatable_field_disabled_' . $sFieldsContainerID,
260 260
                 );
261 261
                 return $this->getAttributes( $_sPlusButtonAttributes );
262 262
             }
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
             private function ___getRemvoeButtonAttribtes( $sFieldsContainerID, $sSmallButtonSelector, $iFieldCount ) {
269 269
                 $_aMinusButtonAttributes = array(
270 270
                     'class'     => 'repeatable-field-remove-button button-secondary repeatable-field-button button'
271
-                         . $sSmallButtonSelector,
271
+                            . $sSmallButtonSelector,
272 272
                     'title'     => $this->oMsg->get( 'remove' ),
273 273
                     'style'     => $iFieldCount <= 1
274 274
                         ? 'visibility: hidden'
Please login to merge, or discard this patch.
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param       object      $oMsg                   An object storing the system messages.
69 69
      * @param       array       $aCallbacks             An array storing the form-field specific callbacks.     
70 70
      */
71
-    public function __construct( $aFieldset, $aOptions, $aErrors, &$aFieldTypeDefinitions, &$oMsg, array $aCallbacks=array() ) {
71
+    public function __construct( $aFieldset, $aOptions, $aErrors, &$aFieldTypeDefinitions, &$oMsg, array $aCallbacks = array() ) {
72 72
 
73 73
         // Set up the properties that will be accessed later in the methods.
74 74
         $this->aFieldset                = $this->_getFormatted( $aFieldset, $aFieldTypeDefinitions );
@@ -77,13 +77,13 @@  discard block
 block discarded – undo
77 77
         $this->aErrors                  = $this->getAsArray( $aErrors );
78 78
         $this->oMsg                     = $oMsg;
79 79
         $this->aCallbacks               = $aCallbacks + array(
80
-            'hfID'              => null,    // the input id attribute
81
-            'hfTagID'           => null,    // the fieldset/field row container id attribute
82
-            'hfName'            => null,    // the input name attribute
83
-            'hfNameFlat'        => null,    // the flat input name attribute                
80
+            'hfID'              => null, // the input id attribute
81
+            'hfTagID'           => null, // the fieldset/field row container id attribute
82
+            'hfName'            => null, // the input name attribute
83
+            'hfNameFlat'        => null, // the flat input name attribute                
84 84
             'hfInputName'       => null,
85 85
             'hfInputNameFlat'   => null,
86
-            'hfClass'           => null,    // the class attribute
86
+            'hfClass'           => null, // the class attribute
87 87
         );        
88 88
         
89 89
         // 2. Load necessary JavaScript scripts.
@@ -150,9 +150,9 @@  discard block
 block discarded – undo
150 150
          * @since   3.2.0   Added the `$sFieldsType` parameter.
151 151
          * @internal
152 152
          */
153
-        private function _loadScripts( $sStructureType='' ) {
153
+        private function _loadScripts( $sStructureType = '' ) {
154 154
 
155
-            if ( 'widget' === $sStructureType && ! self::$_bIsLoadedJSScripts_Widget ) {
155
+            if ( 'widget' === $sStructureType && !self::$_bIsLoadedJSScripts_Widget ) {
156 156
                 new AdminPageFramework_Form_View___Script_Widget;
157 157
                 self::$_bIsLoadedJSScripts_Widget = true;
158 158
             }
@@ -177,8 +177,8 @@  discard block
 block discarded – undo
177 177
      */
178 178
     protected function _getRepeaterFieldEnablerScript( $sFieldsContainerID, $iFieldCount, $aSettings ) {
179 179
         
180
-        $_sSmallButtons         = '"' . $this->___getRepeatableButtonHTML( $sFieldsContainerID, ( array ) $aSettings, $iFieldCount, true ) . '"';
181
-        $_sNestedFieldsButtons  = '"' . $this->___getRepeatableButtonHTML( $sFieldsContainerID, ( array ) $aSettings, $iFieldCount, false ) . '"';
180
+        $_sSmallButtons         = '"'.$this->___getRepeatableButtonHTML( $sFieldsContainerID, ( array ) $aSettings, $iFieldCount, true ).'"';
181
+        $_sNestedFieldsButtons  = '"'.$this->___getRepeatableButtonHTML( $sFieldsContainerID, ( array ) $aSettings, $iFieldCount, false ).'"';
182 182
         $_aJSArray              = json_encode( $aSettings );
183 183
         $_sScript               = <<<JAVASCRIPTS
184 184
 jQuery( document ).ready( function() {
@@ -224,18 +224,18 @@  discard block
 block discarded – undo
224 224
          * @since       3.8.0
225 225
          * @return      string
226 226
          */
227
-        private function ___getRepeatableButtonHTML( $sFieldsContainerID, array $aArguments, $iFieldCount, $bSmall=true ) {
227
+        private function ___getRepeatableButtonHTML( $sFieldsContainerID, array $aArguments, $iFieldCount, $bSmall = true ) {
228 228
 
229 229
             // @todo Move this formatting routine to the field-set formatter class.
230 230
             $_oFormatter             = new AdminPageFramework_Form_Model___Format_RepeatableField( $aArguments, $this->oMsg );
231 231
             $_aArguments             = $_oFormatter->get();
232 232
             $_sSmallButtonSelector   = $bSmall ? ' button-small' : '';
233
-            return "<div " . $this->___getContainerAttributes( $_aArguments ) . " >"
234
-                    . "<a " . $this->___getRemvoeButtonAttribtes( $sFieldsContainerID, $_sSmallButtonSelector, $iFieldCount ) . ">-</a>"
235
-                    . "<a " . $this->___getAddButtonAttribtes( $_aArguments, $sFieldsContainerID, $_sSmallButtonSelector ) . ">+</a>"
233
+            return "<div ".$this->___getContainerAttributes( $_aArguments )." >"
234
+                    . "<a ".$this->___getRemvoeButtonAttribtes( $sFieldsContainerID, $_sSmallButtonSelector, $iFieldCount ).">-</a>"
235
+                    . "<a ".$this->___getAddButtonAttribtes( $_aArguments, $sFieldsContainerID, $_sSmallButtonSelector ).">+</a>"
236 236
                 . "</div>"
237 237
                 . $this->getModalForDisabledRepeatableElement(
238
-                    'repeatable_field_disabled_' . $sFieldsContainerID,
238
+                    'repeatable_field_disabled_'.$sFieldsContainerID,
239 239
                     $_aArguments[ 'disabled' ]
240 240
                 );
241 241
 
@@ -254,9 +254,9 @@  discard block
 block discarded – undo
254 254
                     'data-id'   => $sFieldsContainerID,
255 255
                     'href'      => empty( $aArguments[ 'disabled' ] )
256 256
                         ? null
257
-                        : '#TB_inline?width=' . $aArguments[ 'disabled' ][ 'box_width' ]
258
-                          . '&height=' . $aArguments[ 'disabled' ][ 'box_height' ]
259
-                          . '&inlineId=' . 'repeatable_field_disabled_' . $sFieldsContainerID,
257
+                        : '#TB_inline?width='.$aArguments[ 'disabled' ][ 'box_width' ]
258
+                          . '&height='.$aArguments[ 'disabled' ][ 'box_height' ]
259
+                          . '&inlineId='.'repeatable_field_disabled_'.$sFieldsContainerID,
260 260
                 );
261 261
                 return $this->getAttributes( $_sPlusButtonAttributes );
262 262
             }
@@ -283,10 +283,10 @@  discard block
 block discarded – undo
283 283
              * @return      string
284 284
              */
285 285
             private function ___getContainerAttributes( $aArguments ) {
286
-                $_aContainerAttributes   = array(
286
+                $_aContainerAttributes = array(
287 287
                     'class' => $this->getClassAttribute(
288 288
                         'admin-page-framework-repeatable-field-buttons',
289
-                        ! empty( $aArguments[ 'disabled' ] )
289
+                        !empty( $aArguments[ 'disabled' ] )
290 290
                             ? 'disabled'
291 291
                             : ''
292 292
                     ),
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
                     unset( $aArguments[ 'disabled' ] );
300 300
                 }
301 301
                 return $this->getAttributes( $_aContainerAttributes )
302
-                    . ' ' . $this->getDataAttributes( $aArguments );
302
+                    . ' '.$this->getDataAttributes( $aArguments );
303 303
             }
304 304
 
305 305
     /**
Please login to merge, or discard this patch.
form/_view/attribute/AdminPageFramework_Form_View___Attribute_Fieldset.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * 
26 26
      * @since       3.6.0
27 27
      */
28
-    public $sContext    = 'fieldset';
28
+    public $sContext = 'fieldset';
29 29
 
30 30
     /**
31 31
      * Returns an attribute array.
@@ -33,11 +33,11 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected function _getAttributes() {
35 35
         return array(
36
-            'id'            => $this->sContext . '-' . $this->aArguments[ 'tag_id' ],
36
+            'id'            => $this->sContext.'-'.$this->aArguments[ 'tag_id' ],
37 37
             'class'         => implode( 
38 38
                 ' ', 
39 39
                 array(
40
-                    'admin-page-framework-' . $this->sContext,
40
+                    'admin-page-framework-'.$this->sContext,
41 41
                     $this->_getSelectorForChildFieldset()
42 42
                 )
43 43
             ),
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
                 return '';
57 57
             }            
58 58
             if ( $this->aArguments[ '_nested_depth' ] == 1 ) {
59
-                return 'child-fieldset nested-depth-' . $this->aArguments[ '_nested_depth' ];
59
+                return 'child-fieldset nested-depth-'.$this->aArguments[ '_nested_depth' ];
60 60
             }
61
-            return 'child-fieldset multiple-nesting nested-depth-' . $this->aArguments[ '_nested_depth' ];
61
+            return 'child-fieldset multiple-nesting nested-depth-'.$this->aArguments[ '_nested_depth' ];
62 62
             
63 63
         }
64 64
            
Please login to merge, or discard this patch.
development/factory/_common/form/AdminPageFramework_Form_Utility.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         }
71 71
         
72 72
         // If the first element is a string, it is a inline mixed field definition.
73
-       return is_array( self::getElement( $aFieldset[ 'content' ], 0 ) );
73
+        return is_array( self::getElement( $aFieldset[ 'content' ], 0 ) );
74 74
        
75 75
     }  
76 76
 
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     static public function hasNestedFields( array $aFieldset ) {
61 61
         
62
-        if ( ! self::hasFieldDefinitionsInContent( $aFieldset ) ) {
62
+        if ( !self::hasFieldDefinitionsInContent( $aFieldset ) ) {
63 63
             return false;
64 64
         }
65 65
         // At this point, the `content` argument contains either the definition of nested fields or inline-mixed fields.
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     static public function hasFieldDefinitionsInContent( array $aFieldset ) {
105 105
         
106
-        if ( ! isset( $aFieldset[ 'content' ] ) ) {
106
+        if ( !isset( $aFieldset[ 'content' ] ) ) {
107 107
             return false;
108 108
         }
109 109
         if ( empty( $aFieldset[ 'content' ] ) ) {
@@ -138,10 +138,10 @@  discard block
 block discarded – undo
138 138
      * @since       3.8.13
139 139
      */
140 140
     static public function isDynamicField( $aField ) {
141
-        if ( ! empty( $aField[ 'repeatable' ] ) ) {
141
+        if ( !empty( $aField[ 'repeatable' ] ) ) {
142 142
             return true;
143 143
         }
144
-        if ( ! empty( $aField[ 'sortable' ] ) ) {
144
+        if ( !empty( $aField[ 'sortable' ] ) ) {
145 145
             return true;
146 146
         }
147 147
         return false;
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         if ( empty( $sString ) ) {
171 171
             return $sString;
172 172
         }
173
-        return $sString . '|';
173
+        return $sString.'|';
174 174
     }
175 175
 
176 176
     /**
@@ -186,17 +186,17 @@  discard block
 block discarded – undo
186 186
      */
187 187
     static public function getFieldsetReformattedBySubFieldIndex( array $aFieldset, $iSubFieldIndex, $bHasSubFields, array $aParentFieldset ) {
188 188
 
189
-        $_oCallerForm   = $aFieldset[ '_caller_object' ];
189
+        $_oCallerForm = $aFieldset[ '_caller_object' ];
190 190
 
191 191
         // Add sub-field index to the parent field path for repeated nested items.
192
-        $aFieldset[ '_parent_field_path' ]   = self::getAOrB(
192
+        $aFieldset[ '_parent_field_path' ] = self::getAOrB(
193 193
             $bHasSubFields,
194
-            $aFieldset[ '_parent_field_path' ] . '|' . $iSubFieldIndex,
194
+            $aFieldset[ '_parent_field_path' ].'|'.$iSubFieldIndex,
195 195
             $aFieldset[ '_parent_field_path' ]
196 196
         );
197
-        $aFieldset[ '_parent_tag_id' ]       = self::getAOrB(
197
+        $aFieldset[ '_parent_tag_id' ] = self::getAOrB(
198 198
             $bHasSubFields,
199
-            $aParentFieldset[ 'tag_id' ] . '__' . $iSubFieldIndex,
199
+            $aParentFieldset[ 'tag_id' ].'__'.$iSubFieldIndex,
200 200
             $aParentFieldset[ 'tag_id' ]
201 201
         );
202 202
 
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
             $aFieldset,
206 206
             $aFieldset[ '_structure_type' ],
207 207
             $aFieldset[ 'capability' ],
208
-            ( integer ) $iSubFieldIndex + 1,   // 1-based count (not index)
208
+            ( integer ) $iSubFieldIndex + 1, // 1-based count (not index)
209 209
             $aFieldset[ '_subsection_index' ],
210 210
             $aFieldset[ '_is_section_repeatable' ],
211 211
             $aFieldset[ '_caller_object' ]
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 
215 215
         $_oFieldsetOutputFormatter = new AdminPageFramework_Form_Model___Format_FieldsetOutput(
216 216
             $aFieldset,
217
-            $aFieldset[ '_section_index' ],    // `_section_index` is defined in the ...FieldsetOutput class. Since this is a nested item, it should be already set.
217
+            $aFieldset[ '_section_index' ], // `_section_index` is defined in the ...FieldsetOutput class. Since this is a nested item, it should be already set.
218 218
             $_oCallerForm->aFieldTypeDefinitions
219 219
         );
220 220
         return $_oFieldsetOutputFormatter->get();
@@ -251,12 +251,12 @@  discard block
 block discarded – undo
251 251
         if ( empty( $aArguments ) ) {
252 252
             return '';
253 253
         }
254
-        if ( self::hasBeenCalled( 'disabled_repeatable_elements_modal_' . $sBoxElementID ) ) {
254
+        if ( self::hasBeenCalled( 'disabled_repeatable_elements_modal_'.$sBoxElementID ) ) {
255 255
             return '';
256 256
         }
257 257
         add_thickbox(); // to display a message to the user.
258 258
         return "<div id='{$sBoxElementID}' style='display:none'>"
259
-                . "<p>" . $aArguments[ 'message' ] . "</p>"
259
+                . "<p>".$aArguments[ 'message' ]."</p>"
260 260
             . "</div>";
261 261
 
262 262
     }
Please login to merge, or discard this patch.
form/_model/AdminPageFramework_Form_Model___FieldTypeRegistration.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
                 call_user_func_array( 
45 45
                     $aFieldTypeDefinition[ 'hfFieldSetTypeSetter' ], 
46 46
                     array( $sStructureType ) 
47
-               );
47
+                );
48 48
             }
49 49
             
50 50
             if ( is_callable( $aFieldTypeDefinition[ 'hfFieldLoader' ] ) ) {
Please login to merge, or discard this patch.
form/_model/formatter/AdminPageFramework_Form_Model___Format_EachField.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
      * Represents the structure of the sub-field definition array.
25 25
      */
26 26
     static public $aStructure = array(
27
-        '_is_sub_field'                 => false,   // @todo change this key name as all the parsed field is technically a sub-field.
28
-        '_index'                        => 0,       // indicates the field index
27
+        '_is_sub_field'                 => false, // @todo change this key name as all the parsed field is technically a sub-field.
28
+        '_index'                        => 0, // indicates the field index
29 29
         '_is_multiple_fields'           => false,
30 30
         '_saved_value'                  => null,
31 31
         '_is_value_set_by_user'         => false,
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
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
     /**
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 
88 88
         $_aField = $this->aField + self::$aStructure;
89 89
         
90
-        $_aField[ '_is_sub_field' ]            = is_numeric( $this->isIndex ) && 0 < $this->isIndex;      // 3.5.3+
90
+        $_aField[ '_is_sub_field' ]            = is_numeric( $this->isIndex ) && 0 < $this->isIndex; // 3.5.3+
91 91
         $_aField[ '_index' ]                   = $this->isIndex;
92 92
 
93 93
         // 'input_id' - something like ({section id}_){field_id}__{index} e.g. my_section_id_my_field_id__0
@@ -134,8 +134,8 @@  discard block
 block discarded – undo
134 134
                     'value'             => $_aField[ 'value' ],
135 135
                     'type'              => $_aField[ 'type' ], // text, password, etc.
136 136
                     'disabled'          => null,
137
-                    'data-id_model'     => $_aField[ '_input_id_model' ],    // 3.3.1+
138
-                    'data-name_model'   => $_aField[ '_input_name_model' ],  // 3.3.1+
137
+                    'data-id_model'     => $_aField[ '_input_id_model' ], // 3.3.1+
138
+                    'data-name_model'   => $_aField[ '_input_name_model' ], // 3.3.1+
139 139
                 )
140 140
             ),
141 141
             // this allows sub-fields with different field types to set the default key-values for the sub-field.
Please login to merge, or discard this patch.
_model/formatter/AdminPageFramework_Form_Model___Format_FieldsetOutput.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -33,23 +33,23 @@  discard block
 block discarded – undo
33 33
      * @internal
34 34
      */ 
35 35
     static public $aStructure = array(       
36
-        '_section_index'            => null,    // 3.0.0+ - internally set to indicate the section index for repeatable sections.        
36
+        '_section_index'            => null, // 3.0.0+ - internally set to indicate the section index for repeatable sections.        
37 37
         
38 38
         'tag_id'                    => null,
39
-        '_tag_id_model'             => '',      // 3.6.0+   
39
+        '_tag_id_model'             => '', // 3.6.0+   
40 40
         
41
-        '_field_name'               => '',      // 3.6.0+   
42
-        '_field_name_model'         => '',      // 3.6.0+           
41
+        '_field_name'               => '', // 3.6.0+   
42
+        '_field_name_model'         => '', // 3.6.0+           
43 43
         
44
-        '_field_name_flat'          => '',      // 3.6.0+
45
-        '_field_name_flat_model'    => '',      // 3.6.0+   
44
+        '_field_name_flat'          => '', // 3.6.0+
45
+        '_field_name_flat_model'    => '', // 3.6.0+   
46 46
                 
47
-        '_field_address'            => '',      // 3.6.0+
48
-        '_field_address_model'      => '',      // 3.6.0+
47
+        '_field_address'            => '', // 3.6.0+
48
+        '_field_address_model'      => '', // 3.6.0+
49 49
                
50
-        '_parent_field_object'      => null,    // 3.6.0+   Assigned when a field creates a nested field.
50
+        '_parent_field_object'      => null, // 3.6.0+   Assigned when a field creates a nested field.
51 51
         
52
-        '_parent_tag_id'            => null,    // 3.8.0+   Set outside the class.
52
+        '_parent_tag_id'            => null, // 3.8.0+   Set outside the class.
53 53
         
54 54
     );        
55 55
     
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $_aFieldset = $this->aFieldset + self::$aStructure;
93 93
 
94 94
         // The section index must be set before generating a field tag id as it uses a section index.
95
-        $_aFieldset[ '_section_index' ]   = $this->iSectionIndex;
95
+        $_aFieldset[ '_section_index' ] = $this->iSectionIndex;
96 96
         $_oFieldTagIDGenerator = new AdminPageFramework_Form_View___Generate_FieldTagID( 
97 97
             $_aFieldset,
98 98
             $_aFieldset[ '_caller_object' ]->aCallbacks[ 'hfTagID' ]
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         
127 127
         // 3.8.0+ Format nested fieldsets.
128 128
         if ( $this->hasFieldDefinitionsInContent( $_aFieldset ) ) {
129
-            foreach( $_aFieldset[ 'content' ] as &$_aNestedFieldset ) {
129
+            foreach ( $_aFieldset[ 'content' ] as &$_aNestedFieldset ) {
130 130
                 // The inline-mixed type has a string element.
131 131
                 if ( is_scalar( $_aNestedFieldset ) ) {
132 132
                     continue;
Please login to merge, or discard this patch.
factory/_common/utility/admin_notice/AdminPageFramework_AdminNotice.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public $sNotice     = '';    
47 47
     public $aAttributes = array();
48 48
     public $aCallbacks  = array(
49
-        'should_show'   => null,    // determines whether the admin notice should be displayed.
49
+        'should_show'   => null, // determines whether the admin notice should be displayed.
50 50
     );
51 51
     /**#@-*/     
52 52
      
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * </ul>
63 63
      * @since       3.5.0
64 64
      */
65
-    public function __construct( $sNotice, array $aAttributes=array( 'class' => 'error' ), array $aCallbacks=array() ) {
65
+    public function __construct( $sNotice, array $aAttributes = array( 'class' => 'error' ), array $aCallbacks = array() ) {
66 66
 
67 67
         $this->aAttributes            = $aAttributes + array(
68 68
             'class' => 'error', // 'updated' etc.
@@ -70,17 +70,17 @@  discard block
 block discarded – undo
70 70
         $this->aAttributes[ 'class' ] = $this->getClassAttribute(
71 71
             $this->aAttributes[ 'class' ],
72 72
             'admin-page-framework-settings-notice-message',
73
-            'admin-page-framework-settings-notice-container',   // Moved from `AdminPageFramework_Factory_View`.
73
+            'admin-page-framework-settings-notice-container', // Moved from `AdminPageFramework_Factory_View`.
74 74
             'notice',
75 75
             'is-dismissible'    // 3.5.12+
76 76
         );
77
-        $this->aCallbacks             = $aCallbacks + $this->aCallbacks;
77
+        $this->aCallbacks = $aCallbacks + $this->aCallbacks;
78 78
   
79 79
         // Load resources.
80 80
         new AdminPageFramework_AdminNotice___Script;
81 81
         
82 82
         // An empty value may be set in oreder only to laode the fade-in script.
83
-        if ( ! $sNotice ) {
83
+        if ( !$sNotice ) {
84 84
             return;
85 85
         }
86 86
         
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
          */
109 109
         public function _replyToDisplayAdminNotice() {
110 110
             
111
-            if ( ! $this->_shouldProceed() ) {
111
+            if ( !$this->_shouldProceed() ) {
112 112
                 return;
113 113
             }
114 114
             
@@ -119,14 +119,14 @@  discard block
 block discarded – undo
119 119
                 'display: none' 
120 120
             );
121 121
             
122
-            echo "<div " . $this->getAttributes( $_aAttributes ) . ">"
122
+            echo "<div ".$this->getAttributes( $_aAttributes ).">"
123 123
                     . "<p>"
124 124
                         . self::$_aNotices[ $this->sNotice ]
125 125
                     . "</p>"
126 126
                 . "</div>"
127 127
                 // Insert the same message except it is not hidden.
128 128
                 . "<noscript>"
129
-                    . "<div " . $this->getAttributes( $this->aAttributes ) . ">"
129
+                    . "<div ".$this->getAttributes( $this->aAttributes ).">"
130 130
                         . "<p>" 
131 131
                             . self::$_aNotices[ $this->sNotice ]
132 132
                         . "</p>"
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
              */
145 145
             private function _shouldProceed() {
146 146
                 
147
-                if ( ! is_callable( $this->aCallbacks[ 'should_show' ] ) ) {
147
+                if ( !is_callable( $this->aCallbacks[ 'should_show' ] ) ) {
148 148
                     return true;
149 149
                 }
150 150
                 return call_user_func_array(
Please login to merge, or discard this patch.
development/factory/admin_page/AdminPageFramework_View_Form.php 1 patch
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function _replyToGetSectionName( /* $sAttribute, $aSectionset */ ) {
30 30
 
31
-        $_aParams            = func_get_args() + array( null, null, );
31
+        $_aParams            = func_get_args() + array( null, null,);
32 32
         $sNameAttribute      = $_aParams[ 0 ];
33 33
         $aSectionset         = $_aParams[ 1 ];        
34 34
         $_aSectionPath       = $aSectionset[ '_section_path_array' ];
35 35
         $_aDimensionalKeys   = array( $this->oProp->sOptionKey );   
36
-        foreach( $_aSectionPath as $_sDimension ) {
37
-            $_aDimensionalKeys[] = '[' . $_sDimension . ']';
36
+        foreach ( $_aSectionPath as $_sDimension ) {
37
+            $_aDimensionalKeys[ ] = '['.$_sDimension.']';
38 38
         }
39 39
         
40 40
         if ( isset( $aSectionset[ '_index' ] ) ) {
41
-            $_aDimensionalKeys[] = '[' . $aSectionset[ '_index' ] . ']';
41
+            $_aDimensionalKeys[ ] = '['.$aSectionset[ '_index' ].']';
42 42
         }
43 43
         
44 44
         return implode( '', $_aDimensionalKeys );
@@ -51,25 +51,25 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function _replyToGetFieldNameAttribute( /* $sAttribute, $aFieldset */ ) {
53 53
         
54
-        $_aParams           = func_get_args() + array( null, null,  );
54
+        $_aParams           = func_get_args() + array( null, null,);
55 55
         $sNameAttribute     = $_aParams[ 0 ];
56 56
         $aFieldset          = $_aParams[ 1 ];
57 57
         $_aDimensionalKeys  = array( 
58 58
             $this->oProp->sOptionKey    // Use `$this->oProp->sOptionKey` instead of `$aFieldset[ 'option_key' ]` which is not set for nested items.
59 59
         );        
60 60
         if ( $this->isSectionSet( $aFieldset ) ) {
61
-            $_aSectionPath       = $aFieldset[ '_section_path_array' ];
62
-            foreach( $_aSectionPath as $_sDimension ) {
63
-                $_aDimensionalKeys[] = '[' . $_sDimension . ']';
61
+            $_aSectionPath = $aFieldset[ '_section_path_array' ];
62
+            foreach ( $_aSectionPath as $_sDimension ) {
63
+                $_aDimensionalKeys[ ] = '['.$_sDimension.']';
64 64
             }
65 65
             if ( isset( $aFieldset[ '_section_index' ] ) ) {
66
-                $_aDimensionalKeys[] = '[' . $aFieldset[ '_section_index' ] . ']';
66
+                $_aDimensionalKeys[ ] = '['.$aFieldset[ '_section_index' ].']';
67 67
             }
68 68
         }
69 69
         
70 70
         // 3.8.0+ Support for nested fields.
71
-        foreach( $aFieldset[ '_field_path_array' ] as $_sPathPart ) {
72
-            $_aDimensionalKeys[] = '[' . $_sPathPart . ']';
71
+        foreach ( $aFieldset[ '_field_path_array' ] as $_sPathPart ) {
72
+            $_aDimensionalKeys[ ] = '['.$_sPathPart.']';
73 73
         }
74 74
 
75 75
         return implode( '', $_aDimensionalKeys );
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function _replyToGetFlatFieldName( /* $sAttribute, $aFieldset */ ) {
84 84
 
85
-        $_aParams           = func_get_args() + array( null, null,  );
85
+        $_aParams           = func_get_args() + array( null, null,);
86 86
         $sNameAttribute     = $_aParams[ 0 ];
87 87
         $aFieldset          = $_aParams[ 1 ];        
88 88
         
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
             $this->oProp->sOptionKey    // Use `$this->oProp->sOptionKey` instead of `$aFieldset[ 'option_key' ]` which is not set for nested items.
91 91
         );
92 92
         if ( $this->isSectionSet( $aFieldset ) ) {
93
-            foreach( $aFieldset[ '_section_path_array' ] as $_sDimension ) {
94
-                $_aDimensionalKeys[] = $_sDimension; // $aFieldset[ 'section_id' ];
93
+            foreach ( $aFieldset[ '_section_path_array' ] as $_sDimension ) {
94
+                $_aDimensionalKeys[ ] = $_sDimension; // $aFieldset[ 'section_id' ];
95 95
             }
96 96
             if ( isset( $aFieldset[ '_section_index' ] ) ) {
97
-                $_aDimensionalKeys[] = $aFieldset[ '_section_index' ];    
97
+                $_aDimensionalKeys[ ] = $aFieldset[ '_section_index' ];    
98 98
             }
99 99
         }
100 100
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
             "[{$sKey}]"
124 124
         );   
125 125
         
126
-        return $this->_replyToGetFieldNameAttribute( '', $aField ) . $sKey;
126
+        return $this->_replyToGetFieldNameAttribute( '', $aField ).$sKey;
127 127
         
128 128
     }
129 129
     /**
@@ -141,10 +141,10 @@  discard block
 block discarded – undo
141 141
         $_sKey              = $this->oUtil->getAOrB(
142 142
             '0' !== $_sKey && empty( $_sKey ),
143 143
             '',
144
-            "|" . $_sKey
144
+            "|".$_sKey
145 145
         );        
146 146
         
147
-        return $this->_replyToGetFlatFieldName( '', $aField ) . $_sKey;
147
+        return $this->_replyToGetFlatFieldName( '', $aField ).$_sKey;
148 148
 
149 149
     }
150 150
             
Please login to merge, or discard this patch.