kernel/private/classes/webdav/ezwebdavcontentbackend.php
protected function getCollectionContent( $collection, $depth = false, $properties = false )
    {
        $fullPath = $collection;
        $collection = $this->splitFirstPathElement( $collection, $currentSite );

        if ( !$currentSite )
        {
            // Display the root which contains a list of sites
            $entries = $this->fetchSiteListContent( $fullPath, $depth, $properties );
            return $entries;
        }

        return $this->getVirtualFolderCollection( $currentSite, $collection, $fullPath, $depth, $properties );
    }
protected function getCollectionContent( $collection, $depth = false, $properties = false )
    {
        $fullPath = $collection;
        $collection = $this->splitFirstPathElement( $collection, $currentSite );

        if ( !$currentSite )
        {
            // Display the root which contains a list of sites
            $entries = $this->fetchSiteListContent( $fullPath, $depth, $properties );
            return $entries;
        }

        return $this->getVirtualFolderCollection( $currentSite, $collection, $fullPath, $depth, $properties );
    }
protected function getCollectionContent ( $ collection , $ depth = false , $ properties = false ) { $ fullPath = $ collection ; $ collection = $ this -> splitFirstPathElement ( $ collection , $ currentSite ) ; if ( ! $ currentSite ) { // Display the root which contains a list of sites $ entries = $ this -> fetchSiteListContent ( $ fullPath , $ depth , $ properties ) ; return $ entries ; } return $ this -> getVirtualFolderCollection ( $ currentSite , $ collection , $ fullPath , $ depth , $ properties ) ; }
Produces the collection content.

Builds either the virtual start folder with the virtual content folder
in it (and additional files). OR: if we're browsing within the content
folder: it gets the content of the target/given folder.

@param string $collection Eg. '/plain_site_user/Content/Folder1'
@param int $depth One of -1 (infinite), 0, 1
@param array(string) $properties Currently not used
@return array(string=>array())
Produces the collection content .