@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | if ($iar !== []) { |
82 | 82 | $inAdtnl = array_merge($inAdtnl, $iar); |
83 | 83 | } |
84 | - return '<b>' . $this->getFieldValue($value) . '</b>' . $this->setStringIntoShortTag('input', $inAdtnl); |
|
84 | + return '<b>'.$this->getFieldValue($value).'</b>'.$this->setStringIntoShortTag('input', $inAdtnl); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -94,8 +94,8 @@ discard block |
||
94 | 94 | */ |
95 | 95 | private function getFieldOutputNumericNonFK($fkArray, $value, $iar = []) |
96 | 96 | { |
97 | - $query = $this->sQueryGenericSelectKeyValue([ |
|
98 | - '`' . $value['COLUMN_NAME'] . '`', |
|
97 | + $query = $this->sQueryGenericSelectKeyValue([ |
|
98 | + '`'.$value['COLUMN_NAME'].'`', |
|
99 | 99 | $fkArray[$value['COLUMN_NAME']][2], |
100 | 100 | $fkArray[$value['COLUMN_NAME']][0], |
101 | 101 | ]); |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | if ($val[$cnm[0]] == $oCol) { |
152 | 152 | $vlQ = array_merge($val, ['LIMIT' => 2]); |
153 | 153 | $tFd = $this->setMySQLquery2Server($this->getForeignKeysQuery($vlQ), $cnm[1])['result']; |
154 | - $tgtFld = '`' . ($tFd[0][$cnm[0]] == $val[$cnm[0]] ? $tFd[1][$cnm[0]] : $tFd[0][$cnm[0]]) . '`'; |
|
154 | + $tgtFld = '`'.($tFd[0][$cnm[0]] == $val[$cnm[0]] ? $tFd[1][$cnm[0]] : $tFd[0][$cnm[0]]).'`'; |
|
155 | 155 | $aRt[$oCol] = [$this->glueDbTb($val[$cnm[2]], $val[$cnm[3]]), $val[$cnm[2]], $tgtFld]; |
156 | 156 | } |
157 | 157 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | } |
60 | 60 | $vlSlct = explode(',', $this->getFieldValue($val)); |
61 | 61 | $slctOptns = $this->getSetOrEnum2Array($tblSrc, $val['COLUMN_NAME']); |
62 | - return $this->setArrayToSelect($slctOptns, $vlSlct, $val['COLUMN_NAME'] . $adnlThings['suffix'], $inAdtnl); |
|
62 | + return $this->setArrayToSelect($slctOptns, $vlSlct, $val['COLUMN_NAME'].$adnlThings['suffix'], $inAdtnl); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | $inM = $this->setStringIntoTag($mCN[$dtl['COLUMN_NAME']], 'span', ['style' => 'font-style:italic;']); |
191 | 191 | } |
192 | 192 | } |
193 | - $lbl = '<span class="fake_label">' . $this->getFieldNameForDisplay($dtl) . '</span>'; |
|
193 | + $lbl = '<span class="fake_label">'.$this->getFieldNameForDisplay($dtl).'</span>'; |
|
194 | 194 | return ['label' => $lbl, 'input' => $inM]; |
195 | 195 | } |
196 | 196 | |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | } elseif (in_array($dtls['DATA_TYPE'], ['date', 'datetime', 'time', 'timestamp', 'year'])) { |
207 | 207 | $sReturn = $this->setNeededFieldSingleType($tblName, $dtls, $iar); |
208 | 208 | } |
209 | - return $this->getFieldCompletionType($dtls) . $sReturn; |
|
209 | + return $this->getFieldCompletionType($dtls).$sReturn; |
|
210 | 210 | } |
211 | 211 | |
212 | 212 | private function setNeededFieldSingleType($tblName, $dtls, $iar) |