|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\Test\Results\Data\QuestionResult:Public Member Functions | |
| __construct (private readonly int $id, private readonly string $type, private readonly string $title, private readonly float $question_score, private readonly float $usr_score, private readonly string $usr_solution, private readonly string $best_solution, private readonly string $feedback, private readonly bool $workedthrough, private readonly bool $answered, private readonly ?string $content_for_recapitulation, private readonly int $position) | |
| getId () | |
| getType () | |
| getTitle () | |
| getUserAnswer () | |
| getBestSolution () | |
| getQuestionScore () | |
| getUserScore () | |
| getUserScorePercent () | |
| getCorrect () | |
| getFeedback () | |
| isWorkedThrough () | |
| isAnswered () | |
| getContentForRecapitulation () | |
| getPosition () | |
Data Fields | |
| const | CORRECT_FULL = 1 |
| const | CORRECT_PARTIAL = 2 |
| const | CORRECT_NONE = 3 |
Definition at line 23 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::__construct | ( | private readonly int | $id, |
| private readonly string | $type, | ||
| private readonly string | $title, | ||
| private readonly float | $question_score, | ||
| private readonly float | $usr_score, | ||
| private readonly string | $usr_solution, | ||
| private readonly string | $best_solution, | ||
| private readonly string | $feedback, | ||
| private readonly bool | $workedthrough, | ||
| private readonly bool | $answered, | ||
| private readonly ?string | $content_for_recapitulation, | ||
| private readonly int | $position | ||
| ) |
Definition at line 29 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::getBestSolution | ( | ) |
Definition at line 61 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::getContentForRecapitulation | ( | ) |
Definition at line 103 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::getCorrect | ( | ) |
Definition at line 81 of file QuestionResult.php.
References ILIAS\Test\Results\Data\QuestionResult\CORRECT_FULL, ILIAS\Test\Results\Data\QuestionResult\CORRECT_NONE, ILIAS\Test\Results\Data\QuestionResult\CORRECT_PARTIAL, ILIAS\Test\Results\Data\QuestionResult\getQuestionScore(), and ILIAS\Test\Results\Data\QuestionResult\getUserScore().
Here is the call graph for this function:| ILIAS\Test\Results\Data\QuestionResult::getFeedback | ( | ) |
Definition at line 91 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::getId | ( | ) |
Definition at line 45 of file QuestionResult.php.
References $id.
| ILIAS\Test\Results\Data\QuestionResult::getPosition | ( | ) |
Definition at line 107 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::getQuestionScore | ( | ) |
Definition at line 65 of file QuestionResult.php.
Referenced by ILIAS\Test\Results\Data\QuestionResult\getCorrect(), and ILIAS\Test\Results\Data\QuestionResult\getUserScorePercent().
Here is the caller graph for this function:| ILIAS\Test\Results\Data\QuestionResult::getTitle | ( | ) |
Definition at line 53 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::getType | ( | ) |
Definition at line 49 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::getUserAnswer | ( | ) |
Definition at line 57 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::getUserScore | ( | ) |
Definition at line 69 of file QuestionResult.php.
Referenced by ILIAS\Test\Results\Data\QuestionResult\getCorrect(), and ILIAS\Test\Results\Data\QuestionResult\getUserScorePercent().
Here is the caller graph for this function:| ILIAS\Test\Results\Data\QuestionResult::getUserScorePercent | ( | ) |
Definition at line 73 of file QuestionResult.php.
References ILIAS\Test\Results\Data\QuestionResult\getQuestionScore(), and ILIAS\Test\Results\Data\QuestionResult\getUserScore().
Here is the call graph for this function:| ILIAS\Test\Results\Data\QuestionResult::isAnswered | ( | ) |
Definition at line 99 of file QuestionResult.php.
| ILIAS\Test\Results\Data\QuestionResult::isWorkedThrough | ( | ) |
Definition at line 95 of file QuestionResult.php.
| const ILIAS\Test\Results\Data\QuestionResult::CORRECT_FULL = 1 |
Definition at line 25 of file QuestionResult.php.
Referenced by ILIAS\Test\Results\Presentation\AttemptResultsTable\applyControls(), ILIAS\Test\Results\Data\QuestionResult\getCorrect(), and ILIAS\Test\Results\Presentation\AttemptResultsTable\getMapping().
| const ILIAS\Test\Results\Data\QuestionResult::CORRECT_NONE = 3 |
Definition at line 27 of file QuestionResult.php.
Referenced by ILIAS\Test\Results\Data\QuestionResult\getCorrect(), and ILIAS\Test\Results\Presentation\AttemptResultsTable\getMapping().
| const ILIAS\Test\Results\Data\QuestionResult::CORRECT_PARTIAL = 2 |