Accessing the calling controller in a model within Kohana
A real quick post here and I’m open to suggestions as this has been bugging me for a few hours and I can’t stop thinking that there’s a better way to do it.
I’m using the Kohana PHP Framework and I need to access a controller from a model and yes I’m aware this defies the MVC pattern but I can’t think of any other way to do it.
Read more



