PrepareTypoScriptFrontendRendering implements MiddlewareInterface

Initialization of TypoScriptFrontendController

Do all necessary preparation steps for rendering

Internal

this middleware might get removed in TYPO3 v10.x.

Table of Contents

Interfaces

MiddlewareInterface

Properties

$timeTracker  : TimeTracker

Methods

__construct()  : mixed
process()  : ResponseInterface
Initialize TypoScriptFrontendController to the point right before rendering of the page is triggered
convertCharsetRecursivelyToUtf8()  : mixed
Small helper function to convert charsets for arrays to UTF-8

Properties

Methods

process()

Initialize TypoScriptFrontendController to the point right before rendering of the page is triggered

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

convertCharsetRecursivelyToUtf8()

Small helper function to convert charsets for arrays to UTF-8

protected convertCharsetRecursivelyToUtf8(mixed &$data, string $fromCharset) : mixed
Parameters
$data : mixed

given by reference (string/array usually)

$fromCharset : string

convert FROM this charset


        
On this page

Search results