cvs: php-src /ext/spl/examples directoryfilterdots.inc

From: Date: Tue, 31 Oct 2006 23:28:30 +0000
Subject: cvs: php-src /ext/spl/examples directoryfilterdots.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41271@lists.php.net to get a copy of this message
helly Tue Oct 31 23:28:30 2006 UTC Modified files: /php-src/ext/spl/examples directoryfilterdots.inc Log: - Fixed Bug #39090 DirectoryFilterDots doxygen docs and example is wrong http://cvs.php.net/viewvc.cgi/php-src/ext/spl/examples/directoryfilterdots.inc?r1=1.7&r2=1.8&diff_format=u Index: php-src/ext/spl/examples/directoryfilterdots.inc diff -u php-src/ext/spl/examples/directoryfilterdots.inc:1.7 php-src/ext/spl/examples/directoryfilterdots.inc:1.8 --- php-src/ext/spl/examples/directoryfilterdots.inc:1.7 Tue Feb 21 23:21:53 2006 +++ php-src/ext/spl/examples/directoryfilterdots.inc Tue Oct 31 23:28:30 2006 @@ -12,7 +12,7 @@ /** @ingroup Examples * @brief A filtered DirectoryIterator * @author Marcus Boerger - * @version 1.1 + * @version 1.2 * * This Iteraotr takes a pathname from which it creates a DirectoryIterator * and makes it recursive. Further more it filters the entries '.' and '..'. @@ -24,7 +24,7 @@ */ function __construct($path) { - parent::__construct(new DirectoryIterator($path)); + parent::__construct(new RecursiveDirectoryIterator($path)); } /** @return whether the current entry is neither '.' nor '..'

« previous php.cvs (#41271) next »