Search Results
The RecursiveDirectoryIterator class Table of Contents ¶ RecursiveDirectoryIterator::__construct — Constructs a RecursiveDirectoryIterator RecursiveDirectoryIterator::getChildren — Returns an iterator for the current entry if it is a directory RecursiveDirectoryIterator::getSubPath — Get sub path RecursiveDirectoryIterator::getSubPathname — Get sub path and name ...
- Recursiveiteratoriterator
The RecursiveIteratorIterator class Table of Contents ¶...
- Directoryiterator
The DirectoryIterator class Introduction ¶ The...
- Splfileinfo
The SplFileInfo class Introduction ¶ The SplFileInfo class...
- Splfileobject
Introduction ¶ The SplFileObject class offers an...
- Recursivearrayiterator
Introduction ¶ This iterator allows for unsetting and...
- Filesystemiterator
The FilesystemIterator class
- Regexiterator
The RegexIterator class In case the difference between modes...
- Cachingiterator
Table of Contents ¶ CachingIterator::__construct — Construct...
- Recursiveiteratoriterator
Flags may be provided which will affect the behavior of some methods. A list of the flags can found under FilesystemIterator predefined constants. They can also be set later with FilesystemIterator::setFlags ().
path The path of the directory to be iterated over. flags Flags may be provided which will affect the behavior of some methods. A list of the flags can found under FilesystemIterator predefined constants. They can also be set later with FilesystemIterator::setFlags(). Return Values Returns the newly created RecursiveDirectoryIterator. Errors ...
Parameters path The path of the directory to be iterated over. flags Flags may be provided which will affect the behavior of some methods. A list of the flags can found under FilesystemIterator predefined constants. They can also be set later with FilesystemIterator::setFlags ().
I'm trying to go through all of the files in a directory, and if there is a directory, go through all of its files and so on until there are no more directories to go to. Each and every processed i...
See Also FilesystemIterator::__construct () - Constructs a new filesystem iterator RecursiveIteratorIterator::__construct () - Construct a RecursiveIteratorIterator FilesystemIterator predefined constants
RecursiveDirectoryIterator::__construct — Constructs a RecursiveDirectoryIterator RecursiveDirectoryIterator::getChildren — Returns an iterator for the current entry if it is a directory
