JCacheStorageFile::_filesInFolder
Utility function to quickly read the files in a folder.
Signature
protected function _filesInFolder(string
$path,
[string
$filter = '.',
[mixed
$recurse = false,
[boolean
$fullpath = false,
array
$exclude,
array
$excludefilter]]] )
Parameters
-
$path
- The path of the folder to read.
-
$filter
- A filter for file names.
-
$recurse
- True to recursively search into sub-folders, or an
-
$fullpath
- True to return the full path to the file.
-
$exclude
- Array with names of files which should not be shown in
-
$excludefilter
- Array of folder names to exclude
Returns
- array
- Files in the given folder.