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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.