void save_scores(
string $file, integer $score)
|
|
Save the score for a HP quiz. Can be used by the learnpath tool as well
for HotPotatoes quizzes. When coming from the learning path, we use the session variables telling us which item of the learning path has to be updated (score-wise)
Parameters
| string |
$file |
File is the exercise name (the file name for a HP) |
| integer |
$score |
Score to save inside the tracking tables (HP and learnpath) |