Welcome Guest, Not a member yet? Register   Sign In
Create a custom object from DB result()?
#7

[eluser]Andy Ingham[/eluser]
Matt,

Thanks again for your input on this.

In the end I did go with the way that I mentioned in my last post. I think it's better having the methods in the model, so that you can use those methods whenever you're using the data. If you put these methods in the controller then you wouldn't have access to them when working with the data in another controller.

Andy


Messages In This Thread
Create a custom object from DB result()? - by El Forum - 11-27-2010, 09:48 AM
Create a custom object from DB result()? - by El Forum - 11-27-2010, 10:38 AM
Create a custom object from DB result()? - by El Forum - 11-27-2010, 02:28 PM
Create a custom object from DB result()? - by El Forum - 11-27-2010, 02:55 PM
Create a custom object from DB result()? - by El Forum - 11-27-2010, 05:13 PM
Create a custom object from DB result()? - by El Forum - 11-27-2010, 05:43 PM
Create a custom object from DB result()? - by El Forum - 12-02-2010, 05:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB