FluidViewAdapter implements ViewInterface, ViewInterface, TemplateAwareViewInterface

Read onlyYes

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

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.
getLayoutRootPaths()  : array<string|int, mixed>
getPartialRootPaths()  : array<string|int, mixed>
getRenderingContext()  : RenderingContextInterface
getTemplatePaths()  : TemplatePaths
getTemplateRootPaths()  : array<string|int, mixed>
getViewHelperResolver()  : ViewHelperResolver
hasTemplate()  : bool
initializeRenderingContext()  : void
render()  : string
Renders the view. Optionally receives a template location.
renderPartial()  : string
renderSection()  : string
setCache()  : void
setFormat()  : void
setLayoutPathAndFilename()  : void
setLayoutRootPaths()  : void
setPartialRootPaths()  : void
setRenderingContext()  : void
setRequest()  : void
setTemplate()  : void
setTemplatePathAndFilename()  : void
setTemplateRootPaths()  : void
setTemplateSource()  : 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

getLayoutRootPaths()

public getLayoutRootPaths() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPartialRootPaths()

public getPartialRootPaths() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRenderingContext()

public getRenderingContext() : RenderingContextInterface
Return values
RenderingContextInterface

getTemplatePaths()

public getTemplatePaths() : TemplatePaths
Return values
TemplatePaths

getTemplateRootPaths()

public getTemplateRootPaths() : array<string|int, mixed>
Return values
array<string|int, mixed>

getViewHelperResolver()

public getViewHelperResolver() : ViewHelperResolver
Return values
ViewHelperResolver

hasTemplate()

public hasTemplate() : bool
Return values
bool

initializeRenderingContext()

public initializeRenderingContext() : void

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 ]) : string
Parameters
$partialName : mixed
$sectionName : mixed
$variables : array<string|int, mixed>
$ignoreUnknown : mixed = false
Return values
string

renderSection()

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

setCache()

public setCache(FluidCacheInterface $cache) : void
Parameters
$cache : FluidCacheInterface

setFormat()

public setFormat(string $format) : void
Parameters
$format : string

setLayoutPathAndFilename()

public setLayoutPathAndFilename(string $layoutPathAndFilename) : void
Parameters
$layoutPathAndFilename : string

setLayoutRootPaths()

public setLayoutRootPaths(array<string|int, mixed> $layoutRootPaths) : void
Parameters
$layoutRootPaths : array<string|int, mixed>

setPartialRootPaths()

public setPartialRootPaths(array<string|int, mixed> $partialRootPaths) : void
Parameters
$partialRootPaths : array<string|int, mixed>

setRenderingContext()

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

setRequest()

public setRequest([ServerRequestInterface|null $request = null ]) : void
Parameters
$request : ServerRequestInterface|null = null

setTemplate()

public setTemplate(string $templateName) : void
Parameters
$templateName : string

setTemplatePathAndFilename()

public setTemplatePathAndFilename(string $templatePathAndFilename) : void
Parameters
$templatePathAndFilename : string

setTemplateRootPaths()

public setTemplateRootPaths(array<string|int, mixed> $templateRootPaths) : void
Parameters
$templateRootPaths : array<string|int, mixed>

setTemplateSource()

public setTemplateSource(string $templateSource) : void
Parameters
$templateSource : string

        
On this page

Search results