PHP 클래스 FluidTYPO3\Vhs\ViewHelpers\Media\Image\AbstractImageViewHelper

상속: extends FluidTYPO3\Vhs\ViewHelpers\Media\AbstractMediaViewHelper
파일 보기 프로젝트 열기: fluidtypo3/vhs 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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

메소드 상세

initializeArguments() 공개 메소드

Initialize arguments.
public initializeArguments ( ) : void
리턴 void

injectConfigurationManager() 공개 메소드

public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
리턴 void

preprocessImage() 공개 메소드

public preprocessImage ( string | null $imageSource = null )
$imageSource string | null

resetFrontendEnvironment() 보호된 메소드

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

simulateFrontendEnvironment() 보호된 메소드

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

프로퍼티 상세

$configurationManager 보호되어 있는 프로퍼티

protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager
리턴 TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface

$contentObject 보호되어 있는 프로퍼티

protected ContentObjectRenderer,TYPO3\CMS\Frontend\ContentObject $contentObject
리턴 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer

$imageInfo 보호되어 있는 프로퍼티

Result of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::getImgResource()
protected array $imageInfo
리턴 array

$tsfeBackup 보호되어 있는 프로퍼티

contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
protected $tsfeBackup

$workingDirectoryBackup 보호되어 있는 프로퍼티

protected string $workingDirectoryBackup
리턴 string