00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00021 final class MyImprovedDialect extends MyDialect
00022 {
00026 public static function me($link = null)
00027 {
00028 return Singleton::getInstance(__CLASS__, $link);
00029 }
00030
00031 public static function quoteValue($value)
00032 {
00034
00035 if ($value instanceof Identifier && !$value->isFinalized())
00036 return "''";
00037
00038 if (Assert::checkInteger($value))
00039 return $value;
00040
00041 return
00042 "'"
00043 .mysqli_real_escape_string(
00044
00045 DBPool::me()->getLink()->getLink(),
00046 $value
00047 )
00048 ."'";
00049 }
00050 }
00051 ?>