EmailViewHelper extends AbstractTagBasedViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

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

Email link ViewHelper.

Generates an email link incorporating TYPO3s spamProtectEmailAddresses_ TypoScript setting.

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

Examples

Basic email link

::

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

Output::

foo(at)bar.tld

Depending on spamProtectEmailAddresses_ setting.

Email link with custom linktext

::

<f:link.email email="foo@bar.tld">some custom content</f:link.email>

Output::

some custom content

Depending on spamProtectEmailAddresses_ setting.

Table of Contents

Properties

$tagName  : string

Methods

initializeArguments()  : mixed
Arguments initialization
render()  : string

Properties

Methods

initializeArguments()

Arguments initialization

public initializeArguments() : mixed

render()

public render() : string
Return values
string

Rendered email link


        
On this page

Search results