ExternalViewHelper extends AbstractViewHelper uses CompileWithRenderStatic

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <f:uri.external>

FinalYes

A ViewHelper for creating URIs to external targets.

Currently the specified URI is simply passed through.

Examples

Default

::

<f:uri.external uri="https://www.typo3.org" />

https://www.typo3.org

Custom default scheme

::

<f:uri.external uri="typo3.org" defaultScheme="ftp" />

ftp://typo3.org

Table of Contents

Methods

initializeArguments()  : void
renderStatic()  : string

Methods

initializeArguments()

public initializeArguments() : void

renderStatic()

public static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Return values
string

        
On this page

Search results