‪TYPO3CMS  11.5
TYPO3\CMS\Fluid\ViewHelpers\Uri\ExternalViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\ViewHelpers\Uri\ExternalViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

static string renderStatic (array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
 

Detailed Description

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

Definition at line 47 of file ExternalViewHelper.php.

Member Function Documentation

◆ initializeArguments()

TYPO3\CMS\Fluid\ViewHelpers\Uri\ExternalViewHelper::initializeArguments ( )

Initialize arguments

Exceptions

Definition at line 55 of file ExternalViewHelper.php.

◆ renderStatic()

static string TYPO3\CMS\Fluid\ViewHelpers\Uri\ExternalViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static
Parameters
array$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string Rendered URI

Definition at line 68 of file ExternalViewHelper.php.