File_Find::glob() | File_Find::mapTreeMultiple() |
File_Find | |
PEAR Manual | |
require_once 'File/Find.php'; |
array
&File_Find::maptree (
string $directory
)
Map the directory tree given by the directory_path parameter.
string $directory - contains the directory path that you want to map
array - a two element array, the first element containing a list of all the directories, the second element containing a list of all the files.
This function can be called statically.
Get the map of a directory
|
The above example will output something similar to:
|
File_Find::glob() | File_Find::mapTreeMultiple() |
File_Find | |
PEAR Manual | |