WebDAVClient::is_collection PHP Method

is_collection() private method

private is_collection ( $path )
    private function is_collection($path)
    {
        $resources = $this->list_propfind_resources($this->get_resources_document($path, 0));
        // file_put_contents(dirname(__FILE__).'/../../cache/dav-1.log', var_export($resources, true));
        return 1 == sizeof($resources) && $resources[0]['is_collection'];
    }