Welcome Guest, Not a member yet? Register   Sign In
General question: Seperate controller or a function???
#6

[eluser]cahva[/eluser]
Depends on situation but 99% of the time you should put html to the view files and loop the results there with for example foreach. If you use the table helper, thats a little bit of grey area. I dont use it at all anymore and have got the impression that a lot of other CI'ers dont use it anymore as it slightly is against the MVC pattern. But one can say that even using form or other helpers are against it so go figure Wink


Messages In This Thread
General question: Seperate controller or a function??? - by El Forum - 02-15-2010, 04:41 PM
General question: Seperate controller or a function??? - by El Forum - 02-15-2010, 05:27 PM
General question: Seperate controller or a function??? - by El Forum - 02-15-2010, 09:47 PM
General question: Seperate controller or a function??? - by El Forum - 02-16-2010, 04:43 AM
General question: Seperate controller or a function??? - by El Forum - 02-16-2010, 06:36 AM
General question: Seperate controller or a function??? - by El Forum - 02-16-2010, 07:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB