[TYPO3-mvc] extbase way of accessing folder based file collection

Domi djgarms at gmail.com
Sun Jun 16 10:13:39 CEST 2013


Hello,

I currently try to output the folder of a FolderBasedFileCollection:

/** @var FileCollectionRepository $fileCollectionInstance */
$fileCollectionInstance = 
GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\FileCollectionRepository');

$fileCollectionItem = $fileCollectionInstance->findByUid($uid);

$folder = $fileCollectionItem-> ????

I can't find any possibility to get the folder, is there an extbase way 
to do this?

Thanks,

Dominic


More information about the TYPO3-project-typo3v4mvc mailing list