Join ViewHelper <f:join>
The JoinViewHelper combines elements from an array into a single string. You can specify both a general separator and a special one for the last element, which serves as the delimiter between the elements.
Go to the source code of this ViewHelper: JoinViewHelper.php (GitHub).
Arguments of the <f:join> ViewHelper
separator
-
- Type
- string
- Default
- ''
The separator
separatorLast
-
- Type
- string
The separator for the last pair.
value
-
- Type
- array
An array