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