public function escape($string) { if (is_object($string)) { throw new Exception("Unable to bind objects, only scalars supported"); } return is_null($string) ? $string : $this->_link->escape_string($string); }