EmailLinkHandler implements LinkHandlingInterface

Resolves emails

Table of Contents

Interfaces

LinkHandlingInterface
Interface for classes which are transforming a tag link hrefs to records or resources basically any URLs that should not be saved directly in the database on as is basis since they might be moved, changed by admin working in backend

Methods

asString()  : string
Returns the link to an email as a string
resolveHandlerData()  : array<string|int, mixed>
Returns the email address without the "mailto:" prefix in the 'email' property of the array.

Methods

asString()

Returns the link to an email as a string

public asString(array<string|int, mixed> $parameters) : string
Parameters
$parameters : array<string|int, mixed>
Return values
string

resolveHandlerData()

Returns the email address without the "mailto:" prefix in the 'email' property of the array.

public resolveHandlerData(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results