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