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

Public Member Functions

 injectViewHelperVariableContainer (\TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperVariableContainer $viewHelperVariableContainer)
 
 __construct (ViewInterface $view=null)
 
Configuration buildParserConfiguration ()
 
TYPO3 CMS Extbase Mvc Controller ControllerContext getControllerContext ()
 
 setControllerAction ($action)
 
 setControllerName ($controllerName)
 
 setControllerContext (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
 

Protected Attributes

TYPO3 CMS Extbase Mvc Controller ControllerContext $controllerContext
 

Detailed Description

Class RenderingContext

Definition at line 35 of file RenderingContext.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 54 of file RenderingContext.php.

References $GLOBALS.

Member Function Documentation

◆ buildParserConfiguration()

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

Build parser configuration

Returns
‪Configuration
Exceptions

Definition at line 90 of file RenderingContext.php.

References $GLOBALS.

◆ 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 111 of file RenderingContext.php.

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

◆ injectViewHelperVariableContainer()

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

Definition at line 46 of file RenderingContext.php.

◆ setControllerAction()

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

Definition at line 119 of file RenderingContext.php.

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

◆ setControllerContext()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::setControllerContext ( \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext  $controllerContext)

Set the controller context which will be passed to the ViewHelper

Parameters
\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext$controllerContext‪The controller context to set

Definition at line 144 of file RenderingContext.php.

References TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\$controllerContext, TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\setControllerAction(), and TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\setControllerName().

◆ setControllerName()

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

Definition at line 133 of file RenderingContext.php.

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

Member Data Documentation

◆ $controllerContext

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