forwarding the request from the 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: forwarding the request from the controller (/showthread.php?tid=40596) |
forwarding the request from the controller - El Forum - 04-13-2011 [eluser]Unknown[/eluser] Hello, I have a situation like, I need to call another controller function for controller. Both have nothing in common. ex : Controller A{ function task1(){ loading view1; } } Controller B{ function tast2(){ // do something here then // call controller A:task1() here } Thanks in advance for you valuable suggestions. Regards Sri } forwarding the request from the controller - El Forum - 04-13-2011 [eluser]InsiteFX[/eluser] If both have nothing in common then why are you trying to do that? If you find that you need something in different places think about creating a library or helper! InsiteFX |