/** * @ignore */ private function constructWhere(array $uArray, $uIsList = false) { $tOutput = '('; $tPreviousElement = null; foreach ($uArray as $tElement) { if (is_array($tElement)) { $tOutput .= $this->constructWhere($tElement, $tPreviousElement === _IN || $tPreviousElement === _NOTIN); continue; } if ($uIsList) { if ($tPreviousElement !== null) { $tOutput .= ', ' . String::squote($tElement, true); } else { $tOutput .= String::squote($tElement, true); } } else { $tOutput .= $tElement; } $tPreviousElement = $tElement; } $tOutput .= ')'; return $tOutput; }
echo $class; ?> "> <div> <div class="measure"><?php echo String::timeCalc($log['consumedTime']); ?> </div> <div><?php echo $log['message']; ?> </div> <div><em><?php $tReplaces = array(); foreach ($log['parameters'] as $tKey => $tVal) { $tReplaces[':' . $tKey] = String::squote($tVal, true); } echo strtr($log['query'], $tReplaces); ?> </em></div> <?php print_r($log['parameters']); ?> </div> <?php if (isset($log['explain'])) { ?> <?php foreach ($log['explain'] as $tRow) { ?> <div class="explain">