RenderingContext extends RenderingContext
Table of Contents
Properties
- $controllerAction : string
- $controllerName : string
- $request : ServerRequestInterface|null
Methods
- __construct() : mixed
- buildParserConfiguration() : Configuration
- Build parser configuration. Adds custom fluid interceptors from configuration.
- getControllerAction() : string
- getControllerName() : string
- getRequest() : ServerRequestInterface|null
- setControllerAction() : void
- setControllerName() : void
- setRequest() : void
- It is currently allowed to setRequest(null) to unset a request object created by factories. Some tests use this to make sure no extbase request is set. This may change.
Properties
$controllerAction
protected
string
$controllerAction
= 'Default'
$controllerName
protected
string
$controllerName
= 'Default'
$request
protected
ServerRequestInterface|null
$request
= null
Methods
__construct()
public
__construct(ViewHelperResolver $viewHelperResolver, FluidCacheInterface $cache, array<string|int, mixed> $templateProcessors, array<string|int, mixed> $expressionNodeTypes, TemplatePaths $templatePaths) : mixed
Parameters
- $viewHelperResolver : ViewHelperResolver
- $cache : FluidCacheInterface
- $templateProcessors : array<string|int, mixed>
- $expressionNodeTypes : array<string|int, mixed>
- $templatePaths : TemplatePaths
constructor, use RenderingContextFactory->create()
instead
buildParserConfiguration()
Build parser configuration. Adds custom fluid interceptors from configuration.
public
buildParserConfiguration() : Configuration
Tags
Return values
ConfigurationgetControllerAction()
public
getControllerAction() : string
Return values
stringgetControllerName()
public
getControllerName() : string
Return values
stringgetRequest()
public
getRequest() : ServerRequestInterface|null
Return values
ServerRequestInterface|nullsetControllerAction()
public
setControllerAction(string $action) : void
Parameters
- $action : string
setControllerName()
public
setControllerName(string $controllerName) : void
Parameters
- $controllerName : string
setRequest()
It is currently allowed to setRequest(null) to unset a request object created by factories. Some tests use this to make sure no extbase request is set. This may change.
public
setRequest(ServerRequestInterface|null $request) : void
Parameters
- $request : ServerRequestInterface|null