Package

ViewHelpers

ViewHelper Documentation

v:iterator.random

Returns random element from array.

Arguments

subject anySimpleType

The subject Traversable/Array instance from which to select a random element

as string

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

ViewHelper Resources

Schema Resources