ILIAS
release_4-4 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.assAnswerMultipleResponseImage.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
include_once
"./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php"
;
5
include_once
"./Modules/Test/classes/inc.AssessmentConstants.php"
;
6
19
class
ASS_AnswerMultipleResponseImage
extends
ASS_AnswerMultipleResponse
{
27
var
$image
;
28
41
function
ASS_AnswerMultipleResponseImage
(
42
$answertext
=
""
,
43
$points_checked = 0.0,
44
$order
= 0,
45
$points_unchecked
= 0,
46
$a_image =
""
,
47
$id
= -1
48
)
49
{
50
parent::__construct(
$answertext
, $points_checked,
$order
,
$points_unchecked
,
$id
);
51
$this->image = $a_image;
52
}
53
54
64
function
getImage
()
65
{
66
return
$this->image
;
67
}
68
78
function
setImage
($a_image = 0)
79
{
80
$this->image = $a_image;
81
}
82
}
83
84
?>
ASS_AnswerMultipleResponseImage\setImage
setImage($a_image=0)
Sets the image filename.
Definition:
class.assAnswerMultipleResponseImage.php:78
ASS_AnswerMultipleResponseImage
ASS_AnswerBinaryStateImage is a class for answers with a binary state indicator (checked/unchecked, set/unset) and an image file.
Definition:
class.assAnswerMultipleResponseImage.php:19
ASS_AnswerMultipleResponseImage\$image
$image
Definition:
class.assAnswerMultipleResponseImage.php:27
ASS_AnswerSimple\$answertext
$answertext
Definition:
class.assAnswerSimple.php:27
ASS_AnswerMultipleResponseImage\ASS_AnswerMultipleResponseImage
ASS_AnswerMultipleResponseImage( $answertext="", $points_checked=0.0, $order=0, $points_unchecked=0, $a_image="", $id=-1)
ASS_AnswerMultipleResponse constructor.
Definition:
class.assAnswerMultipleResponseImage.php:41
ASS_AnswerMultipleResponse
Class for true/false or yes/no answers.
Definition:
class.assAnswerMultipleResponse.php:17
ASS_AnswerMultipleResponseImage\getImage
getImage()
Gets the image filename.
Definition:
class.assAnswerMultipleResponseImage.php:64
ASS_AnswerSimple\$id
$id
Definition:
class.assAnswerSimple.php:54
ASS_AnswerSimple\$order
$order
Definition:
class.assAnswerSimple.php:45
ASS_AnswerMultipleResponse\$points_unchecked
$points_unchecked
Definition:
class.assAnswerMultipleResponse.php:25
Modules
TestQuestionPool
classes
class.assAnswerMultipleResponseImage.php
Generated on Mon Dec 21 2020 19:01:07 for ILIAS by
1.8.13 (using
Doxyfile
)