TYPO3
7.6
|
Static Public Member Functions | |
static | simulateFrontendEnvironment (\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $cObj=null) |
static | resetFrontendEnvironment () |
Static Protected Attributes | |
static | $tsfeBackup |
Utilities to simulate a frontend in backend context.
ONLY USED INTERNALLY, MIGHT CHANGE WITHOUT NOTICE!
Definition at line 22 of file FrontendSimulatorUtility.php.
|
static |
Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment()
Definition at line 50 of file FrontendSimulatorUtility.php.
References $GLOBALS.
|
static |
Sets the $TSFE->cObjectDepthCounter in Backend mode This somewhat hacky work around is currently needed because the cObjGetSingle() function of relies on this setting
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer | NULL | $cObj |
Definition at line 36 of file FrontendSimulatorUtility.php.
References $GLOBALS.
|
staticprotected |
Definition at line 27 of file FrontendSimulatorUtility.php.