File_Find::maptree()

File_Find::maptree()

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

Description

Map the directory tree given by the directory_path parameter.

Parameter

  • string $directory - contains the directory path that you want to map

Return value

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.

Note

This function can be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.