If ViewHelper <f:if>
This ViewHelper implements an if/else condition.
Go to the source code of this ViewHelper: IfViewHelper.php (GitHub).
Arguments of the <f:if> ViewHelper
condition
-
- Type
- boolean
- Default
- false
Condition expression conforming to Fluid boolean rules
else
-
- Type
- mixed
Value to be returned if the condition if not met.
then
-
- Type
- mixed
Value to be returned if the condition if met.