Welcome Guest, Not a member yet? Register   Sign In
Redundant or Safer?
#7

[eluser]Rick Jolly[/eluser]
One thing to note is that validation works directly on the $_POST array and alters it according to your validation rules.

I agree that you should specify the $_POST variables you want to pass to the model. You can automate the process a bit. I'd prep the values using validation and then create a helper to pass only the fields defined in validation to the model.


Messages In This Thread
Redundant or Safer? - by El Forum - 10-17-2008, 08:56 AM
Redundant or Safer? - by El Forum - 10-17-2008, 11:13 AM
Redundant or Safer? - by El Forum - 10-17-2008, 11:54 AM
Redundant or Safer? - by El Forum - 10-17-2008, 12:42 PM
Redundant or Safer? - by El Forum - 10-17-2008, 12:45 PM
Redundant or Safer? - by El Forum - 10-17-2008, 01:16 PM
Redundant or Safer? - by El Forum - 10-17-2008, 02:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB