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
파일 보기 프로젝트 열기: fluidtypo3/vhs

공개 메소드들

메소드 설명
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