CodeIgniter Forums
Passing data between models - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Passing data between models (/thread-11691.html)



Passing data between models - El Forum - 09-19-2008

[eluser]dpgtfc[/eluser]
Say for instance you have to connect to two or three data sources, such as a DB2 space, LDAP server and an Oracle server, and you need to pass data from one model to the other. Obviously one could just simply pass the data via the controller, but certain aspects of it make it a bit redundant. Does it fit into the MVC framework to use a CI library as a bridge between the controller and the multiple models?