FOF30\Platform\FilesystemInterface::folderFolders PHP Метод

folderFolders() публичный Метод

Utility function to read the folders in a folder.
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.
    public function folderFolders($path, $filter = '.', $recurse = false, $full = false, $exclude = array('.svn', 'CVS', '.DS_Store', '__MACOSX'), $excludefilter = array('^\\..*'));