RecursiveCachingIterator::getChildrenReturn the inner iterator's children as a RecursiveCachingIterator Description
public RecursiveCachingIteratornull RecursiveCachingIterator::getChildren()
Returns the children of the current element, wrapped in a RecursiveCachingIterator that has the same flags. The children are retrieved from the inner iterator when the iterator moves to the element, so the same object is returned until the iterator moves on. ParametersThis function has no parameters. Return Values
The children of the current element, as a
RecursiveCachingIterator;
or ExamplesExample #1 Iterating over children The above example will output: a = 1 b: c = 2 d = 3 (last) e = 4 See Also
|