Welcome Guest, Not a member yet? Register   Sign In
Pass data between functions
#3

[eluser]Michael Wales[/eluser]
Why would you want to transfer data from Controller to Controller - the point of the Controller is so all of your work with a particular set of data is stored within one location.

For example, a controller named users. It would have everything to do with users: register, login, logout, profiles - that is it's purpose.

Regardless, if you really wanted to do it (and break the MVC model) - store it in a DB or session.


Messages In This Thread
Pass data between functions - by El Forum - 07-31-2007, 09:09 AM
Pass data between functions - by El Forum - 07-31-2007, 09:26 AM
Pass data between functions - by El Forum - 07-31-2007, 10:10 AM
Pass data between functions - by El Forum - 07-31-2007, 12:30 PM
Pass data between functions - by El Forum - 07-31-2007, 01:53 PM
Pass data between functions - by El Forum - 08-01-2007, 12:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB