Ruckusing_Adapter_PgSQL_Base::quote_string PHP Method

quote_string() public method

Escape a string for mysql
public quote_string ( string $string ) : string
$string string the string
return string
    public function quote_string($string)
    {
        return pg_escape_string($string);
    }

Usage Example

Beispiel #1
0
 /**
  * Quote a string
  *
  * @param string $str the string to quote
  *
  * @return string
  */
 public function quote_string($str)
 {
     return $this->_adapter->quote_string($str);
 }