@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | curl_setopt($chanel, CURLOPT_FAILONERROR, true); |
195 | 195 | $rspJsonFromClient = curl_exec($chanel); |
196 | 196 | if (curl_errno($chanel)) { |
197 | - $aReturn['info'] = $this->setArrayToJson([ |
|
197 | + $aReturn['info'] = $this->setArrayToJson([ |
|
198 | 198 | '#' => curl_errno($chanel), |
199 | 199 | 'description' => curl_error($chanel) |
200 | 200 | ]); |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | ->ignoreUnreadableDirs(true) |
478 | 478 | ->followLinks() |
479 | 479 | ->in($sourcePath); |
480 | - $sFiles = []; |
|
480 | + $sFiles = []; |
|
481 | 481 | foreach ($iterator as $file) { |
482 | 482 | $relativePathFile = str_replace($sourcePath, '', $file->getRealPath()); |
483 | 483 | if (!file_exists($targetPath . $relativePathFile)) { |
@@ -517,7 +517,7 @@ discard block |
||
517 | 517 | ->ignoreUnreadableDirs(true) |
518 | 518 | ->followLinks() |
519 | 519 | ->in($inputArray['path']); |
520 | - $aFiles = null; |
|
520 | + $aFiles = null; |
|
521 | 521 | foreach ($iterator as $file) { |
522 | 522 | if ($file->getATime() < strtotime($inputArray['dateRule'])) { |
523 | 523 | $aFiles[] = $file->getRealPath(); |
@@ -660,7 +660,7 @@ discard block |
||
660 | 660 | */ |
661 | 661 | private function setJsonErrorInPlainEnglish() |
662 | 662 | { |
663 | - $knownErrors = [ |
|
663 | + $knownErrors = [ |
|
664 | 664 | JSON_ERROR_NONE => null, |
665 | 665 | JSON_ERROR_DEPTH => 'Maximum stack depth exceeded', |
666 | 666 | JSON_ERROR_STATE_MISMATCH => 'Underflow or the modes mismatch', |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | */ |
359 | 359 | protected function getRowDataFromTable($tableName, $filtersArray) |
360 | 360 | { |
361 | - $query = $this->sQueryRowsFromTable([ |
|
361 | + $query = $this->sQueryRowsFromTable([ |
|
362 | 362 | $tableName, |
363 | 363 | $this->setArrayToFilterValues($filtersArray), |
364 | 364 | ]); |
@@ -720,7 +720,7 @@ discard block |
||
720 | 720 | case 'array_numbered': |
721 | 721 | case 'array_pairs_key_value': |
722 | 722 | case 'full_array_key_numbered': |
723 | - $aReturn = $this->setMySQLquery2ServerByPattern([ |
|
723 | + $aReturn = $this->setMySQLquery2ServerByPattern([ |
|
724 | 724 | 'NoOfColumns' => $result->field_count, |
725 | 725 | 'NoOfRows' => $result->num_rows, |
726 | 726 | 'QueryResult' => $result, |
@@ -730,7 +730,7 @@ discard block |
||
730 | 730 | break; |
731 | 731 | case 'full_array_key_numbered_with_record_number_prefix': |
732 | 732 | case 'full_array_key_numbered_with_prefix': |
733 | - $aReturn = $this->setMySQLquery2ServerByPattern([ |
|
733 | + $aReturn = $this->setMySQLquery2ServerByPattern([ |
|
734 | 734 | 'NoOfColumns' => $result->field_count, |
735 | 735 | 'NoOfRows' => $result->num_rows, |
736 | 736 | 'QueryResult' => $result, |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | . $aElements[$rCntr][$value] . '"/>'; |
412 | 412 | break; |
413 | 413 | case 'edit': |
414 | - $edt = ''; |
|
414 | + $edt = ''; |
|
415 | 415 | if (isset($ftrs['NoAjaxEditing'])) { |
416 | 416 | $edt .= $_SERVER['PHP_SELF'] . '?' . $actPrfx |
417 | 417 | . $action_key . '=' . $value[0] . '&'; |
@@ -479,7 +479,7 @@ discard block |
||
479 | 479 | switch ($value[1]) { |
480 | 480 | case '/': |
481 | 481 | // next variable is only to avoid a long line |
482 | - $shorter = [ |
|
482 | + $shorter = [ |
|
483 | 483 | $aElements[$rCntr][$value[3]], |
484 | 484 | $aElements[$rCntr][$value[4]], |
485 | 485 | ]; |
@@ -487,7 +487,7 @@ discard block |
||
487 | 487 | break; |
488 | 488 | case '+': |
489 | 489 | // next variable is only to avoid a long line |
490 | - $iTemp = $this->setArrayValuesAsKey([ |
|
490 | + $iTemp = $this->setArrayValuesAsKey([ |
|
491 | 491 | $value[0], |
492 | 492 | $value[1], |
493 | 493 | $value[2] |
@@ -846,7 +846,7 @@ discard block |
||
846 | 846 | . filter_var($value, FILTER_SANITIZE_STRING) . '">'; |
847 | 847 | break; |
848 | 848 | case 'title': |
849 | - $aFeatures[] = '<title>' |
|
849 | + $aFeatures[] = '<title>' |
|
850 | 850 | . filter_var($value, FILTER_SANITIZE_STRING) . '</title>'; |
851 | 851 | break; |
852 | 852 | } |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | } |
167 | 167 | $input = $this->setStringIntoShortTag('input', $inAdtnl); |
168 | 168 | } else { |
169 | - $query = $this->sQueryGenericSelectKeyValue([ |
|
169 | + $query = $this->sQueryGenericSelectKeyValue([ |
|
170 | 170 | $foreign_keys_array[$value['COLUMN_NAME']][1], |
171 | 171 | $foreign_keys_array[$value['COLUMN_NAME']][2], |
172 | 172 | $foreign_keys_array[$value['COLUMN_NAME']][0] |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | } |
214 | 214 | } |
215 | 215 | if (isset($foreignKeysArray)) { |
216 | - $query = $this->storedQuery('generic_select_key_value', [ |
|
216 | + $query = $this->storedQuery('generic_select_key_value', [ |
|
217 | 217 | $foreignKeysArray[$value['COLUMN_NAME']][1], |
218 | 218 | $foreignKeysArray[$value['COLUMN_NAME']][2], |
219 | 219 | $foreignKeysArray[$value['COLUMN_NAME']][0] |
@@ -225,14 +225,14 @@ discard block |
||
225 | 225 | if (!is_null($iar)) { |
226 | 226 | $inAdtnl = array_merge($inAdtnl, $iar); |
227 | 227 | } |
228 | - $slct = [ |
|
228 | + $slct = [ |
|
229 | 229 | 'Options' => $this->setQuery2Server($query, 'array_key_value'), |
230 | 230 | 'Value' => $this->getFieldValue($value), |
231 | 231 | ]; |
232 | 232 | $input = $this->setArrayToSelect($slct['Options'], $slct['Value'], $value['COLUMN_NAME'], $inAdtnl); |
233 | 233 | unset($foreignKeysArray); |
234 | 234 | } else { |
235 | - $fldNos = $this->setFieldNumbers($value); |
|
235 | + $fldNos = $this->setFieldNumbers($value); |
|
236 | 236 | $inAdtnl = [ |
237 | 237 | 'type' => ($value['COLUMN_NAME'] == 'password' ? 'password' : 'text'), |
238 | 238 | 'name' => $value['COLUMN_NAME'], |
@@ -418,7 +418,7 @@ discard block |
||
418 | 418 | if (isset($this->advCache['tableFKs'][$database][$tblName])) { |
419 | 419 | foreach ($this->advCache['tableFKs'][$database][$tblName] as $value) { |
420 | 420 | if ($value['COLUMN_NAME'] == $onlyCol) { |
421 | - $query = $this->sQueryMySqlColumns([ |
|
421 | + $query = $this->sQueryMySqlColumns([ |
|
422 | 422 | 'TABLE_SCHEMA' => $value['REFERENCED_TABLE_SCHEMA'], |
423 | 423 | 'TABLE_NAME' => $value['REFERENCED_TABLE_NAME'], |
424 | 424 | 'DATA_TYPE' => [ |
@@ -558,7 +558,7 @@ discard block |
||
558 | 558 | $sReturn[] = $this->setNeededField($tblSrc, $value, $feat); |
559 | 559 | } |
560 | 560 | } |
561 | - $btn[] = $this->setStringIntoShortTag('input', [ |
|
561 | + $btn[] = $this->setStringIntoShortTag('input', [ |
|
562 | 562 | 'type' => 'submit', |
563 | 563 | 'id' => 'submit', |
564 | 564 | 'style' => 'margin-left:220px;', |
@@ -591,7 +591,7 @@ discard block |
||
591 | 591 | 'id' => $key, |
592 | 592 | 'value' => $value, |
593 | 593 | ]); |
594 | - $sReturn[] = $this->setStringIntoTag($hiddenInput, 'div'); |
|
594 | + $sReturn[] = $this->setStringIntoTag($hiddenInput, 'div'); |
|
595 | 595 | } |
596 | 596 | } |
597 | 597 | } |