TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Fluid\Core\Parser\Interceptor\Escape Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\Core\Parser\Interceptor\Escape:
TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface Tx_Fluid_Core_Parser_Interceptor_Escape

Public Member Functions

 process (\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface $node, $interceptorPosition, \TYPO3\CMS\Fluid\Core\Parser\ParsingState $parsingState)
 
 getInterceptionPoints ()
 

Protected Attributes

 $interceptorEnabled = TRUE
 
 $viewHelperNodesWhichDisableTheInterceptor = array()
 
 $objectManager
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface
const INTERCEPT_OPENING_VIEWHELPER = 1
 
const INTERCEPT_CLOSING_VIEWHELPER = 2
 
const INTERCEPT_TEXT = 3
 
const INTERCEPT_OBJECTACCESSOR = 4
 

Detailed Description

An interceptor adding the escape viewhelper to the suitable places.

Definition at line 17 of file Escape.php.

Member Function Documentation

◆ getInterceptionPoints()

TYPO3\CMS\Fluid\Core\Parser\Interceptor\Escape::getInterceptionPoints ( )

◆ process()

TYPO3\CMS\Fluid\Core\Parser\Interceptor\Escape::process ( \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface  $node,
  $interceptorPosition,
\TYPO3\CMS\Fluid\Core\Parser\ParsingState  $parsingState 
)

Adds a ViewHelper node using the Format to the given node. If "escapingInterceptorEnabled" in the ViewHelper is FALSE, will disable itself inside the ViewHelpers body.

Parameters
\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface$node
integer$interceptorPositionOne of the INTERCEPT_* constants for the current interception point
\TYPO3\CMS\Fluid\Core\Parser\ParsingState$parsingStatethe current parsing state. Not needed in this interceptor.
Returns

Implements TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface.

Definition at line 49 of file Escape.php.

References TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface\INTERCEPT_CLOSING_VIEWHELPER, and TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface\INTERCEPT_OPENING_VIEWHELPER.

Member Data Documentation

◆ $interceptorEnabled

TYPO3\CMS\Fluid\Core\Parser\Interceptor\Escape::$interceptorEnabled = TRUE
protected

Definition at line 24 of file Escape.php.

◆ $objectManager

TYPO3\CMS\Fluid\Core\Parser\Interceptor\Escape::$objectManager
protected

Definition at line 38 of file Escape.php.

◆ $viewHelperNodesWhichDisableTheInterceptor

TYPO3\CMS\Fluid\Core\Parser\Interceptor\Escape::$viewHelperNodesWhichDisableTheInterceptor = array()
protected

Definition at line 32 of file Escape.php.