Пример #1
0
 public function afterDelete()
 {
     parent::afterDelete();
     Campaigns::deleteAll('id_project = :id_project', [':id_project' => $this->id]);
 }