|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ilTestEvaluationPassData:Public Member Functions | |
| __sleep () | |
| __construct () | |
| Constructor. More... | |
| getNrOfAnsweredQuestions () | |
| setNrOfAnsweredQuestions (int $nrOfAnsweredQuestions) | |
| getReachedPoints () | |
| setReachedPoints (float $reachedpoints) | |
| getMaxPoints () | |
| setMaxPoints (float $maxpoints) | |
| getQuestionCount () | |
| setQuestionCount (int $questioncount) | |
| getWorkingTime () | |
| setWorkingTime (int $workingtime) | |
| getPass () | |
| setPass (int $pass) | |
| getAnsweredQuestions () | |
| addAnsweredQuestion (int $question_id, float $max_points, float $reached_points, bool $isAnswered, ?int $sequence=null, int $manual=0) | |
| getAnsweredQuestion (int $index) | |
| getAnsweredQuestionByQuestionId (int $question_id) | |
| getAnsweredQuestionCount () | |
| getRequestedHintsCount () | |
| setRequestedHintsCount (int $requestedHintsCount) | |
| getDeductedHintPoints () | |
| setDeductedHintPoints (float $deductedHintPoints) | |
| setObligationsAnswered (bool $obligationsAnswered) | |
| getExamId () | |
| setExamId (string $exam_id) | |
| areObligationsAnswered () | |
| getter for property obligationsAnswered. More... | |
Data Fields | |
| array | $answeredQuestions |
Private Attributes | |
| int | $workingtime |
| int | $questioncount |
| float | $maxpoints |
| float | $reachedpoints |
| int | $nrOfAnsweredQuestions |
| int | $pass |
| int | $requestedHintsCount = null |
| float | $deductedHintPoints = null |
| bool | $obligationsAnswered = false |
| string | $exam_id = '' |
Definition at line 34 of file class.ilTestEvaluationPassData.php.
| ilTestEvaluationPassData::__construct | ( | ) |
| ilTestEvaluationPassData::__sleep | ( | ) |
Definition at line 51 of file class.ilTestEvaluationPassData.php.
| ilTestEvaluationPassData::addAnsweredQuestion | ( | int | $question_id, |
| float | $max_points, | ||
| float | $reached_points, | ||
| bool | $isAnswered, | ||
| ?int | $sequence = null, |
||
| int | $manual = 0 |
||
| ) |
Definition at line 132 of file class.ilTestEvaluationPassData.php.
Referenced by ilTestEvaluationFactory\addQuestionToAttempt().
Here is the caller graph for this function:| ilTestEvaluationPassData::areObligationsAnswered | ( | ) |
getter for property obligationsAnswered.
if property wasn't set yet the method is trying to determine this information by iterating over the added questions. if both wasn't possible the method throws an exception
Definition at line 216 of file class.ilTestEvaluationPassData.php.
References $obligationsAnswered.
| ilTestEvaluationPassData::getAnsweredQuestion | ( | int | $index | ) |
Definition at line 150 of file class.ilTestEvaluationPassData.php.
| ilTestEvaluationPassData::getAnsweredQuestionByQuestionId | ( | int | $question_id | ) |
Definition at line 159 of file class.ilTestEvaluationPassData.php.
| ilTestEvaluationPassData::getAnsweredQuestionCount | ( | ) |
Definition at line 169 of file class.ilTestEvaluationPassData.php.
| ilTestEvaluationPassData::getAnsweredQuestions | ( | ) |
Definition at line 127 of file class.ilTestEvaluationPassData.php.
References $answeredQuestions.
Referenced by ilTestScoring\recalculatePass().
Here is the caller graph for this function:| ilTestEvaluationPassData::getDeductedHintPoints | ( | ) |
Definition at line 184 of file class.ilTestEvaluationPassData.php.
References $deductedHintPoints.
| ilTestEvaluationPassData::getExamId | ( | ) |
| ilTestEvaluationPassData::getMaxPoints | ( | ) |
Definition at line 87 of file class.ilTestEvaluationPassData.php.
References $maxpoints.
| ilTestEvaluationPassData::getNrOfAnsweredQuestions | ( | ) |
Definition at line 67 of file class.ilTestEvaluationPassData.php.
References $nrOfAnsweredQuestions.
| ilTestEvaluationPassData::getPass | ( | ) |
| ilTestEvaluationPassData::getQuestionCount | ( | ) |
Definition at line 97 of file class.ilTestEvaluationPassData.php.
References $questioncount.
| ilTestEvaluationPassData::getReachedPoints | ( | ) |
Definition at line 77 of file class.ilTestEvaluationPassData.php.
References $reachedpoints.
| ilTestEvaluationPassData::getRequestedHintsCount | ( | ) |
Definition at line 174 of file class.ilTestEvaluationPassData.php.
References $requestedHintsCount.
| ilTestEvaluationPassData::getWorkingTime | ( | ) |
Definition at line 107 of file class.ilTestEvaluationPassData.php.
References $workingtime.
| ilTestEvaluationPassData::setDeductedHintPoints | ( | float | $deductedHintPoints | ) |
Definition at line 189 of file class.ilTestEvaluationPassData.php.
References $deductedHintPoints.
| ilTestEvaluationPassData::setExamId | ( | string | $exam_id | ) |
| ilTestEvaluationPassData::setMaxPoints | ( | float | $maxpoints | ) |
Definition at line 92 of file class.ilTestEvaluationPassData.php.
References $maxpoints.
Referenced by ilTestEvaluationFactory\addPointsAndQuestionCountToAttempt().
Here is the caller graph for this function:| ilTestEvaluationPassData::setNrOfAnsweredQuestions | ( | int | $nrOfAnsweredQuestions | ) |
Definition at line 72 of file class.ilTestEvaluationPassData.php.
References $nrOfAnsweredQuestions.
| ilTestEvaluationPassData::setObligationsAnswered | ( | bool | $obligationsAnswered | ) |
Definition at line 194 of file class.ilTestEvaluationPassData.php.
References $obligationsAnswered.
| ilTestEvaluationPassData::setPass | ( | int | $pass | ) |
| ilTestEvaluationPassData::setQuestionCount | ( | int | $questioncount | ) |
Definition at line 102 of file class.ilTestEvaluationPassData.php.
References $questioncount.
Referenced by ilTestEvaluationFactory\addPointsAndQuestionCountToAttempt().
Here is the caller graph for this function:| ilTestEvaluationPassData::setReachedPoints | ( | float | $reachedpoints | ) |
Definition at line 82 of file class.ilTestEvaluationPassData.php.
References $reachedpoints.
| ilTestEvaluationPassData::setRequestedHintsCount | ( | int | $requestedHintsCount | ) |
Definition at line 179 of file class.ilTestEvaluationPassData.php.
References $requestedHintsCount.
| ilTestEvaluationPassData::setWorkingTime | ( | int | $workingtime | ) |
Definition at line 112 of file class.ilTestEvaluationPassData.php.
References $workingtime.
| array ilTestEvaluationPassData::$answeredQuestions |
Definition at line 39 of file class.ilTestEvaluationPassData.php.
Referenced by getAnsweredQuestions().
|
private |
Definition at line 47 of file class.ilTestEvaluationPassData.php.
Referenced by getDeductedHintPoints(), and setDeductedHintPoints().
|
private |
Definition at line 49 of file class.ilTestEvaluationPassData.php.
Referenced by getExamId(), and setExamId().
|
private |
Definition at line 42 of file class.ilTestEvaluationPassData.php.
Referenced by getMaxPoints(), and setMaxPoints().
|
private |
Definition at line 44 of file class.ilTestEvaluationPassData.php.
Referenced by getNrOfAnsweredQuestions(), and setNrOfAnsweredQuestions().
|
private |
Definition at line 48 of file class.ilTestEvaluationPassData.php.
Referenced by areObligationsAnswered(), and setObligationsAnswered().
|
private |
Definition at line 45 of file class.ilTestEvaluationPassData.php.
|
private |
Definition at line 41 of file class.ilTestEvaluationPassData.php.
Referenced by getQuestionCount(), and setQuestionCount().
|
private |
Definition at line 43 of file class.ilTestEvaluationPassData.php.
Referenced by getReachedPoints(), and setReachedPoints().
|
private |
Definition at line 46 of file class.ilTestEvaluationPassData.php.
Referenced by getRequestedHintsCount(), and setRequestedHintsCount().
|
private |
Definition at line 40 of file class.ilTestEvaluationPassData.php.
Referenced by getWorkingTime(), and setWorkingTime().