Welcome Guest, Not a member yet? Register   Sign In
Retrieving post data VS passing post data, in models
#1

[eluser]rossmurphy[/eluser]
What's the best way to get post data into a model.

I have been using $this->input->post() in my models. It this best practice? Or is it more acceptable to pass data into the method from the controller?

The only problem i see with the latter is when i have too much data to pass, makes passing data to the function kind of messy.

Any thoughts?

Thanks


Messages In This Thread
Retrieving post data VS passing post data, in models - by El Forum - 08-09-2009, 03:31 PM
Retrieving post data VS passing post data, in models - by El Forum - 08-09-2009, 03:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB