public quoteValue ( string $value ) : string | ||
$value | string | string to be quoted |
return | string | the properly quoted string |
public function quoteValue($value)
{
return $this->getSchema()->quoteValue($value);
}
/** * @deprecated this is broken by design, should use parameters instead * @param string $str * @return string */ public function escapeSimple($str) { $str = $this->connection->quoteValue($str); if ($str[0] == "'") { return substr($str, 1, -1); } return $str; }