File_Find::maptree()

File_Find::maptree() -- create a view map for a directory

Synopsis

require_once 'File/Find.php';

array &File_Find::maptree (string $directory)

Beschreibung

Map the directory tree given by the directory_path parameter.

Parameter

Rückgabewert

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.

Hinweise

Diese Methode kann statisch aufgerufen werden.

Beispiel