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
Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$escapeChildren boolean

Public Methods

Method 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 method

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
return mixed

renderStatic() public static method

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
return string

Property Details

$escapeChildren protected property

protected bool $escapeChildren
return boolean