Welcome Guest, Not a member yet? Register   Sign In
Passing data from controller to model in an array. Please help!
#4

[eluser]rwestergren[/eluser]
[quote author="Twisted1919" date="1280004657"]The $_POST is a global one, so it'll be accessible in your model as well as in your constroller, you don't need to pass it from the controller, only clean it in the model .[/quote]

In order to make a more universal model, I'd pass the array to the controller. That way you can use the model function with other data sources as well.


Messages In This Thread
Passing data from controller to model in an array. Please help! - by El Forum - 07-24-2010, 11:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB