1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-26 07:24:25 +02:00

- added dibi::setSubstFallBack()

- added DibiFluent::fetch()
This commit is contained in:
David Grudl
2008-06-08 12:44:44 +00:00
parent c23bf15a3d
commit 4e41f1641e
4 changed files with 93 additions and 10 deletions

View File

@@ -450,10 +450,7 @@ final class DibiTranslator extends /*Nette::*/Object
*/
private function delimite($value)
{
if (strpos($value, ':') !== FALSE) {
$value = strtr($value, dibi::getSubst());
}
return $this->driver->escape($value, dibi::IDENTIFIER);
return $this->driver->escape(dibi::substitute($value), dibi::IDENTIFIER);
}