helly           Wed Sep 14 23:54:42 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/spl/internal   parentiterator.inc 
  Log:
  - Update docu
  
http://cvs.php.net/diff.php/php-src/ext/spl/internal/parentiterator.inc?r1=1.5&r2=1.5.2.1&ty=u
Index: php-src/ext/spl/internal/parentiterator.inc
diff -u php-src/ext/spl/internal/parentiterator.inc:1.5 
php-src/ext/spl/internal/parentiterator.inc:1.5.2.1
--- php-src/ext/spl/internal/parentiterator.inc:1.5     Wed Feb 16 19:24:57 2005
+++ php-src/ext/spl/internal/parentiterator.inc Wed Sep 14 23:54:42 2005
@@ -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 @@
                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()

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to