__unset() public method

public __unset ( $key )
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);
     }
 }
Beispiel #2
0
 /**
  * @param $key
  */
 public function __unset($key)
 {
     $this->activeRow->__unset($key);
 }