Welcome Guest, Not a member yet? Register   Sign In
Load method location
#1

Hi:

I've been studying Code Igniter's source code and I'm puzzled by something.  Where is the "load" object?  What class is it in?  When we say $this-load->view()  where is that load object?  I looked at the Loader class but that doesn't seem to be it.

Can anyone tell me where to find this in the source?

Thanks!
Reply
#2

It is in the controller class. See system/core/Controller, line 78 - "load" is a controller property referencing an instance of system/core/Loader.
Reply
#3

(07-15-2018, 09:56 PM)ciadmin Wrote: It is in the controller class. See system/core/Controller, line 78 - "load" is a controller property referencing an instance of system/core/Loader.
Thank you!!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB