‪TYPO3CMS  10.4
TYPO3\CMS\Frontend\Typolink\TelephoneLinkBuilder Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Typolink\TelephoneLinkBuilder:
TYPO3\CMS\Frontend\Typolink\AbstractTypolinkBuilder

Public Member Functions

 build (array &$linkDetails, string $linkText, string $target, array $conf)
 

Additional Inherited Members

Detailed Description

Builds a TypoLink to a telephone number

Definition at line 23 of file TelephoneLinkBuilder.php.

Member Function Documentation

◆ build()

TYPO3\CMS\Frontend\Typolink\TelephoneLinkBuilder::build ( array &  $linkDetails,
string  $linkText,
string  $target,
array  $conf 
)

‪Should be implemented by all subclasses to return an array with three parts:

  • ‪URL
  • ‪Link Text (can be modified)
  • ‪Target (can be modified)
Parameters
array$linkDetails‪parsed link details by the LinkService
string$linkText‪the link text
string$target‪the target to point to
array$conf‪the TypoLink configuration array
Returns
‪array an array with three parts (URL, Link Text, Target)

Reimplemented from TYPO3\CMS\Frontend\Typolink\AbstractTypolinkBuilder.

Definition at line 28 of file TelephoneLinkBuilder.php.