PHP Trait 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.
Afficher le fichier Open project: neos/neos-development-collection

Méthodes protégées

Méthode Description
getContextVariable ( string $variableName ) : mixed Get a variable value from the TypoScript runtime context.
hasContextVariable ( string $variableName ) : boolean

Method Details

getContextVariable() protected méthode

Note: This will return NULL if the variable didn't exist.
See also: hasContextVariable()
protected getContextVariable ( string $variableName ) : mixed
$variableName string
Résultat mixed

hasContextVariable() protected méthode

protected hasContextVariable ( string $variableName ) : boolean
$variableName string
Résultat boolean