]> granicus.if.org Git - php/commitdiff
- Update docu
authorMarcus Boerger <helly@php.net>
Thu, 15 Sep 2005 03:54:42 +0000 (03:54 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 15 Sep 2005 03:54:42 +0000 (03:54 +0000)
ext/spl/internal/parentiterator.inc

index 7fb0f11dd36dfd84035e68be8d0e1bdb300e23ed..70f0bee796b05cb364526d64f81219fcfa6f37d4 100755 (executable)
 /**
  * @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()