PHP FluidTYPO3\Vhs\ViewHelpers\Iterator Namespace

Classes

Name Description
AbstractLoopViewHelper Abstract class with basic functionality for loop view helpers.
ChunkViewHelper Creates chunks from an input Array/Traversable with option to allocate items to a fixed number of chunks
ColumnViewHelper ### Iterator Column Extraction ViewHelper
DiffViewHelper Computes the difference of arrays.
ExplodeViewHelper Explode ViewHelper
ExtractViewHelper ### Iterator / Extract VieWHelper
FilterViewHelper ### Iterator: Filter ViewHelper
FirstViewHelper Returns the first element of $haystack.
ForViewHelper Repeats rendering of children with a typical for loop: starting at index $from it will loop until the index has reached $to.
ImplodeViewHelper Implode ViewHelper
IndexOfViewHelper Searches $haystack for index of $needle, returns -1 if $needle is not in $haystack.
IntersectViewHelper Intersects arrays/Traversables $a and $b into an array.
KeysViewHelper Gets keys from an iterator.
LastViewHelper Returns the last element of $haystack.
LoopViewHelper Repeats rendering of children $count times while updating $iteration.
MergeViewHelper Merges arrays/Traversables $a and $b into an array
NextViewHelper Returns next element in array $haystack from position of $needle.
PopViewHelper Pops the last value off $subject (but does not change $subject itself as array_pop would).
PreviousViewHelper Returns previous element in array $haystack from position of $needle.
PushViewHelper Adds one variable to the end of the array and returns the result.
RandomViewHelper Returns random element from array.
RangeViewHelper ### Iterator Range ViewHelper
ReverseViewHelper ### Iterator Reversal ViewHelper
ShiftViewHelper Shifts the first value off $subject (but does not change $subject itself as array_shift would).
SliceViewHelper Slice an Iterator by $start and $length.
SortViewHelper Sorts an instance of ObjectStorage, an Iterator implementation, an Array or a QueryResult (including Lazy counterparts).
UniqueViewHelper ### Iterator Unique Values ViewHelper
ValuesViewHelper Gets values from an iterator, removing current keys (if any exist)