PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
If you're only going to use that variable within that method then you don't need to use $this->. Not all variables will need to be accessible globally within the class.