ResourceViewHelper extends AbstractViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <f:uri.resource>
FinalYes
ViewHelper for creating URIs to resources (assets).
This ViewHelper should be used to return public locations to extension resource files for use in the frontend output.
For images within FAL storages, or where graphical operations are
performed, use <f:uri.image>
instead.
<link href="{f:uri.resource(path:'EXT:indexed_search/Resources/Public/Css/Stylesheet.css')}" rel="stylesheet" />
Tags
Table of Contents
Methods
- initializeArguments() : void
- render() : string
- Render the URI to the resource. The filename is used from child content.
Methods
initializeArguments()
public
initializeArguments() : void
render()
Render the URI to the resource. The filename is used from child content.
public
render() : string
Tags
Return values
string —The URI to the resource