PHP Класс 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)}
Автор: Claus Due ([email protected])
Наследование: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper
Показать файл Открыть проект

Открытые методы

Метод Описание
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

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

initializeArguments() публичный Метод

Initialize arguments
public initializeArguments ( )

render() публичный Метод

Render
public render ( ) : string
Результат string

renderStatic() публичный статический Метод

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
Результат mixed