/** * @return \yii\db\ActiveQuery */ public function getQuiz() { return $this->hasOne(Quiz::className(), ['id' => 'quizID']); }