Welcome Guest, Not a member yet? Register   Sign In
forms in my model?
#2

[eluser]NogDog[/eluser]
(Caveat: I'm still pretty new to CI.)

An object should focus on one thing. Putting form display into a model object probably does not qualify as such a focus.

I would therfore first consider that it would be its own view if that would work with your design; but if you need to be able to call it from within a view, then I might consider just making it a CI helper function.


Messages In This Thread
forms in my model? - by El Forum - 01-02-2009, 09:56 PM
forms in my model? - by El Forum - 01-02-2009, 10:14 PM
forms in my model? - by El Forum - 01-02-2009, 10:19 PM
forms in my model? - by El Forum - 01-02-2009, 10:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB