PHP Class Neos\FluidAdaptor\ViewHelpers\Format\StripTagsViewHelper

See also: 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)
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$escapeChildren boolean

Méthodes publiques

Méthode Description
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.

Method Details

render() public méthode

Escapes special characters with their escaped counterparts as needed using PHPs strip_tags() function.
See also: http://www.php.net/manual/function.strip-tags.php
public render ( string $value = null ) : mixed
$value string string to format
Résultat mixed

renderStatic() public static méthode

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
Résultat string

Property Details

$escapeChildren protected_oe property

protected bool $escapeChildren
Résultat boolean