update api for test
This commit is contained in:
1 parent
b258eb7edf
commit
886ba1e656
15 files changed
+290
-290
No files matched your search
@@ -89,11 +89,6 @@ class Answer extends \yii\db\ActiveRecord
|
||||
->viaTable('question', ['id' => 'question_id']);
|
||||
}
|
||||
|
||||
// public function getUserQuestionnaire()
|
||||
// {
|
||||
// return $this->hasOne(\backend\modules\questionnaire\models\UserQuestionnaire::className(), ['id'])
|
||||
// }
|
||||
|
||||
static function numCorrectAnswers($question_id)
|
||||
{
|
||||
return Answer::find()
|
||||
|
||||
Reference in new issue
Block a user