Beispiel #1
0
 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);
 }
Beispiel #3
0
Nette\ObjectMixin::has($this,$name);}function
__unset($name){Nette\ObjectMixin::remove($this,$name);}}class