public folderFolders ( 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 folder 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 folders. |
$exclude | array | Array with names of folders which should not be shown in the result. |
$excludefilter | array | Array with regular expressions matching folders which should not be shown in the result. |
Результат | array | Folders in the given folder. |