Builds list of files for PEAR_PackageFileManager using a Phing FileSet.
Some code here is taken from PEAR_PackageFileManager_File -- getting results from flat array into the assoc array expected from getFileList().
| author |
Greg Beaver |
|---|---|
| author |
Hans Lellelid hans@xmpl.org |
| package |
phing.tasks.ext.pearpackage |
| version |
$Id$ |
__construct($options)
'project' and 'filesets' are the only options that this class uses.
getFileList() : array
This function performs the backend generation of the array containing all files in this package
arraystructure of all files to include
setupDirs($struc, $dir, $contents) : array
The contents of $struc have many indexes like 'dir/subdir/subdir2'. This function converts them to array('dir' => array('subdir' => array('subdir2')))
arraysame as struc but with array('dir' => array(file1,file2,'subdir' => array(file1,...)))
setDir($dir, $contents) : array
arrayprocessed $dir
sortfiles($a, $b)
| access |
private |
|---|
mystrucsort($a, $b)
filesets : array
| var |
FileSet[] |
|---|
array