Pass current controller to Loader library. - 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: Pass current controller to Loader library. (/showthread.php?tid=10424) Pages:
1
2
|
Pass current controller to Loader library. - El Forum - 07-31-2008 [eluser]Rick Jolly[/eluser] For what it's worth, I use inheritance as you outlined in your second post. The explicit include/require also serves to document what file you're extending - very transparent. |