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.ilQTIObjectives.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
29
class
ilQTIObjectives
30
{
32
public
array
$materials
= [];
33
public
string
$view
=
"All"
;
34
35
public
function
addMaterial
(
ilQTIMaterial
$a_material): void
36
{
37
$this->materials[] = $a_material;
38
}
39
40
public
function
setView
(
string
$a_view): void
41
{
42
switch
($a_view) {
43
case
"Administrator"
:
44
case
"AdminAuthority"
:
45
case
"Assessor"
:
46
case
"Author"
:
47
case
"Candidate"
:
48
case
"InvigilatorProctor"
:
49
case
"Psychometrician"
:
50
case
"Scorer"
:
51
case
"Tutor"
:
52
$this->view = $a_view;
53
break
;
54
default
:
55
$this->view =
"All"
;
56
break
;
57
}
58
}
59
60
public
function
getView
(): string
61
{
62
return
$this->view
;
63
}
64
}
ilQTIObjectives\addMaterial
addMaterial(ilQTIMaterial $a_material)
Definition:
class.ilQTIObjectives.php:35
ilQTIObjectives\setView
setView(string $a_view)
Definition:
class.ilQTIObjectives.php:40
ilQTIObjectives
Definition:
class.ilQTIObjectives.php:29
ilQTIObjectives\getView
getView()
Definition:
class.ilQTIObjectives.php:60
ilQTIObjectives\$materials
array $materials
Definition:
class.ilQTIObjectives.php:32
ilQTIObjectives\$view
string $view
Definition:
class.ilQTIObjectives.php:33
ilQTIMaterial
Definition:
class.ilQTIMaterial.php:29
components
ILIAS
QTI
classes
class.ilQTIObjectives.php
Generated on Fri Apr 4 2025 23:03:45 for ILIAS by
1.8.13 (using
Doxyfile
)