Package

ViewHelpers

ViewHelper Documentation

v:iterator.next

Returns next element in array $haystack from position of $needle

Arguments

then anySimpleType

Value to be returned if the condition if met.

else anySimpleType

Value to be returned if the condition if not met.

needle anySimpleType

Needle to search for in haystack

haystack anySimpleType

Haystack in which to look for needle

considerKeys boolean

Tell whether to consider keys in the search assuming haystack is an array.

ViewHelper Resources

Schema Resources