CodeIgniter Forums
Using model function outside CI - 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: Using model function outside CI (/showthread.php?tid=21654)



Using model function outside CI - El Forum - 08-17-2009

[eluser]Computerzworld[/eluser]
Hello,
I want to use one of my model function outside CI application. I don't want to convert the outside files as library. Is there anyway so that I can access them? Please help me. Thanks.


Using model function outside CI - El Forum - 08-17-2009

[eluser]Phil Sturgeon[/eluser]
Nope. Not if you are using Database, ActiveRecord or any CodeIgniter libraries.

You could consider passing the data between the two apps using XML, REST, etc.