From: Marcus Boerger Date: Thu, 4 Dec 2003 20:01:46 +0000 (+0000) Subject: Update X-Git-Tag: php-5.0.0b3RC1~316 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d79ca1c853e279f670d036cd2ae18048e64d9c3d;p=php Update --- diff --git a/ext/spl/spl.php b/ext/spl/spl.php index 172660f13e..ec92c84683 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -149,6 +149,9 @@ class ArrayIterator implements Iterator { function hasMore(); } +/** Iterator that wrapps around another iterator and only returns selected + * elements of the inner iterator. + */ abstract class FilterIterator implements Iterator { /** Construct an instance form a Iterator. * @@ -182,6 +185,9 @@ abstract class FilterIterator implements Iterator { function hasMore(); } +/** A recursive iterator that only returns elements that themselves can be + * trversed. + */ class ParentIterator extends FilterIterator implements RecursiveIterator { /** Construct an instance form a RecursiveIterator. * @@ -265,7 +271,7 @@ class DirectoryIterator implements Iterator { function isDot(); } -/** \brief Directory iterator +/** \brief recursive directory iterator */ class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator {