Welcome Guest, Not a member yet? Register   Sign In
Loading models within models
#6

[eluser]bhogg[/eluser]
Thanks for the note - yes, could definitely manually assign the model instance to the current model's $this, it's just strange that it's not propagating down on it's own unless it's not meant to. From the Loader function it seems to add it to just the CI instance rather than each already loaded model, and the other model that is working already has that model in it's $this, so this issue may just be by design. I'm considering revamping things in the codebase to use DataMapper anyway so this may become a non-issue shortly!


Messages In This Thread
Loading models within models - by El Forum - 04-14-2011, 08:49 AM
Loading models within models - by El Forum - 04-14-2011, 11:31 AM
Loading models within models - by El Forum - 04-14-2011, 12:27 PM
Loading models within models - by El Forum - 04-14-2011, 02:57 PM
Loading models within models - by El Forum - 04-14-2011, 03:19 PM
Loading models within models - by El Forum - 04-15-2011, 12:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB