Replace ViewHelper <f:replace>
The ReplaceViewHelper replaces one or multiple strings with other
strings. This ViewHelper mimicks PHP's
str_ function.
However, it's also possible to provide replace pairs as associative array
via the "replace" argument.
Go to the source code of this ViewHelper: ReplaceViewHelper.php (GitHub).
Arguments of the <f:replace> ViewHelper
replace
-
- Type
- mixed
- Required
- 1
search
-
- Type
- mixed
value
-
- Type
- string