DirectoryIterator object to iterate over child files or directories of a parent directory. To create one, call: 'dataDirectory$dirs()' or 'dataDirectory$files()'
dataDirectoryParent directory whose children we are iterating over.
typeFilterEither DATA_OBJECT_TYPE_FILE or DATA_OBJECT_TYPE_DIRECTORY.
markerPage marker while iterating over a directory with lots of entries.
firstWhether we have asked the server for anything for the first time.
indexThe current position of the directoryEntries list.
directoryEntriesThe list of children entries we are iterating over.
getNext()Returns the next element or stops if you have asked for a next element that does not exist.
hasNext()Returns TRUE if there are any more elements. FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.