File_Find::mapTreeMultiple()

File_Find::mapTreeMultiple() -- create a recursive view map for a directory

Referentiesamenvatting

require_once 'File/Find.php';

array &File_Find::mapTreeMultiple (string $directory [, integer $maxrecursion = 0 [, integer $count = 0]])

Beschrijving

Map the directory tree given by the directory_path parameter. Depending on maxrecursion you get the content of the directory and the content of the subdirectories too.

Parameter

Return waarde

array - a multidimensional array containing all subdirectories and their files

Note

Deze functie kan statisch worden aangeroepen.

Voorbeeld