ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilQTIAssessmentcontrol.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
29
class
ilQTIAssessmentcontrol
30
{
31
public
string
$hintswitch
=
""
;
32
public
string
$solutionswitch
=
""
;
33
public
string
$view
=
"All"
;
34
public
string
$feedbackswitch
=
""
;
35
36
public
function
setView
(
string
$a_view): void
37
{
38
switch
($a_view) {
39
case
"Administrator"
:
40
case
"AdminAuthority"
:
41
case
"Assessor"
:
42
case
"Author"
:
43
case
"Candidate"
:
44
case
"InvigilatorProctor"
:
45
case
"Psychometrician"
:
46
case
"Scorer"
:
47
case
"Tutor"
:
48
$this->view = $a_view;
49
break
;
50
default
:
51
$this->view =
"All"
;
52
break
;
53
}
54
}
55
56
public
function
getView
(): string
57
{
58
return
$this->view
;
59
}
60
61
public
function
setHintswitch
(
string
$a_hintswitch): void
62
{
63
$this->hintswitch =
'No'
=== $a_hintswitch ?
'No'
:
'Yes'
;
64
}
65
66
public
function
getHintswitch
(): string
67
{
68
return
$this->hintswitch
;
69
}
70
71
public
function
setSolutionswitch
(
string
$a_solutionswitch): void
72
{
73
$this->solutionswitch =
'No'
=== $a_solutionswitch ?
'No'
:
'Yes'
;
74
}
75
76
public
function
getSolutionswitch
(): string
77
{
78
return
$this->solutionswitch
;
79
}
80
81
public
function
setFeedbackswitch
(
string
$a_feedbackswitch): void
82
{
83
$this->feedbackswitch =
'No'
=== $a_feedbackswitch ?
'No'
:
'Yes'
;
84
}
85
86
public
function
getFeedbackswitch
(): string
87
{
88
return
$this->feedbackswitch
;
89
}
90
}
ilQTIAssessmentcontrol\setFeedbackswitch
setFeedbackswitch(string $a_feedbackswitch)
Definition:
class.ilQTIAssessmentcontrol.php:81
ilQTIAssessmentcontrol
Definition:
class.ilQTIAssessmentcontrol.php:29
ilQTIAssessmentcontrol\$feedbackswitch
string $feedbackswitch
Definition:
class.ilQTIAssessmentcontrol.php:34
ilQTIAssessmentcontrol\getFeedbackswitch
getFeedbackswitch()
Definition:
class.ilQTIAssessmentcontrol.php:86
ilQTIAssessmentcontrol\$hintswitch
string $hintswitch
Definition:
class.ilQTIAssessmentcontrol.php:31
ilQTIAssessmentcontrol\setView
setView(string $a_view)
Definition:
class.ilQTIAssessmentcontrol.php:36
ilQTIAssessmentcontrol\getSolutionswitch
getSolutionswitch()
Definition:
class.ilQTIAssessmentcontrol.php:76
ilQTIAssessmentcontrol\setHintswitch
setHintswitch(string $a_hintswitch)
Definition:
class.ilQTIAssessmentcontrol.php:61
ilQTIAssessmentcontrol\getView
getView()
Definition:
class.ilQTIAssessmentcontrol.php:56
ilQTIAssessmentcontrol\$view
string $view
Definition:
class.ilQTIAssessmentcontrol.php:33
ilQTIAssessmentcontrol\setSolutionswitch
setSolutionswitch(string $a_solutionswitch)
Definition:
class.ilQTIAssessmentcontrol.php:71
ilQTIAssessmentcontrol\$solutionswitch
string $solutionswitch
Definition:
class.ilQTIAssessmentcontrol.php:32
ilQTIAssessmentcontrol\getHintswitch
getHintswitch()
Definition:
class.ilQTIAssessmentcontrol.php:66
components
ILIAS
QTI
classes
class.ilQTIAssessmentcontrol.php
Generated on Fri Apr 4 2025 23:03:45 for ILIAS by
1.8.13 (using
Doxyfile
)