18 declare(strict_types=1);
36 self::TYPE_LM =>
'obj_lm',
37 self::TYPE_LM_CHAPTER =>
'obj_st',
38 self::TYPE_LM_PAGE =>
'obj_pg',
39 self::TYPE_GLOSARY_TERM =>
'glossary_term',
40 self::TYPE_FILE =>
'fileDownload' 52 int $subquestion_index,
63 abstract public function getType(): string;
70 public function withId(
int $id): static
105 $clone = clone $this;
117 return $this->
getType() === self::TYPE_FILE;
126 self::TYPE_LM_CHAPTER,
128 self::TYPE_GLOSARY_TERM,
__construct(int $id, int $question_id, int $subquestion_index, string $import_id, \DateTimeImmutable $last_update)
DateTimeImmutable $last_update
withSubquestionIndex(int $subquestion_index)
withQuestionId(int $question_id)
withImportId(string $import_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...