ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
__construct (private readonly int $active_id, private readonly int $attempt_id, private readonly ResultPresentationSettings $settings, private readonly string $exam_id='', private readonly float $reached_points=0.0, private readonly float $available_points=0.0, private readonly ?Mark $mark=null, private readonly int $nr_of_answered_questions=0, private readonly int $nr_of_questions_in_attempt=0, private readonly int $time_on_task=0, private readonly int $total_time_on_task=0, private readonly ?\DateTimeImmutable $attempt_started_date=null, private readonly ?\DateTimeImmutable $last_access=null, private readonly int $nr_of_attempts=0, private readonly ?int $scored_attempt=null, private readonly ?int $rank=0, private readonly StatusOfAttempt $status_of_attempt=StatusOfAttempt::NOT_YET_STARTED) | |
getActiveId () | |
getAttempt () | |
getExamId () | |
getStartedDate () | |
getNrOfAnsweredQuestions () | |
getNrOfTotalQuestions () | |
hasAnsweredQuestions () | |
getMark () | |
hasPassingMark () | |
getReachedPoints () | |
getAvailablePoints () | |
getReachedPointsInPercent () | |
getStatusOfAttempt () | |
getNrOfAttempts () | |
getAsDescriptiveListing (Language $lng, UIFactory $ui_factory, array $environment) | |
getHumanReadableTotalTimeOnTask () | |
Private Member Functions | |
buildHumanReadableTime (int $time) | |
Definition at line 30 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::__construct | ( | private readonly int | $active_id, |
private readonly int | $attempt_id, | ||
private readonly ResultPresentationSettings | $settings, | ||
private readonly string | $exam_id = '' , |
||
private readonly float | $reached_points = 0.0 , |
||
private readonly float | $available_points = 0.0 , |
||
private readonly ?Mark | $mark = null , |
||
private readonly int | $nr_of_answered_questions = 0 , |
||
private readonly int | $nr_of_questions_in_attempt = 0 , |
||
private readonly int | $time_on_task = 0 , |
||
private readonly int | $total_time_on_task = 0 , |
||
private readonly ?\DateTimeImmutable | $attempt_started_date = null , |
||
private readonly ?\DateTimeImmutable | $last_access = null , |
||
private readonly int | $nr_of_attempts = 0 , |
||
private readonly ?int | $scored_attempt = null , |
||
private readonly ?int | $rank = 0 , |
||
private readonly StatusOfAttempt | $status_of_attempt = StatusOfAttempt::NOT_YET_STARTED |
||
) |
Definition at line 32 of file AttemptOverview.php.
|
private |
Definition at line 159 of file AttemptOverview.php.
Referenced by ILIAS\Test\Results\Data\AttemptOverview\getAsDescriptiveListing(), and ILIAS\Test\Results\Data\AttemptOverview\getHumanReadableTotalTimeOnTask().
ILIAS\Test\Results\Data\AttemptOverview::getActiveId | ( | ) |
Definition at line 53 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getAsDescriptiveListing | ( | Language | $lng, |
UIFactory | $ui_factory, | ||
array | $environment | ||
) |
Definition at line 126 of file AttemptOverview.php.
References ILIAS\Test\Results\Data\AttemptOverview\buildHumanReadableTime(), ILIAS\Test\Results\Data\AttemptOverview\getReachedPointsInPercent(), and ILIAS\Language\Language\txt().
ILIAS\Test\Results\Data\AttemptOverview::getAttempt | ( | ) |
Definition at line 58 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getAvailablePoints | ( | ) |
Definition at line 103 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getExamId | ( | ) |
Definition at line 63 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getHumanReadableTotalTimeOnTask | ( | ) |
Definition at line 154 of file AttemptOverview.php.
References ILIAS\Test\Results\Data\AttemptOverview\buildHumanReadableTime().
ILIAS\Test\Results\Data\AttemptOverview::getMark | ( | ) |
Definition at line 88 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getNrOfAnsweredQuestions | ( | ) |
Definition at line 73 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getNrOfAttempts | ( | ) |
Definition at line 121 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getNrOfTotalQuestions | ( | ) |
Definition at line 78 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getReachedPoints | ( | ) |
Definition at line 98 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getReachedPointsInPercent | ( | ) |
Definition at line 108 of file AttemptOverview.php.
Referenced by ILIAS\Test\Results\Data\AttemptOverview\getAsDescriptiveListing().
ILIAS\Test\Results\Data\AttemptOverview::getStartedDate | ( | ) |
Definition at line 68 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::getStatusOfAttempt | ( | ) |
Definition at line 116 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::hasAnsweredQuestions | ( | ) |
Definition at line 83 of file AttemptOverview.php.
ILIAS\Test\Results\Data\AttemptOverview::hasPassingMark | ( | ) |
Definition at line 93 of file AttemptOverview.php.