In codeigniter we use a method call like this
$this->load->view();
I wanna know what’s “load” exactly ? Is it a function or what ? And why it doesn’t have two parentheses after it ? I wanna make something like this in my code so how can I do this ?
load, a property on the object$this, is an instance of theCI_Loaderclass. It has a method calledview().CodeIgniter instantiates the
Loaderobject in a fairly obtuse way, but you can visualize it like this: