PHP Class FluidTYPO3\Vhs\ViewHelpers\IfViewHelper

Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper
Afficher le fichier Open project: fluidtypo3/vhs

Protected Properties

Свойство Type Description
$comparisonOperators array
$logicalOperators array
$operatorPrecedence array Lower value means less precedence

Méthodes publiques

Méthode Description
initializeArguments ( ) : void Initialize

Méthodes protégées

Méthode Description
evaluateCondition ( array $arguments = null ) : boolean This method decides if the condition is TRUE or FALSE. It can be overriden in extending viewhelpers to adjust functionality.
evaluateLogicalOperator ( array $leftSide, string $operator, array $rightSide ) : boolean
evaluateStack ( array $stack ) : boolean
prepareSideForEvaluation ( array $side ) : array

Method Details

evaluateCondition() protected static méthode

This method decides if the condition is TRUE or FALSE. It can be overriden in extending viewhelpers to adjust functionality.
protected static evaluateCondition ( array $arguments = null ) : boolean
$arguments array ViewHelper arguments to evaluate the condition for this ViewHelper, allows for flexiblity in overriding this method.
Résultat boolean

evaluateLogicalOperator() protected static méthode

protected static evaluateLogicalOperator ( array $leftSide, string $operator, array $rightSide ) : boolean
$leftSide array
$operator string
$rightSide array
Résultat boolean

evaluateStack() protected static méthode

protected static evaluateStack ( array $stack ) : boolean
$stack array
Résultat boolean

initializeArguments() public méthode

Initialize
public initializeArguments ( ) : void
Résultat void

prepareSideForEvaluation() protected static méthode

protected static prepareSideForEvaluation ( array $side ) : array
$side array
Résultat array

Property Details

$comparisonOperators protected_oe static_oe property

protected static array $comparisonOperators
Résultat array

$logicalOperators protected_oe static_oe property

protected static array $logicalOperators
Résultat array

$operatorPrecedence protected_oe static_oe property

Lower value means less precedence
protected static array $operatorPrecedence
Résultat array