Package

ViewHelpers

ViewHelper Documentation

v:iterator.explode

Explode ViewHelper

Explodes a string by $glue.

Arguments

content string

String to be exploded by glue

glue string

String "glue" that separates values. If you need a constant (like PHP_EOL), use v:const to read it.

limit anySimpleType

If limit is set and positive, the returned array will contain a maximum of limit elements with the last element containing the rest of string. If the limit parameter is negative, all components except the last-limit are returned. If the limit parameter is zero, then this is treated as 1.

as string

Template variable name to assign; if not specified the ViewHelper returns the variable instead.

ViewHelper Resources

Schema Resources