ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilAssKprimChoiceAnswer.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
12{
13 private $position;
14
15 private $answertext;
16
17 private $imageFile;
18
19 private $imageFsDir;
20
21 private $imageWebDir;
22
23 private $thumbPrefix;
24
25 private $correctness;
26
27 public function setPosition($position)
28 {
29 $this->position = $position;
30 }
31
32 public function getPosition()
33 {
34 return $this->position;
35 }
36
37 public function setAnswertext($answertext)
38 {
39 $this->answertext = $answertext;
40 }
41
42 public function getAnswertext()
43 {
44 return $this->answertext;
45 }
46
47 public function setImageFile($imageFile)
48 {
49 $this->imageFile = $imageFile;
50 }
51
52 public function getImageFile()
53 {
54 return $this->imageFile;
55 }
56
57 public function setImageFsDir($imageFsDir)
58 {
59 $this->imageFsDir = $imageFsDir;
60 }
61
62 public function getImageFsDir()
63 {
64 return $this->imageFsDir;
65 }
66
68 {
69 $this->imageWebDir = $imageWebDir;
70 }
71
72 public function getImageWebDir()
73 {
74 return $this->imageWebDir;
75 }
76
81 {
82 $this->thumbPrefix = $thumbPrefix;
83 }
84
88 public function getThumbPrefix()
89 {
90 return $this->thumbPrefix;
91 }
92
94 {
95 $this->correctness = $correctness;
96 }
97
98 public function getCorrectness()
99 {
100 return $this->correctness;
101 }
102
103 public function getImageFsPath()
104 {
105 return $this->getImageFsDir().$this->getImageFile();
106 }
107
108 public function getThumbFsPath()
109 {
110 return $this->getImageFsDir().$this->getThumbPrefix().$this->getImageFile();
111 }
112
113 public function getImageWebPath()
114 {
115 return $this->getImageWebDir().$this->getImageFile();
116 }
117
118 public function getThumbWebPath()
119 {
120 return $this->getImageWebDir().$this->getThumbPrefix().$this->getImageFile();
121 }
122}