dokeos-exercise
[ class tree: dokeos-exercise ] [ index: dokeos-exercise ] [ all elements ]

Procedural File: savescores.php

Source Location: /main/exercice/savescores.php



Page Details:

Saving the scores.



Tags:

author:  
version:  $Id: savescores.php 12852 2007-08-02 04:54:12Z yannoo $


Includes:

include('../inc/global.inc.php') [line 30]
Saving the scores.



Tags:

author:  
version:  $Id: savescores.php 12852 2007-08-02 04:54:12Z yannoo $
include_once(fileManage.lib.php) [line 33]






save_scores [line 60]

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)
[ Top ]



Documentation generated on Wed, 05 Sep 2007 06:15:05 +0200 by phpDocumentor 1.4.0