RecursiveIteratorIterator::__construct Construct a RecursiveIteratorIterator &reftitle.description; RecursiveIteratorIterator::__construct Traversableiterator intmodeLEAVES_ONLY intflags0 Creates a RecursiveIteratorIterator from a RecursiveIterator. &warn.undocumented.func; &reftitle.parameters; iterator The iterator being constructed from, which is from a RecursiveIterator or IteratorAggregate. mode The mode. Options are LEAVES_ONLY (default), SELF_FIRST and CHILD_FIRST. flags &reftitle.returnvalues;