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