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.

Set up the File filelist generator (Previous) Generate the <filelist></filelist> section of the package file. (Next)
Last updated: Wed, 27 Aug 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.