helly           Sun Oct 31 19:33:43 2004 EDT

  Modified files:              
    /php-src/ext/spl/examples   directoryfilterdots.inc 
  Log:
  - Update
  
  
http://cvs.php.net/diff.php/php-src/ext/spl/examples/directoryfilterdots.inc?r1=1.4&r2=1.5&ty=u
Index: php-src/ext/spl/examples/directoryfilterdots.inc
diff -u php-src/ext/spl/examples/directoryfilterdots.inc:1.4 
php-src/ext/spl/examples/directoryfilterdots.inc:1.5
--- php-src/ext/spl/examples/directoryfilterdots.inc:1.4        Fri Oct  8 17:12:15 
2004
+++ php-src/ext/spl/examples/directoryfilterdots.inc    Sun Oct 31 19:33:41 2004
@@ -12,12 +12,12 @@
 /** @ingroup Examples
  * @brief   A filtered DirectoryIterator
  * @author  Marcus Boerger
- * @version 1.0
+ * @version 1.1
  *
  * This Iteraotr takes a pathname from which it creates a DirectoryIterator
  * and makes it recursive. Further more it filters the entries '.' and '..'.
  */
-class DirectoryFilterDots extends FilterIterator implements RecursiveIterator
+class DirectoryFilterDots extends RecursiveFilterIterator
 {
        /** Construct from a path.
         * @param $path directory to iterate
@@ -33,21 +33,7 @@
        {
                return !$this->getInnerIterator()->isDot();
        }
-       
-       /** @return whether the current entry is a directory
-        */
-       function hasChildren()
-       {
-               return $this->getInnerIterator()->hasChildren();
-       }
 
-       /** @return the current subdirectory as a new DirectoryFilterDots instance.
-        */
-       function getChildren()
-       {
-               return new 
DirectoryFilterDots($this->getInnerIterator()->getPathname());
-       }
-       
        /** @return the current entries path name
         */
        function key()

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

Reply via email to