프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$configurationManager | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface | ||
$contentObject | TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer | ||
$imageInfo | array | Result of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::getImgResource() | |
$tsfeBackup | contains a backup of the current $GLOBALS['TSFE'] if used in BE mode | ||
$workingDirectoryBackup | string |
메소드 | 설명 | |
---|---|---|
initializeArguments ( ) : void | Initialize arguments. | |
injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void | ||
preprocessImage ( string | null $imageSource = null ) |
메소드 | 설명 | |
---|---|---|
resetFrontendEnvironment ( ) : void | Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment() | |
simulateFrontendEnvironment ( ) : void | Prepares $GLOBALS['TSFE'] for Backend mode This somewhat hacky work around is currently needed because the getImgResource() function of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer relies on those variables to be set |
public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void | ||
$configurationManager | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface | |
리턴 | void |
public preprocessImage ( string | null $imageSource = null ) | ||
$imageSource | string | null |
protected resetFrontendEnvironment ( ) : void | ||
리턴 | void |
protected simulateFrontendEnvironment ( ) : void | ||
리턴 | void |
protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager | ||
리턴 | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface |
protected ContentObjectRenderer,TYPO3\CMS\Frontend\ContentObject $contentObject | ||
리턴 | TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer |
protected array $imageInfo | ||
리턴 | array |
protected $tsfeBackup |