EndsWith ViewHelper <f:endsWith>
EndsWith ViewHelper checks if the subject string ends with a specified string. This ViewHelper implements an if/else condition.
Go to the source code of this ViewHelper: EndsWithViewHelper.php (GitHub).
Arguments of the <f:endsWith> ViewHelper
else
-
- Type
- mixed
Value to be returned if the condition if not met.
search
-
- Type
- string
- Required
- 1
String to search in subject at the beginning
subject
-
- Type
- string
- Required
- 1
String to search in
then
-
- Type
- mixed
Value to be returned if the condition if met.