src/Budkit/Datastore/Drivers/MySQLi/Driver.php
final public function getEscaped($text, $extra = false)
    {
        $result = mysqli_real_escape_string($this->resourceId, $text);
        if ($extra) {
            $result = addcslashes($result, '%_');
        }
        return $result;
    }
final public function getEscaped($text, $extra = false)
    {
        $result = mysqli_real_escape_string($this->resourceId, $text);
        if ($extra) {
            $result = addcslashes($result, '%_');
        }
        return $result;
    }
final public function getEscaped ( $ text , $ extra = false ) { $ result = mysqli_real_escape_string ( $ this -> resourceId , $ text ) ; if ( $ extra ) { $ result = addcslashes ( $ result , '%_' ) ; } return $ result ; }
Get a database escaped string

@param    string    The string to be escaped
@param    boolean    Optional parameter to provide extra escaping
@return    string
@access    public
@abstract
Get a database escaped string