public function __unset($key) { $column = $this->formatColumnName($key); if (parent::__isset($column) || !ObjectMixin::has($this, $key)) { parent::__unset($column); } else { ObjectMixin::remove($this, $key); } }
/** * Access to undeclared property. * @param string property name * @return void * @throws Nette\MemberAccessException */ public function __unset($name) { Nette\ObjectMixin::remove($this, $name); }
Nette\ObjectMixin::has($this,$name);}function __unset($name){Nette\ObjectMixin::remove($this,$name);}}class