ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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 int $requested_hints, private readonly ?string $content_for_recapitulation) | |
getId () | |
getType () | |
getTitle () | |
getUserAnswer () | |
getBestSolution () | |
getQuestionScore () | |
getUserScore () | |
getUserScorePercent () | |
getCorrect () | |
getFeedback () | |
isWorkedThrough () | |
isAnswered () | |
getContentForRecapitulation () | |
getNumberOfRequestedHints () | |
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 int | $requested_hints, | ||
private readonly ?string | $content_for_recapitulation | ||
) |
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\getQuestionScore(), and ILIAS\Test\Results\Data\QuestionResult\getUserScore().
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::getNumberOfRequestedHints | ( | ) |
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\Presentation\AttemptResultsTable\applyControls(), ILIAS\Test\Results\Data\QuestionResult\getCorrect(), and ILIAS\Test\Results\Data\QuestionResult\getUserScorePercent().
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().
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().
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(), 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\Presentation\AttemptResultsTable\getMapping().
const ILIAS\Test\Results\Data\QuestionResult::CORRECT_PARTIAL = 2 |
Definition at line 26 of file QuestionResult.php.
Referenced by ILIAS\Test\Results\Presentation\AttemptResultsTable\getMapping(), and ILIAS\Test\Tests\Results\Data\QuestionResultTest\testTestQuestionResultBasicProperties().