|
ILIAS
eassessment Revision 61809
|
Scoring class for test-questions. More...
Collaboration diagram for ilTestNewScoring:Public Member Functions | |
| ilTestNewScoring (&$a_object) | |
| loadTempTable ($qid) | |
| checkItemPoints ($postvars) | |
| saveOrderingItemPoints ($postvars) | |
| loadOrderingItemPoints ($q_id) | |
| saveQuestionAndUserResults ($postvars) | |
| calcReachedPoints ($active_id, $q_id, $orderingItemPoints) | |
| getSolutionStat ($a_qid, $a_par=0) | |
| getUserAnswers ($a_qid, $par1=0, $par2=0) | |
| checkLevenstein (&$a_question, $answerarray, $userans) | |
| addQuestionAnswer ($solutionId, $qtype) | |
Data Fields | |
| $object | |
| ilTestNewScoring constructor | |
| $lng | |
| $ctrl | |
| $tpl | |
Scoring class for test-questions.
Definition at line 34 of file class.ilTestNewScoring.php.
| ilTestNewScoring::addQuestionAnswer | ( | $solutionId, | |
| $qtype | |||
| ) |
Definition at line 555 of file class.ilTestNewScoring.php.
References $ilDB, $query, $res, and $row.
| ilTestNewScoring::calcReachedPoints | ( | $active_id, | |
| $q_id, | |||
| $orderingItemPoints | |||
| ) |
Definition at line 333 of file class.ilTestNewScoring.php.
References $data, $ilDB, $pass, $points, and ilObjTest\_getResultPass().
Referenced by saveQuestionAndUserResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestNewScoring::checkItemPoints | ( | $postvars | ) |
Definition at line 80 of file class.ilTestNewScoring.php.
Referenced by saveOrderingItemPoints().
Here is the caller graph for this function:| ilTestNewScoring::checkLevenstein | ( | & | $a_question, |
| $answerarray, | |||
| $userans | |||
| ) |
Definition at line 521 of file class.ilTestNewScoring.php.
| ilTestNewScoring::getSolutionStat | ( | $a_qid, | |
$a_par = 0 |
|||
| ) |
Definition at line 364 of file class.ilTestNewScoring.php.
References $ilDB, $row, and assQuestion\_getQuestionType().
Referenced by ilTestNewScoringGUI\getQuestionStat().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestNewScoring::getUserAnswers | ( | $a_qid, | |
$par1 = 0, |
|||
$par2 = 0 |
|||
| ) |
Definition at line 449 of file class.ilTestNewScoring.php.
References $ilDB, $row, and assQuestion\_getQuestionType().
Referenced by ilTestNewScoringGUI\getQuestionStat().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestNewScoring::ilTestNewScoring | ( | & | $a_object | ) |
| ilTestNewScoring::loadOrderingItemPoints | ( | $q_id | ) |
Definition at line 160 of file class.ilTestNewScoring.php.
| ilTestNewScoring::loadTempTable | ( | $qid | ) |
Definition at line 62 of file class.ilTestNewScoring.php.
References $ilDB.
| ilTestNewScoring::saveOrderingItemPoints | ( | $postvars | ) |
Definition at line 112 of file class.ilTestNewScoring.php.
References $ilDB, and checkItemPoints().
Here is the call graph for this function:| ilTestNewScoring::saveQuestionAndUserResults | ( | $postvars | ) |
Definition at line 179 of file class.ilTestNewScoring.php.
References $_POST, $data, $ilDB, $query, ilObjAssessmentFolder\_addLog(), assQuestion\_getQuestionType(), assQuestion\_setReachedPoints(), calcReachedPoints(), and CLOZE_NUMERIC.
Here is the call graph for this function:| ilTestNewScoring::$ctrl |
Definition at line 48 of file class.ilTestNewScoring.php.
| ilTestNewScoring::$lng |
Definition at line 47 of file class.ilTestNewScoring.php.
Referenced by ilTestNewScoring().
| ilTestNewScoring::$object |
ilTestNewScoring constructor
The constructor takes the test object reference as parameter
| object | $a_object | Associated ilObjTest class public |
Definition at line 46 of file class.ilTestNewScoring.php.
| ilTestNewScoring::$tpl |
Definition at line 49 of file class.ilTestNewScoring.php.
Referenced by ilTestNewScoring().