TYPO3  7.6
Static Protected Member Functions | Static Protected Attributes | List of all members
AbstractEncodingViewHelper Class Reference
Inheritance diagram for AbstractEncodingViewHelper:
AbstractViewHelper HtmlentitiesDecodeViewHelper HtmlentitiesViewHelper HtmlspecialcharsViewHelper

Static Protected Member Functions

static resolveDefaultEncoding ()
 

Static Protected Attributes

static $defaultEncoding = null
 

Additional Inherited Members

- Public Member Functions inherited from AbstractViewHelper
 setArguments (array $arguments)
 
 setRenderingContext (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 isEscapingInterceptorEnabled ()
 
 setViewHelperNode (\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode $node)
 
 setRenderChildrenClosure (\Closure $renderChildrenClosure)
 
 initializeArgumentsAndRender ()
 
 initialize ()
 
 renderChildren ()
 
 prepareArguments ()
 
 validateArguments ()
 
 initializeArguments ()
 
 compile ($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode,\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode,\TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler)
 
 resetState ()
 
- Static Public Member Functions inherited from AbstractViewHelper
static renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
- 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)
 
- Protected Attributes inherited from AbstractViewHelper
 $arguments
 
 $templateVariableContainer
 
 $controllerContext
 
 $renderingContext
 
 $renderChildrenClosure = null
 
 $viewHelperVariableContainer
 
 $objectManager
 
 $escapingInterceptorEnabled = true
 

Detailed Description

This is the base class for ViewHelpers that work with encodings. Currently that are format.htmlentities, format.htmlentitiesDecode and format.htmlspecialchars

Definition at line 20 of file AbstractEncodingViewHelper.php.

Member Function Documentation

static resolveDefaultEncoding ( )
staticprotected

Resolve the default encoding. If none is set in Frontend or Backend, uses UTF-8.

Returns
string the encoding

Definition at line 32 of file AbstractEncodingViewHelper.php.

Member Data Documentation

$defaultEncoding = null
staticprotected

Definition at line 25 of file AbstractEncodingViewHelper.php.