forked from sjlu/CodeIgniter-Bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Directory
sjlu edited this page May 29, 2012
·
1 revision
The Directory Helper extends the current CodeIgniter Directory helper, this is auto-loaded. http://codeigniter.com/user_guide/helpers/directory_helper.html
dir2list gives your a directory as a list element, auto-languaging files into a nice title including the directory name. For example, if you create a directory named some_directory
, it will be renamed to Some Directory
for you to use. This function is not recursive. This is formatted as array(title => "Some Directory", path => "some_directory")
.