anil sidhu anil sidhu - 1 year ago 90
PHP Question

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

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

Is this example correct?

class super{

public $property;

public function superf1()
echo "hello";
public function col()



Answer Source

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

class Loader {
    public function view() {

class MyClass {
     private $load;

     public __constructor() {
         $this->load = new Loader();

     public someMethod() {
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download