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

Paramètres

chaîne de caractères $directory

full path to the directory you want the list of

Valeur retournée

returns list of files in a directory

Valeurs renvoyées

throws PEAR_PACKAGEFILEMANAGER_DIR_DOESNT_EXIST

Note

Cette fonction ne peut pas être appelée de façon statique.