[TYPO3-english] how to get folder from file collection
Domi
djgarms at gmail.com
Sat Jun 15 16:18:07 CEST 2013
Hello,
I try to get the folder from a folder based file collection:
/** @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 from a
FolderBasedFileCollection.
Thanks for ideas.
Dominic
More information about the TYPO3-english
mailing list