kernel/private/classes/webdav/ezwebdavcontentbackend.php
protected function getContentTreeCollection( $currentSite, $virtualFolder, $collection, $fullPath, $depth, $properties )
    {
        $nodePath = $this->internalNodePath( $virtualFolder, $collection );
        $node = $this->fetchNodeByTranslation( $nodePath );

        if ( !$node )
        {
            return false; // self::FAILED_NOT_FOUND;
        }

        // Can we list the children of the node?
        if ( !$node->canRead() )
        {
            return false; // self::FAILED_FORBIDDEN;
        }

        $entries = $this->fetchContentList( $fullPath, $node, $nodePath, $depth, $properties );
        return $entries;
    }
protected function getContentTreeCollection( $currentSite, $virtualFolder, $collection, $fullPath, $depth, $properties )
    {
        $nodePath = $this->internalNodePath( $virtualFolder, $collection );
        $node = $this->fetchNodeByTranslation( $nodePath );

        if ( !$node )
        {
            return false; // self::FAILED_NOT_FOUND;
        }

        // Can we list the children of the node?
        if ( !$node->canRead() )
        {
            return false; // self::FAILED_FORBIDDEN;
        }

        $entries = $this->fetchContentList( $fullPath, $node, $nodePath, $depth, $properties );
        return $entries;
    }
protected function getContentTreeCollection ( $ currentSite , $ virtualFolder , $ collection , $ fullPath , $ depth , $ properties ) { $ nodePath = $ this -> internalNodePath ( $ virtualFolder , $ collection ) ; $ node = $ this -> fetchNodeByTranslation ( $ nodePath ) ; if ( ! $ node ) { return false ; // self::FAILED_NOT_FOUND; } // Can we list the children of the node? if ( ! $ node -> canRead ( ) ) { return false ; // self::FAILED_FORBIDDEN; } $ entries = $ this -> fetchContentList ( $ fullPath , $ node , $ nodePath , $ depth , $ properties ) ; return $ entries ; }
Handles collections on the content tree level.

Depending on the virtual folder we will generate a node path url and fetch
the nodes for that path.

An entry in the the returned array is of this form:
<code>
array( 'name' => node name (eg. 'Folder1'),
'size' => storage size of the_node in bytes (eg. 4096 for collections),
'mimetype' => mime type of the node (eg. 'httpd/unix-directory'),
'ctime' => creation time as timestamp,
'mtime' => latest modification time as timestamp,
'href' => the path to the node (eg. '/plain_site_user/Content/Folder1/')
</code>

@param string $site Eg. 'plain_site_user
@param string $virtualFolder Eg. 'Content'
@param string $collection Eg. 'Folder1'
@param string $fullPath Eg. '/plain_site_user/Content/Folder1/'
@param string $depth One of -1 (infinite), 0, 1
@param array(string) $properties Currently not used
@return array(array(string=>mixed))
Handles collections on the content tree level .