explaining $this->load->view()
        Posted  
        
            by ajsie
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ajsie
        
        
        
        Published on 2010-04-10T03:38:14Z
        Indexed on 
            2010/04/10
            3:43 UTC
        
        
        Read the original article
        Hit count: 288
        
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.
© Stack Overflow or respective owner