ExternalViewHelper

class \TYPO3\CMS\Fluid\ViewHelpers\Uri\ExternalViewHelper

Extends
AbstractViewHelper
Uses
CompileWithRenderStatic

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 $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string

Parameters

$arguments : array
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface

Return values

string —

Rendered URI

On this page