ILIAS  release_8 Revision v8.24
class.ilQTIResprocessing.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
31{
32 public ?string $comment = null;
33 public ?ilQTIOutcomes $outcomes = null;
35 public array $respcondition = [];
36 public ?string $scoremodel = null;
37
38 public function setComment(string $a_comment): void
39 {
40 $this->comment = $a_comment;
41 }
42
43 public function getComment(): ?string
44 {
45 return $this->comment;
46 }
47
48 public function setOutcomes(ilQTIOutcomes $a_outcomes): void
49 {
50 $this->outcomes = $a_outcomes;
51 }
52
53 public function getOutcomes(): ?ilQTIOutcomes
54 {
55 return $this->outcomes;
56 }
57
58 public function addRespcondition(ilQTIRespcondition $a_respcondition): void
59 {
60 $this->respcondition[] = $a_respcondition;
61 }
62
63 public function setScoremodel(string $a_scoremodel): void
64 {
65 $this->scoremodel = $a_scoremodel;
66 }
67
68 public function getScoremodel(): ?string
69 {
70 return $this->scoremodel;
71 }
72}
addRespcondition(ilQTIRespcondition $a_respcondition)
setComment(string $a_comment)
setOutcomes(ilQTIOutcomes $a_outcomes)
setScoremodel(string $a_scoremodel)