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)}
Author: Claus Due ([email protected])
Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper
Afficher le fichier Open project: fluidtypo3/vhs

Méthodes publiques

Méthode Description
initializeArguments ( ) Initialize arguments
render ( ) : string Render
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : mixed Default implementation for use in compiled templates

Method Details

initializeArguments() public méthode

Initialize arguments
public initializeArguments ( )

render() public méthode

Render
public render ( ) : string
Résultat string

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