Welcome Guest, Not a member yet? Register   Sign In
Can I load a model in my controllers constructor.....
#1

[eluser]mabright[/eluser]
If I want to use a a model in all my controller functions, do I need to load the model in each function or can I load in the constructor or index function?

I do not want to autoload the model.


Messages In This Thread
Can I load a model in my controllers constructor..... - by El Forum - 01-24-2010, 06:39 PM
Can I load a model in my controllers constructor..... - by El Forum - 01-24-2010, 06:42 PM
Can I load a model in my controllers constructor..... - by El Forum - 01-24-2010, 06:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB