Ruckusing_Adapter_PgSQL_Base::quote_string PHP 메소드

quote_string() 공개 메소드

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

Usage Example

예제 #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);
 }