메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public static simulateFrontendEnvironment ( ) : mixed | ||
리턴 | mixed |