Package

ViewHelpers

ViewHelper Documentation

v:iterator.chunk

Creates chunks from an input Array/Traversable with option to allocate items to a fixed number of chunks

Arguments

count integer

The count of items per chunk or if fixed number of chunks

fixed boolean

Whether to allocate items to a fixed number of chunks or not

preserveKeys boolean

If set to true, the original array keys will be preserved in the chunks

as string

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

subject anySimpleType

The subject Traversable/Array instance to shift

ViewHelper Resources

Schema Resources