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 | |
---|---|---|---|---|
Can models access controller methods? | 0 | 121 | December 4, 2006 | |
Can models access controller methods? | 0 | 138 | December 4, 2006 | |
why I can't use session in model? | 4 | 257 | November 30, 2007 | |
Can models access methods in controllers | 1 | 139 | December 4, 2006 | |
May a model know about the "outside world"? | 0 | 115 | October 19, 2007 |