• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.