Overload __isset() to provide access via properties
Parameters
$name
stringrequired- Property name
Source
public function __isset($name) {
return (method_exists($this, 'get_' . $name) || isset($this->$name));
}
Overload __isset() to provide access via properties
$name
stringrequiredpublic function __isset($name) {
return (method_exists($this, 'get_' . $name) || isset($this->$name));
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.