diff options
| author | Marcus Boerger <helly@php.net> | 2005-05-14 16:40:58 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-05-14 16:40:58 +0000 |
| commit | 626d781afd9adabd299b0df3d441b8e647d74fa4 (patch) | |
| tree | f96ba09b57968685ec8f44437cee488821f6e495 /ext/spl/internal | |
| parent | 416ea7638d757605506b9ae2df69c314c8a54cd6 (diff) | |
| download | php-git-626d781afd9adabd299b0df3d441b8e647d74fa4.tar.gz | |
- Execute both RecursiveIteratorIterator::beginChildren() and endChildren()
on the same level (while the actual child is available).
Diffstat (limited to 'ext/spl/internal')
| -rwxr-xr-x | ext/spl/internal/recursiveiteratoriterator.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/spl/internal/recursiveiteratoriterator.inc b/ext/spl/internal/recursiveiteratoriterator.inc index 65f9a20ba9..0e76de21dd 100755 --- a/ext/spl/internal/recursiveiteratoriterator.inc +++ b/ext/spl/internal/recursiveiteratoriterator.inc @@ -164,14 +164,15 @@ class RecursiveIteratorIterator implements OuterIterator return $this->ait[$this->count]->getChildren(); } - /** Called right after calling getChildren() + /** Called right after calling getChildren() and its rewind(). * @since PHP 5.1 */ function beginChildren() { } - /** Called after current child iterator is invalid + /** Called after current child iterator is invalid and right before it + * gets destructed. * @since PHP 5.1 */ function endChildren() |
