PrepareTypoScriptFrontendRendering implements MiddlewareInterface
Initialization of TypoScriptFrontendController
Do all necessary preparation steps for rendering
this middleware might get removed in TYPO3 v10.x.
Table of Contents
Interfaces
- MiddlewareInterface
Properties
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
$timeTracker
protected
TimeTracker
$timeTracker
Methods
__construct()
public
__construct(TimeTracker $timeTracker) : mixed
Parameters
- $timeTracker : TimeTracker
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
ResponseInterfaceconvertCharsetRecursivelyToUtf8()
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