TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractEncodingViewHelper Class Reference
Inheritance diagram for AbstractEncodingViewHelper:
AbstractViewHelper HtmlentitiesDecodeViewHelper HtmlentitiesViewHelper

Static Protected Member Functions

static resolveDefaultEncoding ()
 

Static Protected Attributes

static $defaultEncoding = null
 

Additional Inherited Members

- Public Member Functions inherited from AbstractViewHelper
 setRenderingContext (\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 prepareArguments ()
 
- Protected Member Functions inherited from AbstractViewHelper
 callRenderMethod ()
 
 getLogger ()
 
 registerRenderMethodArguments ()
 
- Protected Attributes inherited from AbstractViewHelper
 $controllerContext
 
 $objectManager
 

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 21 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 33 of file AbstractEncodingViewHelper.php.

Member Data Documentation

$defaultEncoding = null
staticprotected

Definition at line 26 of file AbstractEncodingViewHelper.php.