like title says: what '$this->' means... cause sometimes (speacially in smarty - template engine) i see this '$this->' what is it for? thanks 😉
$this->member is the $member member variable of the current object. $this->foo() is the foo() member function of the current object. Read the PHP manual on Classes and Objects for more details.