public function escape($str = null, $double_quotes = false)
    {
        if (empty($this->__adapter)) self::_loadAdapter();
        return $this->__adapter->escape($str);
    }
public function escape($str = null, $double_quotes = false)
    {
        if (empty($this->__adapter)) self::_loadAdapter();
        return $this->__adapter->escape($str);
    }
public function escape ( $ str = null , $ double_quotes = false ) { if ( empty ( $ this -> __adapter ) ) self :: _loadAdapter ( ) ; return $ this -> __adapter -> escape ( $ str ) ; }
Escape a string using the internal PHP adapter function

@param string $str The string to escape
@param bool $double_quotes If true, the double-quotes will be doubled for escaping
@return string The escaped string
Escape a string using the internal PHP adapter function