DIRECTORY(3) 1 DIRECTORY(3)
The Directory class
INTRODUCTION
Instances of Directory are created by calling the dir(3) function, not by the new operator.
CLASS SYNOPSIS
Directory
Directory
Properties
o public string$path
o public resource$handle
Methods
o public void Directory::close ([resource $dir_handle])
o public string Directory::read ([resource $dir_handle])
o public void Directory::rewind ([resource $dir_handle])
PROPERTIES
o $path
- The directory that was opened.
o $handle
- Can be used with other directory functions such as readdir(3), rewinddir(3) and closedir(3).
PHP Documentation Group DIRECTORY(3)