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
Internal

constructor, use RenderingContextFactory->create() instead

buildParserConfiguration()

Build parser configuration. Adds custom fluid interceptors from configuration.

public buildParserConfiguration() : Configuration
Tags
throws
InvalidArgumentException

if a class not implementing InterceptorInterface was registered

Return values
Configuration

getControllerAction()

public getControllerAction() : string
Return values
string

getControllerName()

public getControllerName() : string
Return values
string

getRequest()

public getRequest() : ServerRequestInterface|null
Return values
ServerRequestInterface|null

setControllerAction()

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

        
On this page

Search results