Fal::getFilePath()
\nn\t3::Fal()->getFilePath($falReference);
Get the URL to a FileReference or a FalFile.
Alias to \nn\t3::File()->getPublicUrl().
\nn\t3::Fal()->getFilePath( $fileReference ); // results in e.g. 'fileadmin/bilder/01.jpg'
Copied!
@param \TYPO3\CMS\Extbase\Domain\Model\FileReference|\TYPO3\CMS\Core\Resource\FileReference $falReference
@return string
Source Code
public function getFilePath($falReference)
{
return \nn\t3::File()->getPublicUrl( $falReference );
}
Copied!