note 95239 added to class.recursivedirectoryiterator
| From: | pekka at gmx dot de | Date: | Sun, 20 Dec 2009 22:24:42 +0000 |
| Subject: | note 95239 added to class.recursivedirectoryiterator | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164166@lists.php.net to get a copy of this message | ||
DirectoryIterator / RecursiveDirectoryIterator have proven to me as totally useless until they have
proper sorting functions. You can't even sort to have sub-directories grouped to the beginning
or the end of the results. Any effort to sort them requires taking them out of the Iterator, and
putting them into a normal array.
----
Server IP: 217.160.72.57
Probable Submitter: 78.34.240.198
----
Manual Page -- http://www.php.net/manual/en/class.recursivedirectoryiterator.php
Edit -- https://master.php.net/note/edit/95239
Del: integrated -- https://master.php.net/note/delete/95239/integrated
Del: useless -- https://master.php.net/note/delete/95239/useless
Del: bad code -- https://master.php.net/note/delete/95239/bad+code
Del: spam -- https://master.php.net/note/delete/95239/spam
Del: non-english -- https://master.php.net/note/delete/95239/non-english
Del: in docs -- https://master.php.net/note/delete/95239/in+docs
Del: other reasons-- https://master.php.net/note/delete/95239
Reject -- https://master.php.net/note/reject/95239
Search -- https://master.php.net/manage/user-notes.php