Welcome Guest, Not a member yet? Register   Sign In
Populating an array of objects using CI's load->model() functionality
#7

[eluser]Dan Horrigan[/eluser]
I should have worded my response better. You wouldn't access the db directly from the library, you would still use a model, you would just call the model methods from the library.

On your examples you gave...I do not agree, however, that does not make it wrong. It is just not my style. If you are going to go strictly models, I would do as I did in my original post.

I am done with this topic. Paul, there are a million ways to skin a cat, so pick the way that fits your style best and go for it (not skin a cat...that is just a metaphor :-)).

Dan


Messages In This Thread
Populating an array of objects using CI's load->model() functionality - by El Forum - 04-21-2010, 05:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB