I see the variable $this in PHP all the time and I have no idea what it\'s used for. I\'ve never personally used it.
$this
Can someone tell me how the variab
It refers to the instance of the current class, as meder said.
See the PHP Docs. It's explained under the first example.