Welcome Guest, Not a member yet? Register   Sign In
Accessing models from helpers
#6

[eluser]Mr. Pickle[/eluser]
Hi Zack, I understand now that this method is valid, and it works!

But.... will this be the optimal way of retrieving the name?
I mean I can have all id's looped and call the model from my controller before I load my view or even have a join or something in my model when I query the id's so I won't have to call the helper each record loop. I'm just not that good into helpers to know what method is best for performance.


Messages In This Thread
Accessing models from helpers - by El Forum - 05-15-2010, 09:31 AM
Accessing models from helpers - by El Forum - 05-15-2010, 09:38 AM
Accessing models from helpers - by El Forum - 05-15-2010, 09:50 AM
Accessing models from helpers - by El Forum - 05-15-2010, 09:56 AM
Accessing models from helpers - by El Forum - 05-15-2010, 09:58 AM
Accessing models from helpers - by El Forum - 05-15-2010, 10:43 AM
Accessing models from helpers - by El Forum - 05-15-2010, 10:59 AM
Accessing models from helpers - by El Forum - 03-12-2012, 04:02 AM
Accessing models from helpers - by El Forum - 03-12-2012, 07:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB