summaryrefslogtreecommitdiff
path: root/ext/spl/internal
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-09-15 03:54:42 +0000
committerMarcus Boerger <helly@php.net>2005-09-15 03:54:42 +0000
commit5ca5efcddac86caaa3bde57ad4fa78f5bc719d71 (patch)
tree5c8dd6feea50526c97aed02e4a1ae352bc3ed511 /ext/spl/internal
parentca8596ab83ca39cf1097684376a592147b2f3d9c (diff)
downloadphp-git-5ca5efcddac86caaa3bde57ad4fa78f5bc719d71.tar.gz
- Update docu
Diffstat (limited to 'ext/spl/internal')
-rwxr-xr-xext/spl/internal/parentiterator.inc13
1 files changed, 3 insertions, 10 deletions
diff --git a/ext/spl/internal/parentiterator.inc b/ext/spl/internal/parentiterator.inc
index 7fb0f11dd3..70f0bee796 100755
--- a/ext/spl/internal/parentiterator.inc
+++ b/ext/spl/internal/parentiterator.inc
@@ -12,14 +12,14 @@
/**
* @brief Iterator to filter parents
* @author Marcus Boerger
- * @version 1.1
- * @since PHP 5.0
+ * @version 1.2
+ * @since PHP 5.1
*
* This extended FilterIterator allows a recursive iteration using
* RecursiveIteratorIterator that only shows those elements which have
* children.
*/
-class ParentIterator extends FilterIterator implements RecursiveIterator
+class ParentIterator extends RecursiveFilterIterator
{
/** @param $it the RecursiveIterator to filter
*/
@@ -35,13 +35,6 @@ class ParentIterator extends FilterIterator implements RecursiveIterator
return $this->it->hasChildren();
}
- /** @return whether the current element has children
- */
- function hasChildren()
- {
- return $this->it->hasChildren();
- }
-
/** @return the ParentIterator for the current elements children
*/
function getChildren()