Welcome Guest, Not a member yet? Register   Sign In
Extending a framework (non-core) library
#5

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.
Reply


Messages In This Thread
RE: Extending a framework (non-core) library - by kilishan - 09-16-2018, 02:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB