public function quote($value) { if (!is_numeric($value)) $value = "'".$this->escape_string($value)."'"; return $value; }