PEAR_PackageFileManager_File::dirList()

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

Synopsis

require_once 'PEAR/PackageFileManager/File.php';

array PEAR_PackageFileManager_File::dirList (string $directory)

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.