04-26-2009, 01:36 PM
[eluser]Fenix[/eluser]
I have an error function in my controller that sets the respective http status header, outputs the error, and exits. I'd like to be able to call this from my model.
I guess this is more just a general OO PHP syntax question, but, how can this be done?
I have an error function in my controller that sets the respective http status header, outputs the error, and exits. I'd like to be able to call this from my model.
I guess this is more just a general OO PHP syntax question, but, how can this be done?