CodeIgniter Forums
call model function from within model - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: call model function from within model (/showthread.php?tid=18892)



call model function from within model - El Forum - 05-21-2009

[eluser]nigelb[/eluser]
i have a model that has several functions to process orders... Is it possible for me within a function in that model call other functions within the same model - if so how do I go about doing that.


call model function from within model - El Forum - 05-21-2009

[eluser]nigelb[/eluser]
answered my own question....

in a function use this to call another function in the same model...
Code:
$this->deliveryPrice($delivery);