TYPO3
7.6
|
Public Member Functions | |
render ($value=null, $keepQuotes=false, $encoding=null) | |
Public Member Functions inherited from CompilableInterface | |
compile ($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode,\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode,\TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler) | |
Static Public Member Functions | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure, 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 | |
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) | |
Static Protected Member Functions inherited from AbstractEncodingViewHelper | |
static | resolveDefaultEncoding () |
Static Protected Attributes inherited from AbstractEncodingViewHelper | |
static | $defaultEncoding = null |
Applies html_entity_decode() to a value
= Examples =
<f:format.htmlentitiesDecode>{text}</f:format.htmlentitiesDecode>
<output> Text with & " < > replaced by unescaped entities (html_entity_decode applied). </output>
{text -> f:format.htmlentitiesDecode(encoding: 'ISO-8859-1')}
<output> Text with & " < > replaced by unescaped entities (html_entity_decode applied). </output>
Definition at line 39 of file HtmlentitiesDecodeViewHelper.php.
render | ( | $value = null , |
|
$keepQuotes = false , |
|||
$encoding = null |
|||
) |
Converts all HTML entities to their applicable characters as needed using PHPs html_entity_decode() function.
string | $value | string to format |
bool | $keepQuotes | if TRUE, single and double quotes won't be replaced (sets ENT_NOQUOTES flag) |
string | $encoding |
Definition at line 59 of file HtmlentitiesDecodeViewHelper.php.
References AbstractViewHelper\buildRenderChildrenClosure().
|
static |
array | $arguments | |
callable | $renderChildrenClosure | |
RenderingContextInterface | $renderingContext |
Definition at line 79 of file HtmlentitiesDecodeViewHelper.php.
References AbstractViewHelper\$renderChildrenClosure.
|
protected |
Definition at line 47 of file HtmlentitiesDecodeViewHelper.php.