19 declare(strict_types=1);
44 private readonly
IRSS $irss,
50 $this->participantData =
null;
65 foreach ($passesByActives as $activeId => $passes) {
66 foreach ($passes as $pass) {
76 $this->html_generator->generateHTML($content,
$filename);
86 $this->participant_access_filter_factory,
87 $this->test_obj->getTestLogViewer(),
88 $this->test_obj->getId()
91 $archiver->handInTestResult($active_id, $pass,
$filename);
92 $archiver->handInParticipantUploadedResults($active_id, $pass, $this->test_obj);
103 $results = $this->test_obj->getTestResult(
110 $testResultHeaderLabelBuilder =
new ResultsTitlesBuilder($this->
lng, $this->obj_cache);
112 return $gui->getPassListOfAnswers(
122 $testResultHeaderLabelBuilder
134 return dirname($tmpFileName) .
'/scores-' . $this->test_obj->getId() .
'-' . $activeId .
'-' . $pass .
'.html';
renderOverviewContent($activeId, $pass)
setParticipantData(ilTestParticipantData $participantData)
archiveActivesPass(int $active_id, int $pass)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
archivePassesByActives($passesByActives)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class that handles PDF generation for test and assessment.
static ilTempnam(?string $a_temp_path=null)
Returns a unique and non existing Path for e temporary file or directory.
__construct(private readonly ilObjTest $test_obj, private readonly ilLanguage $lng, private readonly ilDBInterface $db, private readonly ilObjUser $user, private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly IRSS $irss, private readonly ServerRequestInterface $request, private readonly ilObjectDataCache $obj_cache, private readonly ilTestParticipantAccessFilterFactory $participant_access_filter_factory, private readonly ilTestHTMLGenerator $html_generator)
Service GUI class for tests.
setParticipantData(ilTestParticipantData $participant_data)
buildOverviewFilename($activeId, $pass)
ilTestParticipantData $participantData