Hi
I need to find out if a property exists in a class. I need to check this in a function within the class.
Example
class something {
var $one="one";
var $two="two";
function test($var) {
return $this->$var;
}
}
I don't want to define seperate functions for each var as the real functions in my class are far more complex than the example.
Cheers
Nick