Welcome Guest, Not a member yet? Register   Sign In
explaining: $this->load->view();
#1

[eluser]ajsie[/eluser]
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.


Messages In This Thread
explaining: $this->load->view(); - by El Forum - 04-09-2010, 09:37 PM
explaining: $this->load->view(); - by El Forum - 04-09-2010, 10:17 PM
explaining: $this->load->view(); - by El Forum - 04-09-2010, 10:48 PM
explaining: $this->load->view(); - by El Forum - 04-10-2010, 12:39 AM
explaining: $this->load->view(); - by El Forum - 04-10-2010, 12:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB