TYPO3
7.6
|
Static Public Member Functions | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) |
Static Public Member Functions inherited from AbstractViewHelper | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Static Public Member Functions inherited from CompilableInterface | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Protected Attributes | |
$escapingInterceptorEnabled = false | |
Protected Attributes inherited from AbstractViewHelper | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractViewHelper | |
registerArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
overrideArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
callRenderMethod () | |
getLogger () | |
buildRenderChildrenClosure () | |
hasArgument ($argumentName) | |
Removes tags from the given string (applying PHPs strip_tags() function)
= Examples =
<f:format.stripTags>Some Text with Tags and an Ümlaut.</f:format.stripTags>
<output> Some Text with Tags and an Ümlaut. (strip_tags() applied. Note: encoded entities are not decoded) </output>
{text -> f:format.stripTags()}
<output> Text without tags (strip_tags() applied) </output>
Definition at line 41 of file StripTagsViewHelper.php.
render | ( | $value = null | ) |
Escapes special characters with their escaped counterparts as needed using PHPs strip_tags() function.
string | $value | string to format |
Definition at line 59 of file StripTagsViewHelper.php.
References AbstractViewHelper\buildRenderChildrenClosure().
|
static |
Applies strip_tags() on the specified value.
array | $arguments | |
\Closure | $renderChildrenClosure | |
\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface | $renderingContext |
Definition at line 78 of file StripTagsViewHelper.php.
References AbstractViewHelper\$renderChildrenClosure.
|
protected |
Definition at line 49 of file StripTagsViewHelper.php.