============================================== Feature: #68538 - Introduced ImplodeViewHelper ============================================== Description =========== To be able to glue a array of strings together (f.i. to build a class attribute value) the ``f:format.implode`` ViewHelper is added. ViewHelper parameters: - array $values: array of elements to join - string $glue: String used as glue between elements (default: space) - bool $excludeEmptyValues: Remove empty elements (default: TRUE) Examples ======== Some examples of using ``fe:format.implode``: .. code-block:: html Output: ``className-1 className-2`` .. code-block:: html
Foo
Output: ``
Foo
``