[TYPO3-UG Freiburg] TYPO3 Extension: Pfad zur Datei file:45

Nicolas de Haen typo3 at ndh-websolutions.de
Sun Aug 24 10:09:38 CEST 2014


Hi Ben,

mit der uid kannst du die fileResource von der resource factory holen holen:

$videoFileUid = substr($resourcePointer, 5);

$resourceFactory = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance();

$videoFile = $resourceFactory->getFileObject($videoFileUid);

$videoFile->getPublicUrl();

Gruß,
Nico

-- 
Nico de Haen
ndh websolutions

Webprogrammierung, OpenSource, Typo3



http://www.ndh-websolutions.de


More information about the TYPO3-UG-Freiburg mailing list