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
$anonymizerUtil
private
AnonymizerUtil
$anonymizerUtil
$framework
private
ContaoFrameworkInterface
$framework
Methods
__construct()
public
__construct(AnonymizerUtil $anonymizerUtil, ContaoFrameworkInterface $framework) : mixed
Parameters
- $anonymizerUtil : AnonymizerUtil
- $framework : ContaoFrameworkInterface
anonymizeEmail()
public
anonymizeEmail(string $text) : string
Parameters
- $text : string
Return values
stringautolink()
public
autolink(string $text[, array<string|int, mixed> $options = [] ]) : string
Parameters
- $text : string
- $options : array<string|int, mixed> = []
Return values
stringgetFilters()
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