When would you use the $this keyword in PHP? From what I understand $this refers to the object created without knowing the objects name.
$this
Al
Used for when you want to work with local variables.
You can also read more about it from here.
function bark() { print "{$this->Name} says Woof!\n"; }