Skip to content
Advertisement

what is $this->load->view() in CodeIgniter

$this is use for current class and view is method but what is load. Is this a property?

Is this example correct?

JavaScript

Advertisement

Answer

Yes, load is a property. Think of it like this:

JavaScript

This syntax is called chaining.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement