function check_webdav() {
        $resp = $this->options();
        if (!$resp) {
            return false;
        }
        $this->_error_log($resp['header']['DAV']);
        // check schema
        if (preg_match('/1,2/', $resp['header']['DAV'])) {
            return true;
        }
        // otherwise return false
        return false;
    }
function check_webdav() {
        $resp = $this->options();
        if (!$resp) {
            return false;
        }
        $this->_error_log($resp['header']['DAV']);
        // check schema
        if (preg_match('/1,2/', $resp['header']['DAV'])) {
            return true;
        }
        // otherwise return false
        return false;
    }
function check_webdav ( ) { $ resp = $ this -> options ( ) ; if ( ! $ resp ) { return false ; } $ this -> _error_log ( $ resp [ 'header' ] [ 'DAV' ] ) ; // check schema if ( preg_match ( '/1,2/' , $ resp [ 'header' ] [ 'DAV' ] ) ) { return true ; } // otherwise return false return false ; }
Check's if server is a webdav compliant server.
True if server returns a DAV Element in Header and when
schema 1,2 is supported.
@return bool true if server is webdav server. Otherwise false.
Check s if server is a webdav compliant server . True if server returns a DAV Element in Header and when schema 1 2 is supported .