/** * Escape a string with the database specified escape function * * Safeguards against sql injection. * * @author Schmalls / Joshua Thompson <*****@*****.**> * @version 0.0.0 * @since 0.0.0 * @access public * @param string $string the string to escape * @return string the escaped string */ public function escapeString($string) { // return the escaped string return $this->_db->qstr($string, $this->_magic_quotes); }