PHP Класс FluidTYPO3\Vhs\ViewHelpers\Resource\AbstractImageViewHelper

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

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

Свойство Тип Описание
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
$contentObject TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
$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
preprocessImages ( array $files, boolean $onlyProperties = false ) : array | null
preprocessSourceUri ( string $source ) : string Turns a relative source URI into an absolute URL if required

Защищенные методы

Метод Описание
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

preprocessImages() публичный Метод

public preprocessImages ( array $files, boolean $onlyProperties = false ) : array | null
$files array
$onlyProperties boolean
Результат array | null

preprocessSourceUri() публичный Метод

Turns a relative source URI into an absolute URL if required
public preprocessSourceUri ( string $source ) : string
$source string
Результат string

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

$tsfeBackup защищенное свойство

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

$workingDirectoryBackup защищенное свойство

protected string $workingDirectoryBackup
Результат string