CodeIgniter Forums
Extending subclass and load it from package - 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: Extending subclass and load it from package (/showthread.php?tid=47404)



Extending subclass and load it from package - El Forum - 12-07-2011

[eluser]Dimitar[/eluser]
Hi there,

Did anybody manage to load a subclass from package, not from the application?

Let's say we have multiple apps which need an extended version of library or helper. In order to not add the subclass in every of the apps, is there a way to place it in the package and let CI know where to search for it?