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>

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()  : mixed
Initialize arguments
renderStatic()  : string

Methods

initializeArguments()

Initialize arguments

public initializeArguments() : mixed
Tags
throws
Exception

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

Rendered URI


        
On this page

Search results