@@ 4988-4992 (lines=5) @@ | ||
4985 | $questionScore = 0; |
|
4986 | $answer=0; |
|
4987 | Event::saveQuestionAttempt($questionScore, $answer, $quesId, $exeId, 0); |
|
4988 | if (is_array($exerciseResultCoordinates[$quesId])) { |
|
4989 | foreach($exerciseResultCoordinates[$quesId] as $idx => $val) { |
|
4990 | Event::saveExerciseAttemptHotspot($exeId,$quesId,$idx,0,$val); |
|
4991 | } |
|
4992 | } |
|
4993 | } else { |
|
4994 | Event::saveQuestionAttempt($questionScore, $answer, $quesId, $exeId, 0); |
|
4995 | if (is_array($exerciseResultCoordinates[$quesId])) { |
|
@@ 4995-4999 (lines=5) @@ | ||
4992 | } |
|
4993 | } else { |
|
4994 | Event::saveQuestionAttempt($questionScore, $answer, $quesId, $exeId, 0); |
|
4995 | if (is_array($exerciseResultCoordinates[$quesId])) { |
|
4996 | foreach($exerciseResultCoordinates[$quesId] as $idx => $val) { |
|
4997 | Event::saveExerciseAttemptHotspot($exeId,$quesId,$idx,$choice[$idx],$val); |
|
4998 | } |
|
4999 | } |
|
5000 | } |
|
5001 | } |
|
5002 | $my_exe_id = $exeId; |