This is some very long text
This is some very long text
John Doe
WARNING: This tag does NOT handle tags currently.
WARNING: This tag doesn't care about multibyte charsets currently.
Показать файл
Открыть проект
Примеры использования класса
Свойство | Тип | Описание | |
---|---|---|---|
$escapeChildren | boolean |
Метод | Описание | |
---|---|---|
render ( integer $maxCharacters, string $append = '...', string $value = null ) : string | Render the cropped text | |
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string |
public render ( integer $maxCharacters, string $append = '...', string $value = null ) : string | ||
$maxCharacters | integer | Place where to truncate the string |
$append | string | What to append, if truncation happened |
$value | string | The input value which should be cropped. If not set, the evaluated contents of the child nodes will be used |
Результат | string | cropped text |
public static renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string | ||
$arguments | array | |
$renderChildrenClosure | Closure | |
$renderingContext | TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface | |
Результат | string |