quote_string() public method

Escape a string for mysql
public quote_string ( string $string ) : string
$string string the string
return string
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);
 }