19 declare(strict_types=1);
37 $this->participantData = null;
52 foreach ($passesByActives as $activeId => $passes) {
53 foreach ($passes as $pass) {
63 $this->html_generator->generateHTML($content,
$filename);
66 $archiver->handInTestResult($active_id, $pass,
$filename);
67 $archiver->handInParticipantUploadedResults($active_id, $pass, $this->test_obj);
78 $results = $this->test_obj->getTestResult(
87 return $gui->getPassListOfAnswers(
97 $testResultHeaderLabelBuilder
109 return dirname($tmpFileName) .
'/scores-' . $this->test_obj->getId() .
'-' . $activeId .
'-' . $pass .
'.html';
renderOverviewContent($activeId, $pass)
__construct(protected ilObjTest $test_obj, protected ilLanguage $lng, protected ilObjectDataCache $obj_cache, protected ilTestHTMLGenerator $html_generator)
setParticipantData(ilTestParticipantData $participantData)
archiveActivesPass(int $active_id, int $pass)
archivePassesByActives($passesByActives)
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.
Service GUI class for tests.
buildOverviewFilename($activeId, $pass)
ilTestParticipantData $participantData
setParticipantData($participantData)