In a controller you can use this method to load a view, but I want to know what happens behind the scenes here.
I'm new to PHP and frameworks, but I’ve learned the basics of OOP.
When $this->view()
is called then the method in the current class or the parent class is used.
But what does $this->load->view()
mean? What is the intermediate load
? is it a function or is it a property?
Where is it located? How could it contain view()?
Grateful for explanation.