![]() |
Using Models within Models - 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: Using Models within Models (/showthread.php?tid=12273) |
Using Models within Models - El Forum - 10-13-2008 [eluser]Moon 111[/eluser] I have a Model that has common functions to be used throughout the entire website. How can I load/use it in other Models? Thanks, - Moshe Using Models within Models - El Forum - 10-13-2008 [eluser]xwero[/eluser] If it's autoloaded you can use the methods like you would do in in controller. Code: function great_method() Using Models within Models - El Forum - 10-13-2008 [eluser]Moon 111[/eluser] Oh, OK, great! |