@@ -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 | } |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | 'Name' => $info->getRealPath(), |
| 59 | 59 | 'Type' => $info->getType(), |
| 60 | 60 | ]; |
| 61 | - $aDetails = array_merge($aFileBasicDetails, $this->getFileDetailsRawStatistic($info, $fileGiven)); |
|
| 61 | + $aDetails = array_merge($aFileBasicDetails, $this->getFileDetailsRawStatistic($info, $fileGiven)); |
|
| 62 | 62 | ksort($aDetails); |
| 63 | 63 | return $aDetails; |
| 64 | 64 | } |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | */ |
| 215 | 215 | protected function setJsonErrorInPlainEnglish() |
| 216 | 216 | { |
| 217 | - $knownErrors = [ |
|
| 217 | + $knownErrors = [ |
|
| 218 | 218 | JSON_ERROR_NONE => null, |
| 219 | 219 | JSON_ERROR_DEPTH => 'Maximum stack depth exceeded', |
| 220 | 220 | JSON_ERROR_STATE_MISMATCH => 'Underflow or the modes mismatch', |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | 'highcharts' => 'setJavascriptFileCDNforHighCharts', |
| 134 | 134 | 'exporting' => 'setJavascriptFileCDNforHighChartsExporting', |
| 135 | 135 | ]; |
| 136 | - $rootFN = pathinfo($sFileParts[0])['basename']; |
|
| 136 | + $rootFN = pathinfo($sFileParts[0])['basename']; |
|
| 137 | 137 | if (array_key_exists($rootFN, $knownFNs)) { |
| 138 | 138 | return call_user_func([$this, $knownFNs[$rootFN]], pathinfo($jsFileName)['basename']); |
| 139 | 139 | } |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | |
| 215 | 215 | private function getFieldOutputNumericNonFK($fkArray, $value, $iar = []) |
| 216 | 216 | { |
| 217 | - $query = $this->sQueryGenericSelectKeyValue([ |
|
| 217 | + $query = $this->sQueryGenericSelectKeyValue([ |
|
| 218 | 218 | $fkArray[$value['COLUMN_NAME']][1], |
| 219 | 219 | $fkArray[$value['COLUMN_NAME']][2], |
| 220 | 220 | $fkArray[$value['COLUMN_NAME']][0], |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | |
| 255 | 255 | private function getFieldOutputTextFK($foreignKeysArray, $value, $iar) |
| 256 | 256 | { |
| 257 | - $query = $this->sQueryGenericSelectKeyValue([ |
|
| 257 | + $query = $this->sQueryGenericSelectKeyValue([ |
|
| 258 | 258 | $foreignKeysArray[$value['COLUMN_NAME']][1], |
| 259 | 259 | $foreignKeysArray[$value['COLUMN_NAME']][2], |
| 260 | 260 | $foreignKeysArray[$value['COLUMN_NAME']][0] |
@@ -541,7 +541,7 @@ discard block |
||
| 541 | 541 | |
| 542 | 542 | private function handleFeaturesSingle($fieldName, $features, $featureKey) |
| 543 | 543 | { |
| 544 | - $fMap = [ |
|
| 544 | + $fMap = [ |
|
| 545 | 545 | 'readonly' => ['readonly', 'class', 'input_readonly'], |
| 546 | 546 | 'disabled' => ['disabled'] |
| 547 | 547 | ]; |
@@ -567,7 +567,7 @@ discard block |
||
| 567 | 567 | |
| 568 | 568 | private function stFldLmtsExact($colType) |
| 569 | 569 | { |
| 570 | - $xct = [ |
|
| 570 | + $xct = [ |
|
| 571 | 571 | 'bigint' => ['l' => -9223372036854775808, 'L' => 999999999999, 's' => 21, 'sUS' => 20], |
| 572 | 572 | 'int' => ['l' => -2147483648, 'L' => 2147483647, 's' => 11, 'sUS' => 10], |
| 573 | 573 | 'mediumint' => ['l' => -8388608, 'L' => 8388607, 's' => 9, 'sUS' => 8], |
@@ -635,7 +635,7 @@ discard block |
||
| 635 | 635 | case 'array_numbered': |
| 636 | 636 | case 'array_pairs_key_value': |
| 637 | 637 | case 'full_array_key_numbered': |
| 638 | - $aReturn = $this->setMySQLquery2ServerByPattern([ |
|
| 638 | + $aReturn = $this->setMySQLquery2ServerByPattern([ |
|
| 639 | 639 | 'NoOfColumns' => $result->field_count, |
| 640 | 640 | 'NoOfRows' => $result->num_rows, |
| 641 | 641 | 'QueryResult' => $result, |
@@ -645,7 +645,7 @@ discard block |
||
| 645 | 645 | break; |
| 646 | 646 | case 'full_array_key_numbered_with_record_number_prefix': |
| 647 | 647 | case 'full_array_key_numbered_with_prefix': |
| 648 | - $aReturn = $this->setMySQLquery2ServerByPattern([ |
|
| 648 | + $aReturn = $this->setMySQLquery2ServerByPattern([ |
|
| 649 | 649 | 'NoOfColumns' => $result->field_count, |
| 650 | 650 | 'NoOfRows' => $result->num_rows, |
| 651 | 651 | 'QueryResult' => $result, |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * returns a list of MySQL databases |
| 74 | 74 | * |
| 75 | - * @return array |
|
| 75 | + * @return string |
|
| 76 | 76 | */ |
| 77 | 77 | protected function getMySQLactiveDatabases() |
| 78 | 78 | { |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | /** |
| 83 | 83 | * returns a list of active MySQL engines |
| 84 | 84 | * |
| 85 | - * @return array |
|
| 85 | + * @return string |
|
| 86 | 86 | */ |
| 87 | 87 | protected function getMySQLactiveEngines() |
| 88 | 88 | { |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | /** |
| 111 | 111 | * returns the list of all MySQL global variables |
| 112 | 112 | * |
| 113 | - * @return array |
|
| 113 | + * @return string |
|
| 114 | 114 | */ |
| 115 | 115 | protected function getMySQLglobalVariables() |
| 116 | 116 | { |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | /** |
| 121 | 121 | * returns a list of MySQL indexes (w. choice of to choose any combination of db/table/column) |
| 122 | 122 | * |
| 123 | - * @return array |
|
| 123 | + * @return string |
|
| 124 | 124 | */ |
| 125 | 125 | protected function getMySQLlistColumns($filterArray = null) |
| 126 | 126 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | /** |
| 131 | 131 | * returns a list of MySQL databases (w. choice of exclude/include the system ones) |
| 132 | 132 | * |
| 133 | - * @return array |
|
| 133 | + * @return string |
|
| 134 | 134 | */ |
| 135 | 135 | protected function getMySQLlistDatabases($excludeSystemDbs = true) |
| 136 | 136 | { |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | /** |
| 141 | 141 | * returns a list of MySQL engines (w. choice of return only the active ones) |
| 142 | 142 | * |
| 143 | - * @return array |
|
| 143 | + * @return string |
|
| 144 | 144 | */ |
| 145 | 145 | protected function getMySQLlistEngines($onlyActiveOnes = true) |
| 146 | 146 | { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | /** |
| 151 | 151 | * returns a list of MySQL indexes (w. choice of to choose any combination of db/table/column) |
| 152 | 152 | * |
| 153 | - * @return array |
|
| 153 | + * @return string |
|
| 154 | 154 | */ |
| 155 | 155 | protected function getMySQLlistIndexes($filterArray = null) |
| 156 | 156 | { |
@@ -160,6 +160,8 @@ discard block |
||
| 160 | 160 | /** |
| 161 | 161 | * Return various informations (from predefined list) from the MySQL server |
| 162 | 162 | * |
| 163 | + * @param string $returnChoice |
|
| 164 | + * @param string $returnType |
|
| 163 | 165 | * @return string |
| 164 | 166 | */ |
| 165 | 167 | private function getMySQLlistMultiple($returnChoice, $returnType, $additionalFeatures = null) |
@@ -513,7 +515,7 @@ discard block |
||
| 513 | 515 | * |
| 514 | 516 | * @param array $entryArray |
| 515 | 517 | * @param string $referenceTable |
| 516 | - * @return array |
|
| 518 | + * @return string |
|
| 517 | 519 | */ |
| 518 | 520 | private function setArrayToFilterValues($entryArray, $referenceTable = '') |
| 519 | 521 | { |