php - Codeigniter Autoloading Entire Folder -


i'm new codeigniter , have been reading autoloader functions. example in application/config/autoload.php can add file names assigned array have autoload. not want. have option add custom files these folders below

| 1. packages | 2. libraries | 3. drivers | 4. helper files | 5. custom config files | 6. language files | 7. models

in scenario, i'd add folder called "objects" @ same level folders listed above. add 8. objects list of available autoload paths.

but problem file must specify filenames of files want autoloaded in directory. i'd autoload entire directory of "objects". i've been searching right spot hours feel im going in circles in code.

so ultimate questions are... 1. can add new autoload path controllers? 2. how can load within new folder?

thanks in advance.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -