Text/Transformer/EmailAddressToHtml.php

Show: inherited
Table of Contents

\Conjoon_Text_Transformer_EmailAddressToHtml

Package: Conjoon\Text

Transforms a text by looking up tokens which look like email addresses and replaces them with html code to make those addresses clickable in a document.

Example:

Input:

This is a text. You can answer user@domain.tld if you like.

Output:

This is a text. You can answer user@domain.tld if you like.

Parent(s)
\Conjoon_Text_Transformer
Author
Thorsten Suckow-Homberg  
Category
Text  
Uses
\Conjoon_Text_Transformer  

Properties

Propertyprotected  $_options= ''
inherited

Inherited from: \Conjoon_Text_Transformer::$$_options
Details
Type
n/a
Inherited_from
\Conjoon_Text_Transformer::$$_options  
Type
mixed  

Methods

methodpublic__construct(  $options = array() ) : void
inherited

Inherited from: \Conjoon_Text_Transformer::__construct()
Parameters
Name Type Description
$options
methodpublictransform( string $input ) : string

Takes an input argument and transforms $input to the $output string.

Parameters
Name Type Description
$input string
Returns
Type Description
string
Throws
Exception Description
\Conjoon_Text_Transformer_Exception
Details
Inherit
Conjoon_Text_Transformer::transform  
Documentation was generated by DocBlox 0.18.1.