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)}
Show file
Open project: fluidtypo3/vhs
Public Methods
Method Details
initializeArguments()
public method
renderStatic()
public static method
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 |
|
return |
mixed |
|