19 declare(strict_types=1);
71 return new SplitString($delimiter, $this->dataFactory);
153 return new EncodingGroup();
__construct(Factory $dataFactory, \ILIAS\Language\Language $language)
splitString(string $delimiter)
Creates a transformation that can be used to split a given string by given delimiter.
Split a string by delimiter into array.
Interface Observer Contains several chained tasks and infos about them.
A constraint encodes some resrtictions on values.
hasMaxLength(int $maximum)
Creates a constraint that can be used to check if a string has exceeded a maximum length...
markdown(bool $escape=true)
This method returns an instance of the MarkdownFormattingToHTML class which can be used to tranform a...
utfnormal()
This method returns an instance of the UTFNormal class which can be used to get Transformations that ...
levenshtein()
This method returns an instance of the Levenshtein class, to call the constructor of the LevenshteinT...
caseOfLabel(string $language_key)
Creates a transformation that can be used to format a text for the title capitalization presentation ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
makeClickable()
Creates a transformation to replace URL's like www.ilias.de to www.ilias.de.
hasMinLength(int $minimum)
Creates a constraint that can be used to check if a string has reached a minimum length.
encoding()
This method returns a group of string encoding transformations.
stripTags()
Creates a transformation that strips tags from a string.
estimatedReadingTime(bool $withImages=false)
Creates a transformation to determine the estimated reading time of a human adult (roughly 275 WPM) I...
language()
description: > Example for rendring a language glyph.
ILIAS Language Language $language