TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
RenderingContext Class Reference
Inheritance diagram for RenderingContext:
RenderingContextInterface

Public Member Functions

 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 ( )

Get the controller context which will be passed to the ViewHelper

Returns
The controller context to set

Implements RenderingContextInterface.

Definition at line 93 of file RenderingContext.php.

References RenderingContext\$controllerContext.

getObjectManager ( )

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

Returns

Definition at line 52 of file RenderingContext.php.

References RenderingContext\$objectManager.

getTemplateVariableContainer ( )

Get the template variable container

Returns
The Template Variable Container

Implements RenderingContextInterface.

Definition at line 73 of file RenderingContext.php.

References RenderingContext\$templateVariableContainer.

getViewHelperVariableContainer ( )

Get the ViewHelperVariableContainer

Returns

Implements RenderingContextInterface.

Definition at line 103 of file RenderingContext.php.

References RenderingContext\$viewHelperVariableContainer.

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

References RenderingContext\$templateVariableContainer.

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

References RenderingContext\$controllerContext.

Member Data Documentation

$controllerContext
protected
$objectManager
protected

Definition at line 30 of file RenderingContext.php.

Referenced by RenderingContext\getObjectManager().

$templateVariableContainer
protected
$viewHelperVariableContainer
protected