ILIAS  release_8 Revision v8.24
class.ilAssKprimChoiceAnswer.php
Go to the documentation of this file.
1<?php
2
26{
27 private $position;
28
29 private $answertext;
30
31 private $imageFile;
32
33 private $imageFsDir;
34
35 private $imageWebDir;
36
37 private $thumbPrefix;
38
39 private $correctness;
40
41 public function setPosition($position): void
42 {
43 $this->position = $position;
44 }
45
46 public function getPosition()
47 {
48 return $this->position;
49 }
50
51 public function setAnswertext($answertext): void
52 {
53 $this->answertext = $answertext;
54 }
55
56 public function getAnswertext()
57 {
58 return $this->answertext;
59 }
60
61 public function setImageFile($imageFile): void
62 {
63 $this->imageFile = $imageFile;
64 }
65
66 public function getImageFile()
67 {
68 return $this->imageFile;
69 }
70
71 public function setImageFsDir($imageFsDir): void
72 {
73 $this->imageFsDir = $imageFsDir;
74 }
75
76 public function getImageFsDir()
77 {
78 return $this->imageFsDir;
79 }
80
81 public function setImageWebDir($imageWebDir): void
82 {
83 $this->imageWebDir = $imageWebDir;
84 }
85
86 public function getImageWebDir()
87 {
88 return $this->imageWebDir;
89 }
90
94 public function setThumbPrefix($thumbPrefix): void
95 {
96 $this->thumbPrefix = $thumbPrefix;
97 }
98
102 public function getThumbPrefix()
103 {
104 return $this->thumbPrefix;
105 }
106
107 public function setCorrectness($correctness): void
108 {
109 $this->correctness = $correctness;
110 }
111
112 public function getCorrectness()
113 {
114 return $this->correctness;
115 }
116
117 public function getImageFsPath(): string
118 {
119 return $this->getImageFsDir() . $this->getImageFile();
120 }
121
122 public function getThumbFsPath(): string
123 {
124 return $this->getImageFsDir() . $this->getThumbPrefix() . $this->getImageFile();
125 }
126
127 public function getImageWebPath(): string
128 {
129 return $this->getImageWebDir() . $this->getImageFile();
130 }
131
132 public function getThumbWebPath(): string
133 {
134 return $this->getImageWebDir() . $this->getThumbPrefix() . $this->getImageFile();
135 }
136}