diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-04-27 17:36:50 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-04-27 17:36:50 +0200 |
commit | 01b129a42b62fd08cd873f44ded026041b560420 (patch) | |
tree | d34d5e987196bccd19684388e4f161c8a66269b5 /system/helpers/directory_helper.php | |
parent | 2fbd57d6d58afd64caa841a876e9773272275526 (diff) |
Fix docblocks A-H
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)) |