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::
Email link with custom subject and prefilled cc
::
<f:link.email email="foo@bar.tld" subject="Check out this website" cc="foo@example.com"">some custom content</f:link.email>
Output::
Depending on spamProtectEmailAddresses
_ setting.
Table of Contents
Properties
- $tagName : string
Methods
- initializeArguments() : void
- render() : string
Properties
$tagName
protected
string
$tagName
= 'a'
Methods
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string