Welcome Guest, Not a member yet? Register   Sign In
set_value or input->post
#3

[eluser]one4all[/eluser]
Thanks for opinion.

I'm agree seems that set_value has to be used in "write" context...so better in view. And ->input->post in controller...

But as we have set the rule for each elem for a form for example, we have to do same things for input, and (for example) if you set xss_clean, you have to repeat this "treatment" 2 times, for the set_rule value and when you retrieve the input->post value...

Is there a way to optimize those actions ?...


Messages In This Thread
set_value or input->post - by El Forum - 10-20-2009, 11:02 AM
set_value or input->post - by El Forum - 10-20-2009, 02:24 PM
set_value or input->post - by El Forum - 10-21-2009, 12:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB