public quoteString ( $str ) : string | ||
return | string | the properly quoted string |
public function quoteString($str)
{
if ($this->getActive()) {
return $this->_pdo->quote($str);
} else {
throw new TDbException('dbconnection_connection_inactive');
}
}