ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
11
class
ilAssKprimChoiceAnswer
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
67
public
function
setImageWebDir
(
$imageWebDir
)
68
{
69
$this->imageWebDir =
$imageWebDir
;
70
}
71
72
public
function
getImageWebDir
()
73
{
74
return
$this->imageWebDir
;
75
}
76
80
public
function
setThumbPrefix
(
$thumbPrefix
)
81
{
82
$this->thumbPrefix =
$thumbPrefix
;
83
}
84
88
public
function
getThumbPrefix
()
89
{
90
return
$this->thumbPrefix
;
91
}
92
93
public
function
setCorrectness
(
$correctness
)
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
}
ilAssKprimChoiceAnswer\setImageFile
setImageFile($imageFile)
Definition:
class.ilAssKprimChoiceAnswer.php:47
ilAssKprimChoiceAnswer\setImageFsDir
setImageFsDir($imageFsDir)
Definition:
class.ilAssKprimChoiceAnswer.php:57
ilAssKprimChoiceAnswer\getAnswertext
getAnswertext()
Definition:
class.ilAssKprimChoiceAnswer.php:42
ilAssKprimChoiceAnswer\getThumbFsPath
getThumbFsPath()
Definition:
class.ilAssKprimChoiceAnswer.php:108
ilAssKprimChoiceAnswer\$position
$position
Definition:
class.ilAssKprimChoiceAnswer.php:13
ilAssKprimChoiceAnswer\setThumbPrefix
setThumbPrefix($thumbPrefix)
Definition:
class.ilAssKprimChoiceAnswer.php:80
ilAssKprimChoiceAnswer\$imageFsDir
$imageFsDir
Definition:
class.ilAssKprimChoiceAnswer.php:19
ilAssKprimChoiceAnswer\getThumbWebPath
getThumbWebPath()
Definition:
class.ilAssKprimChoiceAnswer.php:118
ilAssKprimChoiceAnswer\$imageFile
$imageFile
Definition:
class.ilAssKprimChoiceAnswer.php:17
ilAssKprimChoiceAnswer\setCorrectness
setCorrectness($correctness)
Definition:
class.ilAssKprimChoiceAnswer.php:93
ilAssKprimChoiceAnswer\setImageWebDir
setImageWebDir($imageWebDir)
Definition:
class.ilAssKprimChoiceAnswer.php:67
ilAssKprimChoiceAnswer\$imageWebDir
$imageWebDir
Definition:
class.ilAssKprimChoiceAnswer.php:21
ilAssKprimChoiceAnswer\getImageFsPath
getImageFsPath()
Definition:
class.ilAssKprimChoiceAnswer.php:103
ilAssKprimChoiceAnswer\$thumbPrefix
$thumbPrefix
Definition:
class.ilAssKprimChoiceAnswer.php:23
ilAssKprimChoiceAnswer\getImageWebDir
getImageWebDir()
Definition:
class.ilAssKprimChoiceAnswer.php:72
ilAssKprimChoiceAnswer\getImageFile
getImageFile()
Definition:
class.ilAssKprimChoiceAnswer.php:52
ilAssKprimChoiceAnswer\getImageFsDir
getImageFsDir()
Definition:
class.ilAssKprimChoiceAnswer.php:62
ilAssKprimChoiceAnswer\getImageWebPath
getImageWebPath()
Definition:
class.ilAssKprimChoiceAnswer.php:113
ilAssKprimChoiceAnswer\getPosition
getPosition()
Definition:
class.ilAssKprimChoiceAnswer.php:32
ilAssKprimChoiceAnswer\setPosition
setPosition($position)
Definition:
class.ilAssKprimChoiceAnswer.php:27
ilAssKprimChoiceAnswer\getThumbPrefix
getThumbPrefix()
Definition:
class.ilAssKprimChoiceAnswer.php:88
ilAssKprimChoiceAnswer\$correctness
$correctness
Definition:
class.ilAssKprimChoiceAnswer.php:25
ilAssKprimChoiceAnswer
Definition:
class.ilAssKprimChoiceAnswer.php:11
ilAssKprimChoiceAnswer\getCorrectness
getCorrectness()
Definition:
class.ilAssKprimChoiceAnswer.php:98
ilAssKprimChoiceAnswer\$answertext
$answertext
Definition:
class.ilAssKprimChoiceAnswer.php:15
ilAssKprimChoiceAnswer\setAnswertext
setAnswertext($answertext)
Definition:
class.ilAssKprimChoiceAnswer.php:37
Modules
TestQuestionPool
classes
class.ilAssKprimChoiceAnswer.php
Generated on Sat Jan 18 2025 19:01:23 for ILIAS by
1.8.13 (using
Doxyfile
)