Nette\Database\Table\ActiveRow::__unset PHP Method

__unset() public method

public __unset ( $key )
    public function __unset($key)
    {
        throw new Nette\DeprecatedException('ActiveRow is read-only.');
    }

Usage Example

Example #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);
     }
 }
All Usage Examples Of Nette\Database\Table\ActiveRow::__unset