• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
private controller function from model

#3
[eluser]Fenix[/eluser]
The function (what exactly it does is irrelevant, I just want to know how to call it from a model which I load from the controller):
Code:
private function _errorOut($error_code)

The way I use it in my controller:
Code:
$this->_errorOut(1004);

I can't call it this way from my model because the function isn't located there.


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.