Welcome Guest, Not a member yet? Register   Sign In
What is the best way to use a model from a helper?
#4

[eluser]Unknown[/eluser]
Okay cool, makes sense. Thanks! If I've already loaded the model in the controller that is rendering a view that is calling functions in the helper, do I need to re-load the model in each helper function?

I'm guessing that to do so won't hurt anything because CI won't load a model it already has loaded. Correct?


Messages In This Thread
What is the best way to use a model from a helper? - by El Forum - 05-11-2011, 12:17 PM
What is the best way to use a model from a helper? - by El Forum - 05-11-2011, 03:12 PM
What is the best way to use a model from a helper? - by El Forum - 05-11-2011, 03:13 PM
What is the best way to use a model from a helper? - by El Forum - 05-12-2011, 09:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB