PrepareTypoScriptFrontendRendering

class \TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering

Implements
MiddlewareInterface

Initialization of TypoScriptFrontendController

Do all necessary preparation steps for rendering

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