PHP Трейт Neos\Fusion\ViewHelpers\TypoScriptContextTrait

It will only work when the ViewHelper in question is used in a TypoScriptAwareViewInterface. A property "viewHelperVariableContainer" is expected in classes that use this, which will be the case for any Fluid ViewHelper.
Показать файл Открыть проект

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

Метод Описание
getContextVariable ( string $variableName ) : mixed Get a variable value from the TypoScript runtime context.
hasContextVariable ( string $variableName ) : boolean

Описание методов

getContextVariable() защищенный Метод

Note: This will return NULL if the variable didn't exist.
См. также: hasContextVariable()
protected getContextVariable ( string $variableName ) : mixed
$variableName string
Результат mixed

hasContextVariable() защищенный Метод

protected hasContextVariable ( string $variableName ) : boolean
$variableName string
Результат boolean