TelephoneLinkHandler

class \TYPO3\CMS\Core\LinkHandling\TelephoneLinkHandler

Implements
LinkHandlingInterface

Resolves telephone numbers

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 a telephone number as a string
resolveHandlerData()  : array
Returns the telephone number without the "tel:" prefix in the 'telephone' property of the array.

Methods

asString()

Returns the link to a telephone number as a string

public asString(array $parameters) : string

Parameters

$parameters : array

Return values

string

resolveHandlerData()

Returns the telephone number without the "tel:" prefix in the 'telephone' property of the array.

public resolveHandlerData(array $data) : array

Parameters

$data : array

Return values

array
On this page