RenderingContext extends RenderingContext
Class RenderingContext
Table of Contents
Properties
- $controllerAction : string
- $controllerContext : ControllerContext
- Controller context being passed to the ViewHelper
- $controllerName : string
- $request : Request
Methods
- __construct() : mixed
- buildParserConfiguration() : Configuration
- Build parser configuration
- getControllerAction() : string
- getControllerContext() : ControllerContext
- Get the controller context which will be passed to the ViewHelper
- getControllerName() : string
- getParserConfiguration() : Configuration
- Alternative to buildParserConfiguration, called only in Fluid 3.0
- getRequest() : Request
- getUriBuilder() : UriBuilder
- injectViewHelperVariableContainer() : mixed
- setControllerAction() : mixed
- setControllerContext() : mixed
- Set the controller context which will be passed to the ViewHelper
- setControllerName() : mixed
- setRequest() : void
- addInterceptorsToParserConfiguration() : void
Properties
$controllerAction
protected
string
$controllerAction
= 'Default'
$controllerContext
Controller context being passed to the ViewHelper
since v11, will be removed with v12.
protected
ControllerContext
$controllerContext
$controllerName
protected
string
$controllerName
= 'Default'
$request
protected
Request
$request
Methods
__construct()
public
__construct(ViewHelperResolver $viewHelperResolver, FluidCacheInterface $cache, array<string|int, mixed> $templateProcessors, array<string|int, mixed> $expressionNodeTypes) : mixed
Parameters
- $viewHelperResolver : ViewHelperResolver
- $cache : FluidCacheInterface
- $templateProcessors : array<string|int, mixed>
- $expressionNodeTypes : array<string|int, mixed>
constructor, use RenderingContextFactory->create()
instead
buildParserConfiguration()
Build parser configuration
public
buildParserConfiguration() : Configuration
Tags
Return values
ConfigurationgetControllerAction()
public
getControllerAction() : string
Return values
stringgetControllerContext()
Get the controller context which will be passed to the ViewHelper
public
getControllerContext() : ControllerContext
since v11, will be removed in v12
Return values
ControllerContext —The controller context to set
getControllerName()
public
getControllerName() : string
Return values
stringgetParserConfiguration()
Alternative to buildParserConfiguration, called only in Fluid 3.0
public
getParserConfiguration() : Configuration
Return values
ConfigurationgetRequest()
public
getRequest() : Request
this might change to use a PSR-7 compliant request
Return values
RequestgetUriBuilder()
public
getUriBuilder() : UriBuilder
this is subject to change
Return values
UriBuilderinjectViewHelperVariableContainer()
public
injectViewHelperVariableContainer(ViewHelperVariableContainer $viewHelperVariableContainer) : mixed
Parameters
- $viewHelperVariableContainer : ViewHelperVariableContainer
used by typo3/testing-framework only
Tags
setControllerAction()
public
setControllerAction(string $action) : mixed
Parameters
- $action : string
setControllerContext()
Set the controller context which will be passed to the ViewHelper
public
setControllerContext(ControllerContext $controllerContext) : mixed
since v11, will be removed with v12.
Parameters
- $controllerContext : ControllerContext
-
The controller context to set
setControllerName()
public
setControllerName(string $controllerName) : mixed
Parameters
- $controllerName : string
Tags
setRequest()
public
setRequest(Request $request) : void
Parameters
- $request : Request
this might change to use a PSR-7 compliant request
Tags
addInterceptorsToParserConfiguration()
protected
addInterceptorsToParserConfiguration(iterable<string|int, mixed> $interceptors, Configuration $parserConfiguration) : void
Parameters
- $interceptors : iterable<string|int, mixed>
- $parserConfiguration : Configuration