Welcome Guest, Not a member yet? Register   Sign In
Access $this->validation->Name inside Models
#8

[eluser]Randy Casburn[/eluser]
Are we actually saying the same damn thing? My "state" is at the arrow between Validate and Save on my way to the Model and it sounds like you are too. The "nothing left to do" part was nothing for the "Controller" since the "Validate" part had already been done. There is lots (potentially) for the Model to do. Hence -- send it on to the Model as I said.

Maybe this is where we are splitting hairs...
Quote:I say load it up in an object and pass it on to a Model to be saved.
Since, it is already loaded up in an object before the "Validate" part, to do it again would be overkill.


Messages In This Thread
Access $this->validation->Name inside Models - by El Forum - 07-12-2008, 03:56 PM
Access $this->validation->Name inside Models - by El Forum - 07-12-2008, 04:13 PM
Access $this->validation->Name inside Models - by El Forum - 07-12-2008, 07:46 PM
Access $this->validation->Name inside Models - by El Forum - 07-12-2008, 09:48 PM
Access $this->validation->Name inside Models - by El Forum - 07-12-2008, 11:01 PM
Access $this->validation->Name inside Models - by El Forum - 07-12-2008, 11:36 PM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 12:07 AM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 01:16 AM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 03:15 AM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 03:20 AM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 03:21 AM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 03:23 AM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 03:33 AM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 09:38 AM
Access $this->validation->Name inside Models - by El Forum - 07-13-2008, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB