kernel/private/classes/webdav/ezwebdavcontentbackend.php
protected function getResourceContents( $target )
    {
        $result = array( 'data' => false, 'file' => false );
        $fullPath = $target;
        $target = $this->splitFirstPathElement( $fullPath, $currentSite );

        $data = $this->getVirtualFolderData( $result, $currentSite, $target, $fullPath );
        if ( $data['file'] )
        {
            $file = eZClusterFileHandler::instance( $data['file'] );
            //$this->cachedProperties[ $data['file'] ]['size'] = $file->size();
            return $file->fetchContents();
        }

        return false;
    }
protected function getResourceContents( $target )
    {
        $result = array( 'data' => false, 'file' => false );
        $fullPath = $target;
        $target = $this->splitFirstPathElement( $fullPath, $currentSite );

        $data = $this->getVirtualFolderData( $result, $currentSite, $target, $fullPath );
        if ( $data['file'] )
        {
            $file = eZClusterFileHandler::instance( $data['file'] );
            //$this->cachedProperties[ $data['file'] ]['size'] = $file->size();
            return $file->fetchContents();
        }

        return false;
    }
protected function getResourceContents ( $ target ) { $ result = array ( 'data' => false , 'file' => false ) ; $ fullPath = $ target ; $ target = $ this -> splitFirstPathElement ( $ fullPath , $ currentSite ) ; $ data = $ this -> getVirtualFolderData ( $ result , $ currentSite , $ target , $ fullPath ) ; if ( $ data [ 'file' ] ) { $ file = eZClusterFileHandler :: instance ( $ data [ 'file' ] ) ; //$this->cachedProperties[ $data['file'] ]['size'] = $file->size(); return $ file -> fetchContents ( ) ; } return false ; }
Returns the contents of a resource.

This method returns the content of the resource identified by $path as a
string.

@param string $target
@return string
Returns the contents of a resource .