View Single Post
Contributor
4Aug2010,23:28  
johnny.dacu's Avatar
Well if you want to use a class property in a method use something like this:
PHP Code:
class A{
public 
$var 4;
public function 
xyz(){
$this->var //here you use your variable
}