Go to the source code of this file.
Functions | |
if(!defined('__PRAGYAN_CMS')) | getQuestionTypeCounts ($quizId, $sectionId) |
checkQuizSetup ($quizId) | |
checkQuizOpen ($quizId) | |
checkUserFirstAttempt ($quizId, $userId) | |
sectionBelongsToQuiz ($quizId, $sectionId) | |
startSection ($quizId, $sectionId, $userId) | |
getFirstSectionId ($quizId) | |
getAttemptRow ($quizId, $sectionId, $userId) |
checkQuizOpen | ( | $ | quizId | ) |
Definition at line 52 of file quizview.php.
checkQuizSetup | ( | $ | quizId | ) |
Checks whether a quiz has been set up properly with sufficient number of questions.
integer | $quizId Quiz Id. |
Definition at line 37 of file quizview.php.
checkUserFirstAttempt | ( | $ | quizId, | |
$ | userId | |||
) |
Definition at line 63 of file quizview.php.
getAttemptRow | ( | $ | quizId, | |
$ | sectionId, | |||
$ | userId | |||
) |
Definition at line 96 of file quizview.php.
getFirstSectionId | ( | $ | quizId | ) |
Definition at line 87 of file quizview.php.
if (!defined('__PRAGYAN_CMS')) getQuestionTypeCounts | ( | $ | quizId, | |
$ | sectionId | |||
) |
Retrieves the number of questions of each type that have been added to a section.
integer | $quizId Quiz Id. | |
integer | $sectionId Section Id. |
Definition at line 19 of file quizview.php.
sectionBelongsToQuiz | ( | $ | quizId, | |
$ | sectionId | |||
) |
Definition at line 70 of file quizview.php.
startSection | ( | $ | quizId, | |
$ | sectionId, | |||
$ | userId | |||
) |
Definition at line 77 of file quizview.php.