diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-04-27 17:47:35 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-04-27 17:47:35 +0200 |
commit | fe11f14a62a5a761c790621c7c3f5a79d9d0c741 (patch) | |
tree | d34d5e987196bccd19684388e4f161c8a66269b5 /system/helpers/directory_helper.php | |
parent | 2fbd57d6d58afd64caa841a876e9773272275526 (diff) | |
parent | 01b129a42b62fd08cd873f44ded026041b560420 (diff) |
Merge pull request #1299 from timw4mail/patch
Fix helper docblocks
Diffstat (limited to 'system/helpers/directory_helper.php')
-rw-r--r-- | system/helpers/directory_helper.php | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/system/helpers/directory_helper.php b/system/helpers/directory_helper.php index 4044ace11..bda8fe8bb 100644 --- a/system/helpers/directory_helper.php +++ b/system/helpers/directory_helper.php @@ -37,19 +37,20 @@ // ------------------------------------------------------------------------ -/** - * Create a Directory Map - * - * Reads the specified directory and builds an array - * representation of it. Sub-folders contained with the - * directory will be mapped as well. - * - * @param string path to source - * @param int depth of directories to traverse (0 = fully recursive, 1 = current dir, etc) - * @return array - */ if ( ! function_exists('directory_map')) { + /** + * Create a Directory Map + * + * Reads the specified directory and builds an array + * representation of it. Sub-folders contained with the + * directory will be mapped as well. + * + * @param string path to source + * @param int depth of directories to traverse (0 = fully recursive, 1 = current dir, etc) + * @param bool whether to show hidden files + * @return array + */ function directory_map($source_dir, $directory_depth = 0, $hidden = FALSE) { if ($fp = @opendir($source_dir)) |