kernel/private/classes/webdav/ezwebdavcontentbackend.php
protected function getVirtualFolderData( $result, $currentSite, $target, $fullPath )
    {
        $target = $this->splitFirstPathElement( $target, $virtualFolder );
        if ( !$target )
        {
            // The rest in the virtual folder does not have any data
            return false; // self::FAILED_NOT_FOUND;
        }

        if ( !in_array( $virtualFolder, array( self::virtualContentFolderName(), self::virtualMediaFolderName() ) ) )
        {
            return false; // self::FAILED_NOT_FOUND;
        }

        if ( $virtualFolder === self::virtualContentFolderName() or
             $virtualFolder === self::virtualMediaFolderName() )
        {
            return $this->getContentNodeData( $result, $currentSite, $virtualFolder, $target, $fullPath );
        }
        return false; // self::FAILED_NOT_FOUND;
    }
protected function getVirtualFolderData( $result, $currentSite, $target, $fullPath )
    {
        $target = $this->splitFirstPathElement( $target, $virtualFolder );
        if ( !$target )
        {
            // The rest in the virtual folder does not have any data
            return false; // self::FAILED_NOT_FOUND;
        }

        if ( !in_array( $virtualFolder, array( self::virtualContentFolderName(), self::virtualMediaFolderName() ) ) )
        {
            return false; // self::FAILED_NOT_FOUND;
        }

        if ( $virtualFolder === self::virtualContentFolderName() or
             $virtualFolder === self::virtualMediaFolderName() )
        {
            return $this->getContentNodeData( $result, $currentSite, $virtualFolder, $target, $fullPath );
        }
        return false; // self::FAILED_NOT_FOUND;
    }
protected function getVirtualFolderData ( $ result , $ currentSite , $ target , $ fullPath ) { $ target = $ this -> splitFirstPathElement ( $ target , $ virtualFolder ) ; if ( ! $ target ) { // The rest in the virtual folder does not have any data return false ; // self::FAILED_NOT_FOUND; } if ( ! in_array ( $ virtualFolder , array ( self :: virtualContentFolderName ( ) , self :: virtualMediaFolderName ( ) ) ) ) { return false ; // self::FAILED_NOT_FOUND; } if ( $ virtualFolder === self :: virtualContentFolderName ( ) or $ virtualFolder === self :: virtualMediaFolderName ( ) ) { return $ this -> getContentNodeData ( $ result , $ currentSite , $ virtualFolder , $ target , $ fullPath ) ; } return false ; // self::FAILED_NOT_FOUND; }
Handles data retrival on the virtual folder level.

The format of the returned array is the same as $result:
<code>
array( 'isFile' => bool,
'isCollection' => bool,
'file' => path to the storage file which contain the contents );
</code>

@param array(string=>mixed) $result
@param string $currentSite Eg. 'plain_site_user'
@param string $target Eg. 'Content/Folder1/file1.txt'
@param string $fullPath Eg. '/plain_site_user/Content/Folder1/file1.txt'
@return array(string=>mixed) Or false if an error appeared
Handles data retrival on the virtual folder level .