diff --git a/reference/spl/interfaces.xml b/reference/spl/interfaces.xml index 32d34157f3..6bc48a5c9b 100644 --- a/reference/spl/interfaces.xml +++ b/reference/spl/interfaces.xml @@ -1,5 +1,5 @@ - + @@ -29,10 +29,10 @@ &reference.spl.countable; + &reference.spl.recursiveiterator; &reference.spl.seekableiterator; diff --git a/reference/spl/recursiveiterator.xml b/reference/spl/recursiveiterator.xml new file mode 100644 index 0000000000..0dacc3581b --- /dev/null +++ b/reference/spl/recursiveiterator.xml @@ -0,0 +1,78 @@ + + + + + + The RecursiveIterator interface + RecursiveIterator + + + + +
+ &reftitle.intro; + + Classes implementing RecursiveIterator can be used to iterate + over iterators. + +
+ + +
+ &reftitle.interfacesynopsis; + + + + RecursiveIterator + + + + + RecursiveIterator + + + + extends + Iterator + + + + + + Methods + + + Inherited methods + + + + +
+ +
+ + &reference.spl.entities.recursiveiterator; + +
+ + + diff --git a/reference/spl/recursiveiterator/getchildren.xml b/reference/spl/recursiveiterator/getchildren.xml new file mode 100644 index 0000000000..ea5833ec15 --- /dev/null +++ b/reference/spl/recursiveiterator/getchildren.xml @@ -0,0 +1,61 @@ + + + + + RecursiveIterator::getChildren + Returns an iterator for the current entry. + + + &reftitle.description; + + public RecursiveIteratorRecursiveIterator::getChildren + + + + Returns an iterator for the current iterator entry. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + An iterator for the current entry. + + + + + &reftitle.seealso; + + + RecursiveIterator::hasChildren + + + + + + + diff --git a/reference/spl/recursiveiterator/haschildren.xml b/reference/spl/recursiveiterator/haschildren.xml new file mode 100644 index 0000000000..ed29128be8 --- /dev/null +++ b/reference/spl/recursiveiterator/haschildren.xml @@ -0,0 +1,64 @@ + + + + + RecursiveIterator::hasChildren + Returns if an iterator can be created fot the current entry. + + + &reftitle.description; + + public boolRecursiveIterator::hasChildren + + + + Returns if an iterator can be created fot the current entry. + RecursiveIterator::getChildren. + + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Returns &true; if the current entry can be iterated over, otherwise returns &false;. + + + + + + &reftitle.seealso; + + + RecursiveIterator::getChildren + + + + + + +