Package

ViewHelpers

ViewHelper Documentation

v:iterator.slice

Slice an Iterator by $start and $length.

Arguments

haystack anySimpleType

The input array/Traversable to reverse

start integer

Starting offset

length integer

Number of items to slice

preserveKeys boolean

Whether or not to preserve original keys

as string

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

ViewHelper Resources

Schema Resources