![]() |
Is it possible to reference function in controller ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Is it possible to reference function in controller ? (/showthread.php?tid=31188) |
Is it possible to reference function in controller ? - El Forum - 06-09-2010 [eluser]dhaulagiri[/eluser] Hi guys if i am writing one function but some of the actions needs to perform in this function is already on the another function on the same controller. Is it possible to reference ? Is it possible to reference function in controller ? - El Forum - 06-09-2010 [eluser]GSV Sleeper Service[/eluser] yes, just call it using $this->function_name() |