Public Member Functions | |
__construct ($quizId) | |
getPropertiesForm ($dataSource) | |
submitPropertiesForm () | |
getFrontPage ($userId) | |
getQuizPage ($userId) | |
submitQuizPage ($userId) | |
initQuiz ($userId) | |
deleteEntries ($userId) |
Definition at line 25 of file simplequiz.php.
__construct | ( | $ | quizId | ) |
Implements IQuiz.
Definition at line 29 of file simplequiz.php.
deleteEntries | ( | $ | userId | ) |
Deletes all entries for a particular user.
Implements IQuiz.
Definition at line 358 of file simplequiz.php.
getFrontPage | ( | $ | userId | ) |
Implements IQuiz.
Definition at line 51 of file simplequiz.php.
getPropertiesForm | ( | $ | dataSource | ) |
Implements IQuiz.
Definition at line 34 of file simplequiz.php.
getQuizPage | ( | $ | userId | ) |
Retrieves the next page for the user. Use this function from outside the class.
Integer | $userId User ID. |
Implements IQuiz.
Definition at line 91 of file simplequiz.php.
initQuiz | ( | $ | userId | ) |
Performs necessary operations before a user starts a quiz.
Integer | $userId User ID. |
Implements IQuiz.
Definition at line 323 of file simplequiz.php.
submitPropertiesForm | ( | ) |
Implements IQuiz.
Definition at line 38 of file simplequiz.php.
submitQuizPage | ( | $ | userId | ) |
Submits a page worth of questions.
Integer | $userId User ID of the user taking the quiz. |
Implements IQuiz.
Definition at line 205 of file simplequiz.php.