pointer in c++

what does it mean?

 
return $this->getSeoTitle($this->CFG['db']['tbl']['student'], 'name' ,$name , 'class', $class);  


actually it is combintion of php with concept of c++ ...plz help me to understand this.
Thanks for your comment.
this->getSeoTitle(/*...*/)Calls a member function of this pointer.
In C++ you should in most cases just omit this-> in most cases.
That applies to first function argument too.
this is a special pointer that all the instances of a class have, and it points to the instance itself. It's usually used to avoid conflict when a local variable and a member variable have the same name, and when returning the instance itself from functions.
Topic archived. No new replies allowed.