‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Utility\FrontendSimulatorUtility Class Reference

Static Public Member Functions

static simulateFrontendEnvironment (ContentObjectRenderer $cObj=null)
 
static resetFrontendEnvironment ()
 

Static Protected Attributes

static TypoScriptFrontendController null $tsfeBackup
 

Detailed Description

Utilities to simulate a frontend in backend context.

ONLY USED INTERNALLY, MIGHT CHANGE WITHOUT NOTICE!

Definition at line 29 of file FrontendSimulatorUtility.php.

Member Function Documentation

◆ resetFrontendEnvironment()

static TYPO3\CMS\Extbase\Utility\FrontendSimulatorUtility::resetFrontendEnvironment ( )
static

◆ simulateFrontendEnvironment()

static TYPO3\CMS\Extbase\Utility\FrontendSimulatorUtility::simulateFrontendEnvironment ( ContentObjectRenderer  $cObj = null)
static

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

Parameters
ContentObjectRenderer | null$cObj

Definition at line 40 of file FrontendSimulatorUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager\getConfiguration().

Member Data Documentation

◆ $tsfeBackup

TypoScriptFrontendController null TYPO3\CMS\Extbase\Utility\FrontendSimulatorUtility::$tsfeBackup
staticprotected