Extending a framework (non-core) library |
Extending core libraries in most cases is really simple:
1. Create a new class that extends the old class (or replace it altogether if there's an interface available), and modify it to do what you want. 2. Copy the method from system/Config/BaseServices to application/Config/Services.php, and modify it to return your new class. Services docs should help clear that I up, I hope. |
Messages In This Thread |
Extending a framework (non-core) library - by skunkbad - 09-16-2018, 10:12 AM
RE: Extending a framework (non-core) library - by ciadmin - 09-16-2018, 10:46 AM
RE: Extending a framework (non-core) library - by skunkbad - 09-16-2018, 02:10 PM
RE: Extending a framework (non-core) library - by ciadmin - 09-16-2018, 10:52 AM
RE: Extending a framework (non-core) library - by kilishan - 09-16-2018, 02:40 PM
RE: Extending a framework (non-core) library - by ciadmin - 09-16-2018, 02:42 PM
RE: Extending a framework (non-core) library - by kilishan - 09-16-2018, 03:50 PM
RE: Extending a framework (non-core) library - by skunkbad - 09-16-2018, 09:53 PM
RE: Extending a framework (non-core) library - by kilishan - 09-17-2018, 06:17 AM
|