JCacheStorageFile::_folders
Utility function to read the folders in a folder.
Signature
protected function _folders(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 folder names.
-
$recurse
- True to recursively search into sub-folders, or an integer to specify the maximum depth.
-
$fullpath
- True to return the full path to the folders.
-
$exclude
- Array with names of folders which should not be shown in the result.
-
$excludefilter
- Array with regular expressions matching folders which should not be shown in the result.
Returns
- array
- Folders in the given folder.