PHP Class FluidTYPO3\Vhs\ViewHelpers\Condition\Variable\IssetViewHelper
Renders the
then child if the variable name given in
the
name argument exists in the template. The value
can be zero, NULL or an empty string - but the ViewHelper
will still return TRUE if the variable exists.
Combines well with dynamic variable names:
...
...
{foo -> v:condition.variable.isset(name: bar)}
Afficher le fichier
Open project: fluidtypo3/vhs
Méthodes publiques
Method Details
initializeArguments()
public méthode
renderStatic()
public static méthode
Default implementation for use in compiled templates
public static renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : mixed |
$arguments |
array |
|
$renderChildrenClosure |
Closure |
|
$renderingContext |
TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface |
|
Résultat |
mixed |
|