/** * @return \yii\db\ActiveQuery */ public function getVisitingprofessor() { return $this->hasOne(Basphysicalperson::className(), ['personid' => 'visitingprofessorid']); }
/** * @return \yii\db\ActiveQuery */ public function getPeople0() { return $this->hasMany(Basphysicalperson::className(), ['personid' => 'personid'])->viaTable('acdfinalexaminationexaminingboard', ['enrollid' => 'enrollid']); }
/** * @return \yii\db\ActiveQuery */ public function getBasphysicalpeople() { return $this->hasMany(Basphysicalperson::className(), ['responsablelegalid' => 'personid']); }