‪TYPO3CMS  10.4
TYPO3\CMS\Fluid\Core\Rendering\RenderingContext Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\Core\Rendering\RenderingContext:

Public Member Functions

 injectViewHelperVariableContainer (ViewHelperVariableContainer $viewHelperVariableContainer)
 
 __construct (ViewInterface $view=null)
 
Configuration getParserConfiguration ()
 
Configuration buildParserConfiguration ()
 
TYPO3 CMS Extbase Mvc Controller ControllerContext getControllerContext ()
 
 setControllerAction ($action)
 
 setControllerName ($controllerName)
 
string getControllerName ()
 
string getControllerAction ()
 
 setControllerContext (ControllerContext $controllerContext)
 

Protected Member Functions

 addInterceptorsToParserConfiguration (iterable $interceptors, Configuration $parserConfiguration)
 

Protected Attributes

TYPO3 CMS Extbase Mvc Controller ControllerContext null $controllerContext
 
string $controllerName = 'Default'
 
string $controllerAction = 'Default'
 

Detailed Description

Class RenderingContext

Definition at line 38 of file RenderingContext.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::__construct ( ViewInterface  $view = null)
Parameters
ViewInterface$view

Definition at line 65 of file RenderingContext.php.

References $GLOBALS.

Member Function Documentation

◆ addInterceptorsToParserConfiguration()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::addInterceptorsToParserConfiguration ( iterable  $interceptors,
Configuration  $parserConfiguration 
)
protected

◆ buildParserConfiguration()

Configuration TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::buildParserConfiguration ( )

Build parser configuration

Returns
‪Configuration
Exceptions

Definition at line 123 of file RenderingContext.php.

References $GLOBALS, and TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\addInterceptorsToParserConfiguration().

◆ getControllerAction()

string TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::getControllerAction ( )
Returns
‪string

Definition at line 189 of file RenderingContext.php.

References TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\$controllerAction.

◆ getControllerContext()

TYPO3 CMS Extbase Mvc Controller ControllerContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::getControllerContext ( )

Get the controller context which will be passed to the ViewHelper

Returns
‪\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext The controller context to set

Definition at line 146 of file RenderingContext.php.

References TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\$controllerContext.

◆ getControllerName()

string TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::getControllerName ( )
Returns
‪string

Definition at line 181 of file RenderingContext.php.

References TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\$controllerName.

◆ getParserConfiguration()

Configuration TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::getParserConfiguration ( )

Alternative to buildParserConfiguration, called only in Fluid 3.0

Returns
‪Configuration

Definition at line 110 of file RenderingContext.php.

References $GLOBALS, and TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\addInterceptorsToParserConfiguration().

◆ injectViewHelperVariableContainer()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::injectViewHelperVariableContainer ( ViewHelperVariableContainer  $viewHelperVariableContainer)
Parameters
\TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperVariableContainer$viewHelperVariableContainer

Definition at line 57 of file RenderingContext.php.

◆ setControllerAction()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::setControllerAction (   $action)
Parameters
string$action

Definition at line 154 of file RenderingContext.php.

Referenced by TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\setControllerContext().

◆ setControllerContext()

◆ setControllerName()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::setControllerName (   $controllerName)
Parameters
string$controllerName
Exceptions

Definition at line 170 of file RenderingContext.php.

References TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\$controllerName.

Referenced by TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\setControllerContext().

Member Data Documentation

◆ $controllerAction

string TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::$controllerAction = 'Default'
protected

◆ $controllerContext

TYPO3 CMS Extbase Mvc Controller ControllerContext null TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::$controllerContext
protected

◆ $controllerName