kernel/private/classes/webdav/ezwebdavcontentbackend.php
protected function getContentNodeData( $result, $currentSite, $virtualFolder, $target, $fullPath )
    {
        // Attempt to fetch the node the client wants to get.
        $nodePath = $this->internalNodePath( $virtualFolder, $target );
        eZWebDAVContentBackend::appendLogEntry( __FUNCTION__ . " Path:" . $nodePath );
        $node = $this->fetchNodeByTranslation( $nodePath );
        $info = $this->fetchNodeInfo( $fullPath, $node );

        // Proceed only if the node is valid:
        if ( $node === null )
        {
            return $result;
        }

        // Can we fetch the contents of the node
        if ( !$node->canRead() )
        {
            return false; // @as self::FAILED_FORBIDDEN;
        }

        $object = $node->attribute( 'object' );

        foreach ( $info as $key => $value )
        {
            $result[$key] = $value;
        }

        $upload = new eZContentUpload();
        $info = $upload->objectFileInfo( $object );

        if ( $info )
        {
            $result['file'] = $info['filepath'];
        }
        else
        {
            $class = $object->contentClass();
            if ( $this->isObjectFolder( $object, $class ) )
            {
                $result['isCollection'] = true;
            }

        }
        return $result;
    }
protected function getContentNodeData( $result, $currentSite, $virtualFolder, $target, $fullPath )
    {
        // Attempt to fetch the node the client wants to get.
        $nodePath = $this->internalNodePath( $virtualFolder, $target );
        eZWebDAVContentBackend::appendLogEntry( __FUNCTION__ . " Path:" . $nodePath );
        $node = $this->fetchNodeByTranslation( $nodePath );
        $info = $this->fetchNodeInfo( $fullPath, $node );

        // Proceed only if the node is valid:
        if ( $node === null )
        {
            return $result;
        }

        // Can we fetch the contents of the node
        if ( !$node->canRead() )
        {
            return false; // @as self::FAILED_FORBIDDEN;
        }

        $object = $node->attribute( 'object' );

        foreach ( $info as $key => $value )
        {
            $result[$key] = $value;
        }

        $upload = new eZContentUpload();
        $info = $upload->objectFileInfo( $object );

        if ( $info )
        {
            $result['file'] = $info['filepath'];
        }
        else
        {
            $class = $object->contentClass();
            if ( $this->isObjectFolder( $object, $class ) )
            {
                $result['isCollection'] = true;
            }

        }
        return $result;
    }
protected function getContentNodeData ( $ result , $ currentSite , $ virtualFolder , $ target , $ fullPath ) { // Attempt to fetch the node the client wants to get. $ nodePath = $ this -> internalNodePath ( $ virtualFolder , $ target ) ; eZWebDAVContentBackend :: appendLogEntry ( __FUNCTION__ . " Path:" . $ nodePath ) ; $ node = $ this -> fetchNodeByTranslation ( $ nodePath ) ; $ info = $ this -> fetchNodeInfo ( $ fullPath , $ node ) ; // Proceed only if the node is valid: if ( $ node === null ) { return $ result ; } // Can we fetch the contents of the node if ( ! $ node -> canRead ( ) ) { return false ; // @as self::FAILED_FORBIDDEN; } $ object = $ node -> attribute ( 'object' ) ; foreach ( $ info as $ key => $ value ) { $ result [ $ key ] = $ value ; } $ upload = new eZContentUpload ( ) ; $ info = $ upload -> objectFileInfo ( $ object ) ; if ( $ info ) { $ result [ 'file' ] = $ info [ 'filepath' ] ; } else { $ class = $ object -> contentClass ( ) ; if ( $ this -> isObjectFolder ( $ object , $ class ) ) { $ result [ 'isCollection' ] = true ; } } return $ result ; }
Handles data retrival on the content tree 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 $virtualFolder Eg. 'Content'
@param string $target Eg. 'Folder1/file1.txt'
@param string $fullPath Eg. '/plain_site_user/Content/Folder1/file1.txt'
@return array(string=>mixed) Or false if an error appeared
@todo remove/replace eZContentUpload
Handles data retrival on the content tree level .