For knowing the predefined classes you should know about the Standard Classes. These classes are defined in the standard class set of PHP included with all versions of PHP. Directory - The class that can instantiate dir are :
PHP Code:
Directory (
string $ path;
resource $ handle;
string read (void)
void rewind (void)
void close (void)
)
A pseudo-object mechanism allows playback of a file. The given directory is opened. Two properties are available once the file open: the pointer can be used with other functions such as readdir (), rewinddir () and closedir (). The folder path is the path provided during the construction of the object.
Bookmarks