Possible Duplicate:
CodeIgniter and the Model-View-Controller – your experience / your meaning?
I am guessing quite a simple question. With PHP and an MVC framework such as Codeigniter, is it better practice to always pass variables to the model? For example, should you pass post variables through the method call or directly reference $this->input->post()
in the method itself? I am guessing it is best to pass them because you cannot assume the parameters will always come from the same source?
Thanks,
Tom