ResourceViewHelper extends AbstractViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <f:resource>
FinalYes
ViewHelper for creating system resource objects.
{f:resource(identifier: 'PKG:typo3/cms-indexed-search:Resources/Public/Css/Stylesheet.css') -> f:uri.resource()}
{styleSheet -> f:resource() -> f:uri.resource()}
Tags
Table of Contents
Methods
- __construct() : mixed
- getContentArgumentName() : string
- Explicitly set argument name to be used as content.
- initializeArguments() : void
- render() : StaticResourceInterface
Methods
__construct()
public
__construct(SystemResourceFactory $systemResourceFactory) : mixed
Parameters
- $systemResourceFactory : SystemResourceFactory
getContentArgumentName()
Explicitly set argument name to be used as content.
public
getContentArgumentName() : string
Return values
stringinitializeArguments()
public
initializeArguments() : void
render()
public
render() : StaticResourceInterface