FluidViewAdapter implements ViewInterface, ViewInterface, TemplateAwareViewInterface

Read onlyYes

A view adapter that handles a Typo3Fluid view and implements generic ext:core ViewInterface.

Internal

This is a specific view adapter is not considered part of the Public TYPO3 API.

Table of Contents

Interfaces

ViewInterface
A generic view interface.
ViewInterface
TemplateAwareViewInterface

Properties

$view  : ViewInterface|TemplateAwareViewInterface

Methods

__construct()  : mixed
assign()  : self
Add a variable to the view data collection.
assignMultiple()  : self
Add multiple variables to the view data collection.
getRenderingContext()  : RenderingContextInterface
render()  : string
Renders the view. Optionally receives a template location.
renderPartial()  : mixed
renderSection()  : mixed
setRenderingContext()  : void

Properties

$view

protected ViewInterface|TemplateAwareViewInterface $view

Methods

__construct()

public __construct(ViewInterface|TemplateAwareViewInterface $view) : mixed
Parameters
$view : ViewInterface|TemplateAwareViewInterface

assign()

Add a variable to the view data collection.

public assign(string $key, mixed $value) : self
Parameters
$key : string
$value : mixed
Return values
self

assignMultiple()

Add multiple variables to the view data collection.

public assignMultiple(array<string|int, mixed> $values) : self
Parameters
$values : array<string|int, mixed>

Array of string keys with mixed-type values.

Return values
self

getRenderingContext()

public getRenderingContext() : RenderingContextInterface
Return values
RenderingContextInterface

render()

Renders the view. Optionally receives a template location.

public render([string $templateFileName = '' ]) : string
Parameters
$templateFileName : string = ''
Return values
string

renderPartial()

public renderPartial(mixed $partialName, mixed $sectionName, array<string|int, mixed> $variables[, mixed $ignoreUnknown = false ]) : mixed
Parameters
$partialName : mixed
$sectionName : mixed
$variables : array<string|int, mixed>
$ignoreUnknown : mixed = false

renderSection()

public renderSection(mixed $sectionName[, array<string|int, mixed> $variables = [] ][, mixed $ignoreUnknown = false ]) : mixed
Parameters
$sectionName : mixed
$variables : array<string|int, mixed> = []
$ignoreUnknown : mixed = false

setRenderingContext()

public setRenderingContext(RenderingContextInterface $renderingContext) : void
Parameters
$renderingContext : RenderingContextInterface

        
On this page

Search results