Overload __unset() to provide access via properties
Parameters
$name
stringrequired- Property name
Source
public function __unset($name) {
if (method_exists($this, 'set_' . $name)) {
call_user_func(array($this, 'set_' . $name), '');
}
}
Overload __unset() to provide access via properties
$name
stringrequiredpublic function __unset($name) {
if (method_exists($this, 'set_' . $name)) {
call_user_func(array($this, 'set_' . $name), '');
}
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.