mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 21:28:02 +02:00
typos
This commit is contained in:
@@ -118,7 +118,7 @@ class DibiConnection extends DibiObject
|
|||||||
$this->onEvent[] = array(new DibiFirePhpLogger($filter), 'logEvent');
|
$this->onEvent[] = array(new DibiFirePhpLogger($filter), 'logEvent');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (class_exists('DibiNettePanel')) {
|
if (class_exists('DibiNettePanel', FALSE)) {
|
||||||
$panel = new DibiNettePanel(isset($profilerCfg['explain']) ? $profilerCfg['explain'] : TRUE, $filter);
|
$panel = new DibiNettePanel(isset($profilerCfg['explain']) ? $profilerCfg['explain'] : TRUE, $filter);
|
||||||
$panel->register($this);
|
$panel->register($this);
|
||||||
}
|
}
|
||||||
|
@@ -287,11 +287,11 @@ class DibiDataSource extends DibiObject implements IDataSource
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
return $this->connection->translate('
|
return $this->connection->translate('
|
||||||
SELECT %n', (empty($this->cols) ? '*' : $this->cols), '
|
SELECT %n', (empty($this->cols) ? '*' : $this->cols), '
|
||||||
FROM %SQL', $this->sql, '
|
FROM %SQL', $this->sql, '
|
||||||
%ex', $this->conds ? array('WHERE %and', $this->conds) : NULL, '
|
%ex', $this->conds ? array('WHERE %and', $this->conds) : NULL, '
|
||||||
%ex', $this->sorting ? array('ORDER BY %by', $this->sorting) : NULL, '
|
%ex', $this->sorting ? array('ORDER BY %by', $this->sorting) : NULL, '
|
||||||
%ofs %lmt', $this->offset, $this->limit
|
%ofs %lmt', $this->offset, $this->limit
|
||||||
);
|
);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
trigger_error($e->getMessage(), E_USER_ERROR);
|
trigger_error($e->getMessage(), E_USER_ERROR);
|
||||||
|
Reference in New Issue
Block a user