[ci 2.0] extend/overload db driver |
[eluser]MVUG[/eluser]
Is it, with the new ci 2.0, possible to overload/extend a db driver, like the oci8 driver?
[eluser]BrianJM[/eluser]
Quote:Drivers are a special type of Library that has a parent class and any number of potential child classes. Child classes have access to the parent class, but not their siblings. Drivers provide an elegant syntax in your controllers for libraries that benefit from or require being broken down into discrete classes. You can extend a library, so you should be able to extend a driver. Give it a try and report your results! Creating Core System Classes Creating Libraries
[eluser]MVUG[/eluser]
Does somebody have experience with this? I want to overload a DB driver, OCI8 driver.
[eluser]13ankster[/eluser]
You can view extend DB driver in FuelCMS Sourcecode Code: /** Load the database drivers **/ |
Welcome Guest, Not a member yet? Register Sign In |