CodeIgniter Forums
Using model function outside CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Using model function outside CI (/thread-21654.html)



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.