![]() |
Split controller? - 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: Split controller? (/showthread.php?tid=8590) |
Split controller? - El Forum - 05-23-2008 [eluser]modano[/eluser] Hi, Im working on a project and one controller file is just growing massively. Is there any way I can split a controller into more than one file, just to make it easier for me to work with it? thanks, modano Split controller? - El Forum - 05-23-2008 [eluser]Michael Wales[/eluser] No, PHP classes must remain within the same file. But - why not make it another class, if they serve functionally different purposes? Split controller? - El Forum - 05-23-2008 [eluser]modano[/eluser] thanks michael, yes i think im gonna have to restructure this a bit. ![]() |