Or ViewHelper <f:or>
¶
If content is empty use alternative text
Source code¶
Go to the source code of this ViewHelper: OrViewHelper.php (GitHub).
Arguments¶
The following arguments are available for <f:or>
:
-
content
¶ -
- Type
- mixed
Content to check if empty
-
alternative
¶ -
- Type
- mixed
Alternative if content is empty
-
arguments
¶ -
- Type
- mixed
Arguments to be replaced in the resulting string, using sprintf