public function getTemyRel() { return $this->hasMany(Tema::className(), ['podrazdel' => 'id'])->inverseOf('podrazdelKursaRel'); }