Helping ordinary people create extraordinary websites!


PEAR_PackageFileManager_File::dirList()

PEAR_PackageFileManager_File::dirList() -- Retrieve a listing of every file in $directory and all subdirectories.

Description

The return format is an array of full paths to files

Parameter

string $directory

full path to the directory you want the list of

Return value

returns list of files in a directory

Throws

throws PEAR_PACKAGEFILEMANAGER_DIR_DOESNT_EXIST

Note

This function can not be called statically.