Welcome Guest, Not a member yet? Register   Sign In
private controller function from model
#1

[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?


Messages In This Thread
private controller function from model - by El Forum - 04-26-2009, 01:36 PM
private controller function from model - by El Forum - 04-26-2009, 01:39 PM
private controller function from model - by El Forum - 04-26-2009, 01:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB