TYPO3
7.6
|
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 InterceptorInterface | |
const | INTERCEPT_OPENING_VIEWHELPER = 1 |
const | INTERCEPT_CLOSING_VIEWHELPER = 2 |
const | INTERCEPT_TEXT = 3 |
const | INTERCEPT_OBJECTACCESSOR = 4 |
An interceptor adding the escape viewhelper to the suitable places.
Definition at line 17 of file Escape.php.
getInterceptionPoints | ( | ) |
This interceptor wants to hook into object accessor creation, and opening / closing ViewHelpers.
Implements InterceptorInterface.
Definition at line 79 of file Escape.php.
References InterceptorInterface\INTERCEPT_CLOSING_VIEWHELPER, InterceptorInterface\INTERCEPT_OBJECTACCESSOR, and InterceptorInterface\INTERCEPT_OPENING_VIEWHELPER.
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.
\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface | $node | |
int | $interceptorPosition | One of the INTERCEPT_* constants for the current interception point |
\TYPO3\CMS\Fluid\Core\Parser\ParsingState | $parsingState | the current parsing state. Not needed in this interceptor. |
Implements InterceptorInterface.
Definition at line 49 of file Escape.php.
References elseif, InterceptorInterface\INTERCEPT_CLOSING_VIEWHELPER, and InterceptorInterface\INTERCEPT_OPENING_VIEWHELPER.
|
protected |
Definition at line 24 of file Escape.php.
|
protected |
Definition at line 38 of file Escape.php.
|
protected |
Definition at line 32 of file Escape.php.