Confusing class and method call in OpenCart
问题 I have a framework (OpenCart) Controller class (like: catalog/controller/product/product.php) the code looks like: class ControllerProductProduct extends Controller { public function index() { //some code $this->response->setOutput($this->render()); //some more code } } there is an expression like $this->response->setOutput($this->render()); . I know what this expression is used for, but I am pretty confused in how it works. $this refers to current class i.e. ControllerProductProduct , it