NormalizedUrlViewHelper
final class \
- Extends
- AbstractViewHelper
See also
This class is the implementation of a Fluid ViewHelper. View it in the TYPO3 ViewHelper reference: <core:normalizedurl>
ViewHelper to normalize a path that uses EXT: syntax or an absolute URL to an absolute web path.
<core:normalizedUrl pathOrUrl="https://foo.bar/img.jpg" />
<core:normalizedUrl pathOrUrl="EXT:core/Resources/Public/Images/typo3_black.svg" />
Internal
Tags
Table of Contents
Methods
- __construct() : mixed
- getContentArgumentName() : string
- Explicitly set argument name to be used as content.
- initializeArguments() : void
- render() : string
- Output what is given as URL or extension relative path as absolute URL
Methods
__construct()
public
__construct(SystemResourceFactory $systemResourceFactory, SystemResourcePublisherInterface $resourcePublisher) : mixed
Parameters
- $systemResourceFactory : SystemResourceFactory
- $resourcePublisher : SystemResourcePublisherInterface
getContentArgumentName()
Explicitly set argument name to be used as content.
public
getContentArgumentName() : string
Return values
stringinitializeArguments()
public
initializeArguments() : void
render()
Output what is given as URL or extension relative path as absolute URL
public
render() : string