PHP Class Neos\FluidAdaptor\Core\Rendering\RenderingContext

This knows about the ControllerContext and ObjectManager.
Inheritance: extends TYPO3Fluid\Fluid\Core\Rendering\RenderingContext, implements Neos\FluidAdaptor\Core\Rendering\FlowAwareRenderingContextInterface
Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$cache Neos\FluidAdaptor\Core\Cache\CacheAdaptor
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext
$expressionNodeTypes array List of class names implementing ExpressionNodeInterface which will be consulted when an expression does not match any built-in parser expression types.
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$viewHelperResolver Neos\FluidAdaptor\Core\ViewHelper\ViewHelperResolver

Public Methods

Method Description
__construct ( TYPO3Fluid\Fluid\View\ViewInterface $view, array $options = [] ) RenderingContext constructor.
buildParserConfiguration ( ) : TYPO3Fluid\Fluid\Core\Parser\Configuration Build parser configuration
getControllerContext ( ) : ControllerContext
getObjectManager ( ) : Neos\Flow\ObjectManagement\ObjectManagerInterface
getTemplateVariableContainer ( ) : TYPO3Fluid\Fluid\Core\Variables\VariableProviderInterface
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager )
setControllerContext ( ControllerContext $controllerContext )
setOption ( string $optionName, mixed $value ) : void Set a specific option of this View

Method Details

__construct() public method

RenderingContext constructor.
public __construct ( TYPO3Fluid\Fluid\View\ViewInterface $view, array $options = [] )
$view TYPO3Fluid\Fluid\View\ViewInterface
$options array

buildParserConfiguration() public method

Build parser configuration
public buildParserConfiguration ( ) : TYPO3Fluid\Fluid\Core\Parser\Configuration
return TYPO3Fluid\Fluid\Core\Parser\Configuration

getControllerContext() public method

public getControllerContext ( ) : ControllerContext
return Neos\Flow\Mvc\Controller\ControllerContext

getObjectManager() public method

public getObjectManager ( ) : Neos\Flow\ObjectManagement\ObjectManagerInterface
return Neos\Flow\ObjectManagement\ObjectManagerInterface

getTemplateVariableContainer() public method

Deprecation: use "getVariableProvider"
public getTemplateVariableContainer ( ) : TYPO3Fluid\Fluid\Core\Variables\VariableProviderInterface
return TYPO3Fluid\Fluid\Core\Variables\VariableProviderInterface

injectObjectManager() public method

public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager )
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface

setControllerContext() public method

public setControllerContext ( ControllerContext $controllerContext )
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext

setOption() public method

Set a specific option of this View
public setOption ( string $optionName, mixed $value ) : void
$optionName string
$value mixed
return void

Property Details

$cache protected property

protected CacheAdaptor,Neos\FluidAdaptor\Core\Cache $cache
return Neos\FluidAdaptor\Core\Cache\CacheAdaptor

$controllerContext protected property

protected ControllerContext,Neos\Flow\Mvc\Controller $controllerContext
return Neos\Flow\Mvc\Controller\ControllerContext

$expressionNodeTypes protected property

List of class names implementing ExpressionNodeInterface which will be consulted when an expression does not match any built-in parser expression types.
protected array $expressionNodeTypes
return array

$objectManager protected property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface

$viewHelperResolver protected property

protected ViewHelperResolver,Neos\FluidAdaptor\Core\ViewHelper $viewHelperResolver
return Neos\FluidAdaptor\Core\ViewHelper\ViewHelperResolver