Method | Description | |
---|---|---|
resetFrontendEnvironment ( mixed $tsfeBackup ) : void | Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment() | |
simulateFrontendEnvironment ( ) : mixed | Sets the global variables $GLOBALS['TSFE']->csConvObj and $GLOBALS['TSFE']->renderCharset in Backend mode This somewhat hacky work around is currently needed because the conv_case() and convCaseFirst() functions of tslib_cObj rely on those variables to be set |
public static resetFrontendEnvironment ( mixed $tsfeBackup ) : void | ||
$tsfeBackup | mixed | |
return | void |
public static simulateFrontendEnvironment ( ) : mixed | ||
return | mixed |