![]() |
TYPO3
7.6
|
Public Member Functions | |
process (\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface $node, $interceptorPosition,\TYPO3\CMS\Fluid\Core\Parser\ParsingState $parsingState) | |
getInterceptionPoints () | |
Public Attributes | |
const | INTERCEPT_OPENING_VIEWHELPER = 1 |
const | INTERCEPT_CLOSING_VIEWHELPER = 2 |
const | INTERCEPT_TEXT = 3 |
const | INTERCEPT_OBJECTACCESSOR = 4 |
An interceptor interface. Interceptors are used in the parsing stage to change the syntax tree of a template, e.g. by adding viewhelper nodes.
Definition at line 18 of file InterceptorInterface.php.
getInterceptionPoints | ( | ) |
The interceptor should define at which interception positions it wants to be called.
Implemented in Escape.
process | ( | \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface | $node, |
$interceptorPosition, | |||
\TYPO3\CMS\Fluid\Core\Parser\ParsingState | $parsingState | ||
) |
The interceptor can process the given node at will and must return a node that will be used in place of the given node.
\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 parsing state |
Implemented in Escape.
const INTERCEPT_CLOSING_VIEWHELPER = 2 |
Definition at line 21 of file InterceptorInterface.php.
Referenced by TemplateParser\closingViewHelperTagHandler(), Escape\getInterceptionPoints(), TemplateParser\objectAccessorHandler(), TemplateParser\openingViewHelperTagHandler(), and Escape\process().
const INTERCEPT_OBJECTACCESSOR = 4 |
Definition at line 23 of file InterceptorInterface.php.
Referenced by Escape\getInterceptionPoints(), and TemplateParser\objectAccessorHandler().
const INTERCEPT_OPENING_VIEWHELPER = 1 |
Definition at line 20 of file InterceptorInterface.php.
Referenced by Escape\getInterceptionPoints(), TemplateParser\initializeViewHelperAndAddItToStack(), and Escape\process().
const INTERCEPT_TEXT = 3 |
Definition at line 22 of file InterceptorInterface.php.
Referenced by TemplateParser\textHandler().