ViewHelper Documentation
v:iterator.filter
Iterator: Filter ViewHelper
Filters an array by filtering the array, analysing each member
and assering if it is equal to (weak type) the filter
parameter.
If propertyName
is set, the ViewHelper will try to extract this
property from each member of the array.
Iterators and ObjectStorage etc. are supported.
Arguments
subject anySimpleType
The subject iterator/array to be filtered
filter anySimpleType
The comparison value
propertyName string
Optional property name to extract and use for comparison instead of the object; use on ObjectStorage etc. Note: supports dot-path expressions.
preserveKeys boolean
If TRUE, keys in the array are preserved - even if they are numeric
invert boolean
Invert the behavior of the view helper