/** * @return \yii\db\ActiveQuery */ public function getIdStudentResult() { return $this->hasOne(StudentResult::className(), ['id' => 'id_student_result']); }
/** * @return \yii\db\ActiveQuery */ public function getStudentResults() { return $this->hasMany(StudentResult::className(), ['id_discipline_semester' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getStudentResults() { return $this->hasMany(StudentResult::className(), ['id_student_education' => 'id']); }