Your problem is a bit bigger than you think. In fact, you shouldn't do that. Model knows nothing about controller and it is how it supposed to be. Just an advice - when you are going to ask question until you learning something, don't try to provide abstract explanation, be as specific as you can.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Access session in models | 2 | 132 | June 5, 2007 | |
Help - accessing session data from my model | 1 | 124 | February 20, 2008 | |
getting session/controller objects available in a Model ??? | 13 | 238 | September 8, 2006 | |
Accessing controllers from models | 0 | 89 | September 1, 2007 | |
Where to place the session variable to access it in model | 4 | 133 | October 22, 2008 |