CodeIgniter Forums
An array of classes in CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: An array of classes in CI (/showthread.php?tid=29485)



An array of classes in CI - El Forum - 04-11-2010

[eluser]Unknown[/eluser]
As far as I know, you don't just create a class in CI but rather a 'library', and then load it.
When loading a library, an instance object is created named the same as the libraries' name (or the by the name of the third parameter).
My question is, how can I create an array of objects (libraries I guess)?

Thanks!