public folderFiles ( string $path, string $filter = '.', mixed $recurse = false, boolean $full = false, array $exclude = ['.svn', 'CVS', '.DS_Store', '__MACOSX'], array $excludefilter = ['^\..*', '.*~'] ) : array | ||
$path | string | The path of the folder to read. |
$filter | string | A filter for file names. |
$recurse | mixed | True to recursively search into sub-folders, or an integer to specify the maximum depth. |
$full | boolean | True to return the full path to the file. |
$exclude | array | Array with names of files which should not be shown in the result. |
$excludefilter | array | Array of filter to exclude |
return | array | Files in the given folder. |