PHP 클래스 FluidTYPO3\Vhs\Utility\FrontendSimulationUtility

Utility to simulate frontend enviroment in backend enviroment.
파일 보기 프로젝트 열기: fluidtypo3/vhs 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

resetFrontendEnvironment() 공개 정적인 메소드

Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment()
또한 보기: simulateFrontendEnvironment()
public static resetFrontendEnvironment ( mixed $tsfeBackup ) : void
$tsfeBackup mixed
리턴 void

simulateFrontendEnvironment() 공개 정적인 메소드

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 simulateFrontendEnvironment ( ) : mixed
리턴 mixed