PHP Класс FluidTYPO3\Vhs\ViewHelpers\Media\Image\AbstractImageViewHelper

Наследование: extends FluidTYPO3\Vhs\ViewHelpers\Media\AbstractMediaViewHelper
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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