calling functions from another function of the same library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: calling functions from another function of the same library (/showthread.php?tid=43335) |
calling functions from another function of the same library - El Forum - 07-08-2011 [eluser]mayur[/eluser] Hi! I hv spent 2 hrs figuring it out...but still can't.. Someone plz post a reply... I made a library and within that library tried to call a function from another function of the same..library..\ the code looks like this.. Code: function createAccount() It gives an error somewat like this:... Quote:Fatal error: Call to undefined method Account::generateActivationCode() Thanx..! calling functions from another function of the same library - El Forum - 07-08-2011 [eluser]danmontgomery[/eluser] Code: $this->generateActivationCode(); |