/** * @return \yii\db\ActiveQuery */ public function getKontaks() { return $this->hasMany(Kontak::className(), ['IdBio' => 'id']); }