File_Find::maptree() (Previous) (Next) File_Find::search()

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

File_Find::mapTreeMultiple()

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

Description

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

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

  • integer $maxrecursion - defines the deep of recursive mapping of subdirectories

  • integer $count - can be ignored - internal parameter to track recursion level

Return value

array - a multidimensional array containing all subdirectories and their files

Note

This function can be called statically.

File_Find::maptree() (Previous) (Next) File_Find::search()

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.