EmailViewHelper extends AbstractTagBasedViewHelper
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::
Depending on spamProtectEmailAddresses
_ setting.
Email link with custom linktext
::
<f:link.email email="foo@bar.tld">some custom content</f:link.email>
Output::
Depending on spamProtectEmailAddresses
_ setting.
Table of Contents
Properties
- $tagName : string
Methods
- initializeArguments() : mixed
- Arguments initialization
- render() : string
Properties
$tagName
protected
string
$tagName
= 'a'
Methods
initializeArguments()
Arguments initialization
public
initializeArguments() : mixed
render()
public
render() : string
Return values
string —Rendered email link