Public Member Functions | |
getHtml ($userId, $moduleComponentId, $action) | |
actionView () | |
actionEdit () | |
actionCorrect () | |
createModule ($moduleComponentId) | |
copyModule ($moduleComponentId, $newId) | |
deleteModule ($moduleComponentId) |
Definition at line 76 of file quiz.lib.php.
actionCorrect | ( | ) |
function actionCorrect: handles all actions in Correct Corrects user submission and displays userList with their Marks
Definition at line 286 of file quiz.lib.php.
actionEdit | ( | ) |
function actionEdit: processes subaction and calls getQuizEditForm function which renders edit interface
Definition at line 153 of file quiz.lib.php.
actionView | ( | ) |
function actionView: Takes care of rendering quiz to users Makes preliminary checks and calls getQuizPage function in ./quiz/iquiz.php
Reimplemented from module.
Definition at line 114 of file quiz.lib.php.
copyModule | ( | $ | moduleComponentId, | |
$ | newId | |||
) |
function copyModule: to be implemented has to copy everything related to this quiz instance to another instance
Reimplemented from module.
Definition at line 344 of file quiz.lib.php.
createModule | ( | $ | moduleComponentId | ) |
function createModule: will be called when quiz module instance is created. A row will be inserted into quiz_descriptions
Reimplemented from module.
Definition at line 331 of file quiz.lib.php.
deleteModule | ( | $ | moduleComponentId | ) |
function deleteModule: delete all quiz data related to this quiz instance will be called when safedit module instance is getting deleted.
Reimplemented from module.
Definition at line 353 of file quiz.lib.php.
getHtml | ( | $ | userId, | |
$ | moduleComponentId, | |||
$ | action | |||
) |
function getHtml: Gateway through which CMS interacts with module This function will be called from getContent function of cms/content.lib.php
Reimplemented from module.
Definition at line 86 of file quiz.lib.php.