Welcome Guest, Not a member yet? Register   Sign In
Passing Variables from one controller to its extended controller
#2

[eluser]Rowan Wilson[/eluser]
There are ways to do this either by passing data via the URI, in session data or even by storing the data in the db.

However, rather than repeating stuff in both controllers, why not use your core MY_Controller to set the variables and then have both Controllers extend your MY_Controller. That way it keeps things DRY. Your already using it, why not make good use of it.

Just a thought.


Messages In This Thread
Passing Variables from one controller to its extended controller - by El Forum - 01-08-2013, 02:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB