DirectoryIterator object to iterate over child files or directories of a parent directory. To create one, call: 'dataDirectory$dirs()' or 'dataDirectory$files()'
Parent directory whose children we are iterating over.
Either DATA_OBJECT_TYPE_FILE or DATA_OBJECT_TYPE_DIRECTORY.
Page marker while iterating over a directory with lots of entries.
Whether we have asked the server for anything for the first time.
The current position of the directoryEntries list.
The list of children entries we are iterating over.
Returns the next element or stops if you have asked for a next element that does not exist.
Returns TRUE if there are any more elements. FALSE otherwise.