Contao Utils Bundle

StringExtension extends AbstractExtension
in package

Table of Contents

Properties

$anonymizerUtil  : AnonymizerUtil
$framework  : ContaoFrameworkInterface

Methods

__construct()  : mixed
anonymizeEmail()  : string
autolink()  : string
getFilters()  : array<string|int, mixed>|array<string|int, Twig_SimpleFilter>
Get list of twig filters.
replaceInsertTag()  : mixed

Properties

Methods

anonymizeEmail()

public anonymizeEmail(string $text) : string
Parameters
$text : string
Return values
string
public autolink(string $text[, array<string|int, mixed> $options = [] ]) : string
Parameters
$text : string
$options : array<string|int, mixed> = []
Return values
string

getFilters()

Get list of twig filters.

public getFilters() : array<string|int, mixed>|array<string|int, Twig_SimpleFilter>
Return values
array<string|int, mixed>|array<string|int, Twig_SimpleFilter>

replaceInsertTag()

public replaceInsertTag(string $text[, bool $cache = true ]) : mixed
Parameters
$text : string
$cache : bool = true

        
On this page

Search results