Functions

cms/modules/quiz/quizcorrect.php File Reference

Go to the source code of this file.

Functions

if(!defined('__PRAGYAN_CMS')) isQuizEvaluated ($quizId)
 evaluateQuiz ($quizId)
 updateSectionMarks ($quizId)
 getWeights ($quizId)
 getQuizUserListHtml ($quizId)
 getQuizCorrectForm ($quizId, $userId)

Function Documentation

evaluateQuiz ( quizId  ) 

For every user who has taken a quiz, updates marks allotted for all questions the user has submitted (except subjective questions) in quiz_answersubmissions

Returns:
Boolean True indicating success, and false indicating errors.

Definition at line 24 of file quizcorrect.php.

getQuizCorrectForm ( quizId,
userId 
)

Definition at line 205 of file quizcorrect.php.

getQuizUserListHtml ( quizId  ) 

Definition at line 87 of file quizcorrect.php.

getWeights ( quizId  ) 

Definition at line 79 of file quizcorrect.php.

if (!defined('__PRAGYAN_CMS')) isQuizEvaluated ( quizId  ) 

Definition at line 13 of file quizcorrect.php.

updateSectionMarks ( quizId  ) 

updates total scores in quiz_userattempts.

Returns:
Boolean True indicating success, and false indicating errors.

Definition at line 62 of file quizcorrect.php.