CodeIgniter Forums
Extracting the database abstract class from CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11)
+--- Thread: Extracting the database abstract class from CodeIgniter (/showthread.php?tid=70434)



Extracting the database abstract class from CodeIgniter - jww062 - 04-08-2018

Hello,

I have a question.

Is it possible to extract the abstracted database class from CodeIgniter? Using full CodeIgniter for one of my projects would be overkill. However, I'd be able to reuse a good chunk of code from an existing project, likely just needing to do a find and replace for $this->db to something like $objectinstancename.

Thanks!


RE: Extracting the database abstract class from CodeIgniter - InsiteFX - 04-08-2018

You can do anything you like as long as you leave the copyright information in your code.