private function internalDelete() { ZanyatieChastiTemy::deleteAll(['zanyatie' => $this->id]); return parent::delete(); }