PHP Класс Neos\FluidAdaptor\ViewHelpers\Format\StripTagsViewHelper

См. также: http://www.php.net/manual/function.strip-tags.php = Examples = Some Text with Tags and an Ümlaut. Some Text with Tags and an Ümlaut. (strip_tags() applied. Note: encoded entities are not decoded) {text -> f:format.stripTags()} Text without tags (strip_tags() applied)
Наследование: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$escapeChildren boolean

Открытые методы

Метод Описание
render ( string $value = null ) : mixed Escapes special characters with their escaped counterparts as needed using PHPs strip_tags() function.
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string Applies strip_tags() on the specified value.

Описание методов

render() публичный Метод

Escapes special characters with their escaped counterparts as needed using PHPs strip_tags() function.
См. также: http://www.php.net/manual/function.strip-tags.php
public render ( string $value = null ) : mixed
$value string string to format
Результат mixed

renderStatic() публичный статический Метод

Applies strip_tags() on the specified value.
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

Описание свойств

$escapeChildren защищенное свойство

protected bool $escapeChildren
Результат boolean