EmailViewHelper extends AbstractViewHelper uses CompileWithRenderStatic

ViewHelper

This class is the implementation of a Fluid ViewHelper.

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

Email URI ViewHelper.

Deprecated

Will be removed in TYPO3 v12.0

Generates an email URI incorporating TYPO3s spamProtectEmailAddresses_ TypoScript setting.

.. _spamProtectEmailAddresses: https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Setup/Config/Index.html#spamprotectemailaddresses

Example

Basic email URI::

<f:uri.email email="foo@bar.tld" />

Output::

javascript:linkTo_UnCryptMailto('ocknvq,hqqBdct0vnf');

Depending on spamProtectEmailAddresses_ setting.

Table of Contents

Methods

initializeArguments()  : mixed
Initialize arguments
renderStatic()  : string

Methods

initializeArguments()

Initialize arguments

public initializeArguments() : mixed

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 email link


        
On this page

Search results