CodeIgniter Forums
call_function() uses - 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: call_function() uses (/showthread.php?tid=28153)



call_function() uses - El Forum - 03-03-2010

[eluser]sandeep nami[/eluser]
Hi, i am unable to understand the uses of call_function()
Can any one give some examples of its usage

BTW i have seen the userguide..plz send new examples

thanks in advance


call_function() uses - El Forum - 03-03-2010

[eluser]mohsin917[/eluser]
It is a custom function call. In model you want to use your function instead of given db functions you can use it. An external feature, just normally calling your own function..

$this->db->call_function('some_function', $param1, $param2, etc..);