FrontendSimulatorUtility

Utilities to simulate a frontend in backend context.

Internal

ONLY USED INTERNALLY, MIGHT CHANGE WITHOUT NOTICE!

Table of Contents

Properties

$tsfeBackup  : TypoScriptFrontendController|null

Methods

resetFrontendEnvironment()  : void
Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment()
simulateFrontendEnvironment()  : void
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle() relies on $GLOBALS['TSFE']

Properties

Methods

resetFrontendEnvironment()

Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment()

public static resetFrontendEnvironment() : void
Tags
see
simulateFrontendEnvironment()

simulateFrontendEnvironment()

\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle() relies on $GLOBALS['TSFE']

public static simulateFrontendEnvironment([ContentObjectRenderer|null $cObj = null ]) : void
Parameters
$cObj : ContentObjectRenderer|null = null

        
On this page

Search results