Extending Active Record offer - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Extending Active Record offer (/showthread.php?tid=9657) |
Extending Active Record offer - El Forum - 07-03-2008 [eluser]Alexxz[/eluser] I am have a little problem with Active record. In my code I need to reset not completed AR query. It is something like Code: try{ So if I have some exception in the first section, the second section added to the first and I'm have a DB error. For me I'm write little function reset Code: function reset() { My code now looks like Code: try{ May be it is a good idea to extend Active record? |