|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($quizid, $attemptstodo) | |
| reset_all_resettable_attempts () | |
Data Fields | |
| $quizid | |
| $attemptsdone = 0 | |
| $attemptstodo | |
Protected Member Functions | |
| get_quiz_ids () | |
| print_progress ($done, $outof, $quizid) | |
| convert_quiz_attempt ($quiz, $attempt, $questionsessionsrs, $questionsstatesrs) | |
| reset_progress ($done, $outof) | |
| get_resettable_attempts ($quiz) | |
| reset_attempt ($quiz, $attempt) | |
Definition at line 33 of file afterupgradelib.php.
| __construct | ( | $ | quizid, |
| $ | attemptstodo | ||
| ) |
Definition at line 38 of file afterupgradelib.php.
| convert_quiz_attempt | ( | $ | quiz, |
| $ | attempt, | ||
| $ | questionsessionsrs, | ||
| $ | questionsstatesrs | ||
| ) | [protected] |
Definition at line 50 of file afterupgradelib.php.
| get_quiz_ids | ( | ) | [protected] |
Reimplemented from question_engine_attempt_upgrader.
Definition at line 43 of file afterupgradelib.php.
| get_resettable_attempts | ( | $ | quiz | ) | [protected] |
| print_progress | ( | $ | done, |
| $ | outof, | ||
| $ | quizid | ||
| ) | [protected] |
Called before starting to upgrade all the attempts at a particular quiz.
| int | $done | the number of quizzes processed so far. |
| int | $outof | the total number of quizzes to process. |
| int | $quizid | the id of the quiz that is about to be processed. |
Reimplemented from question_engine_attempt_upgrader.
Definition at line 47 of file afterupgradelib.php.
| reset_attempt | ( | $ | quiz, |
| $ | attempt | ||
| ) | [protected] |
Definition at line 108 of file afterupgradelib.php.


| reset_progress | ( | $ | done, |
| $ | outof | ||
| ) | [protected] |
| $attemptsdone = 0 |
Definition at line 35 of file afterupgradelib.php.
| $attemptstodo |
Definition at line 36 of file afterupgradelib.php.
Definition at line 34 of file afterupgradelib.php.