Welcome Guest, Not a member yet? Register   Sign In
Loading a model in a model - is bad?
#8

[eluser]jedd[/eluser]
Hi Dan,

Two other approaches you may want to consider:
1. do both table writes in the same model (you don't need a separate model for every table),
2. implement a MY_Model (extend the model class).

There is some info in the wiki about extending [url="/wiki/MY_Controller"]MY_Controller[/url] and a few pointers in there to extending other base classes, plus you can search the wiki && forums for MY_Model.


Messages In This Thread
Loading a model in a model - is bad? - by El Forum - 10-13-2010, 12:48 PM
Loading a model in a model - is bad? - by El Forum - 10-13-2010, 02:06 PM
Loading a model in a model - is bad? - by El Forum - 10-13-2010, 11:50 PM
Loading a model in a model - is bad? - by El Forum - 10-14-2010, 02:04 AM
Loading a model in a model - is bad? - by El Forum - 10-14-2010, 02:36 AM
Loading a model in a model - is bad? - by El Forum - 10-14-2010, 02:39 AM
Loading a model in a model - is bad? - by El Forum - 10-14-2010, 03:59 AM
Loading a model in a model - is bad? - by El Forum - 10-15-2010, 04:07 PM
Loading a model in a model - is bad? - by El Forum - 10-16-2010, 12:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB