function & models - 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: function & models (/showthread.php?tid=12076) |
function & models - El Forum - 10-04-2008 [eluser]MMCCQQ[/eluser] hii.. can i use a function in other functions in models? function & models - El Forum - 10-04-2008 [eluser]Sumon[/eluser] Global functions can be shared CI helper. More about helper in CI User Guide. Moreover, in model functions of any model is also available and you can access it by either $this->function name() or model_name::function_name(). Hope it helps you. function & models - El Forum - 10-05-2008 [eluser]Colin Williams[/eluser] php.net/functions php.net/class |