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

subject anySimpleType

The subject Traversable/Array instance to shift

as string

If specified, inserts a template variable with this name, then renders the child content, then removes the variable

preserveKeys boolean

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

ViewHelper Resources

Schema Resources