Welcome Guest, Not a member yet? Register   Sign In
What has happened to the libraries?
#2

It's more like "models can be just classes", and they might be treated special (eg more easily found) if they are inside the models folder. A model *can* extend \CodeIgniter\Model, which provides a bunch of base functionality, but it doesn't have to.

Libraries & models are both loaded the same way ... $mything = new App\whereveriputit\MyWonderfulLibraryOrModel();

Undecided
Reply


Messages In This Thread
What has happened to the libraries? - by PaulD - 07-25-2016, 10:39 AM
RE: What has happened to the libraries? - by ciadmin - 07-25-2016, 10:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB