Пример #1
0
 function _beforeDelete()
 {
     $this->drop_all_relations($this->id);
     parent::_beforeDelete();
 }