TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Fluid\Core\Rendering\RenderingContext Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\Core\Rendering\RenderingContext:
TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface

Public Member Functions

 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 injectViewHelperVariableContainer (\TYPO3\CMS\Fluid\Core\ViewHelper\ViewHelperVariableContainer $viewHelperVariableContainer)
 
 getObjectManager ()
 
 injectTemplateVariableContainer (\TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $templateVariableContainer)
 
 getTemplateVariableContainer ()
 
 setControllerContext (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
 
 getControllerContext ()
 
 getViewHelperVariableContainer ()
 

Protected Attributes

 $templateVariableContainer
 
 $objectManager
 
 $controllerContext
 
 $viewHelperVariableContainer
 

Detailed Description

Definition at line 14 of file RenderingContext.php.

Member Function Documentation

◆ getControllerContext()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::getControllerContext ( )

Get the controller context which will be passed to the ViewHelper

Returns
The controller context to set

Implements TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface.

Definition at line 107 of file RenderingContext.php.

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

◆ getObjectManager()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::getObjectManager ( )

Returns the object manager. Only the ViewHelperNode should do this.

Returns

Definition at line 66 of file RenderingContext.php.

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

◆ getTemplateVariableContainer()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::getTemplateVariableContainer ( )

Get the template variable container

Returns
The Template Variable Container

Implements TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface.

Definition at line 87 of file RenderingContext.php.

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

◆ getViewHelperVariableContainer()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::getViewHelperVariableContainer ( )

◆ injectObjectManager()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::injectObjectManager ( \TYPO3\CMS\Extbase\Object\ObjectManagerInterface  $objectManager)
Parameters
\TYPO3\CMS\Extbase\Object\ObjectManagerInterface$objectManager

Definition at line 48 of file RenderingContext.php.

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

◆ injectTemplateVariableContainer()

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::injectTemplateVariableContainer ( \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer  $templateVariableContainer)

Injects the template variable container containing all variables available through Object Accessors in the template

Parameters
\TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer$templateVariableContainerThe template variable container to set

Definition at line 77 of file RenderingContext.php.

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

◆ injectViewHelperVariableContainer()

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

Definition at line 56 of file RenderingContext.php.

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

◆ 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$controllerContextThe controller context to set

Definition at line 97 of file RenderingContext.php.

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

Member Data Documentation

◆ $controllerContext

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::$controllerContext
protected

◆ $objectManager

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::$objectManager
protected

◆ $templateVariableContainer

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::$templateVariableContainer
protected

◆ $viewHelperVariableContainer

TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::$viewHelperVariableContainer
protected