explaining $this->load->view()
- by ajsie
in a controller you can use this method to load a view.
but i want to know behind the scenes here.
im new to php and frameworks, but i’ve learned the basics of OOP.
when $this-view() is made then the method in the current class or the parent class is used.
but what does this mean: $this-load-view(). 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.