Welcome Guest, Not a member yet? Register   Sign In
Problems with models calling other models
#7

[eluser]Colin Williams[/eluser]
[quote author="xwero" date="1239026323"]I think most of these other model method calls can be prevented by creating a join query in the method. It seems like a a lot of people push the one model one table rule too far.[/quote]

Agreed. But if someone feels they absolutely must, get an instance of the controller class with get_instance()


Messages In This Thread
Problems with models calling other models - by El Forum - 04-06-2009, 12:35 AM
Problems with models calling other models - by El Forum - 04-06-2009, 01:28 AM
Problems with models calling other models - by El Forum - 04-06-2009, 02:34 AM
Problems with models calling other models - by El Forum - 04-06-2009, 02:43 AM
Problems with models calling other models - by El Forum - 04-06-2009, 02:58 AM
Problems with models calling other models - by El Forum - 04-06-2009, 03:28 AM
Problems with models calling other models - by El Forum - 04-06-2009, 04:32 AM
Problems with models calling other models - by El Forum - 04-06-2009, 04:45 AM
Problems with models calling other models - by El Forum - 04-06-2009, 06:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB