(PHP 5 >= 5.1.3)
RecursiveIteratorIterator::__construct — Construct a RecursiveIteratorIterator
Creates a RecursiveIteratorIterator from a RecursiveIterator.
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
The iterator being constructed from, which is from a RecursiveIterator or IteratorAggregate.
The mode. Options are LEAVES_ONLY (default), SELF_FIRST and CHILD_FIRST.
Note: the missing documentation of the argument list for this constructor is currently as follows (according to source code).
Param iter: see RecursiveIterator
Param mode:
- LEAVES_ONLY = (default) only iterate leaves
- SELF_FIRST = iterate parents prior to children
- CHILD_FIRST = iterate children prior to parents
Param flags:
- CATCH_GET_CHILD = ignore exceptions in getChildren() call
Note that LEAVES_ONLY, SELF_FIRST and CHILD_FIRST do not work by themselves.
They are class constants so you need to use RecursiveIteratorIterator::LEAVES_ONLY, etc.