ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilObjTestDynamicQuestionSetConfigGUI.php
Go to the documentation of this file.
1
<?php
2
29
class
ilObjTestDynamicQuestionSetConfigGUI
30
{
31
public
const
CMD_SHOW_FORM
=
'showForm'
;
32
public
const
CMD_SAVE_FORM
=
'saveForm'
;
33
public
const
CMD_GET_TAXONOMY_OPTIONS_ASYNC
=
'getTaxonomyOptionsAsync'
;
34
35
public
const
QUESTION_ORDERING_TYPE_UPDATE_DATE
=
'ordering_by_date'
;
36
public
const
QUESTION_ORDERING_TYPE_TAXONOMY
=
'ordering_by_tax'
;
37
38
protected
ilCtrlInterface
$ctrl
;
39
protected
ilAccessHandler
$access
;
40
protected
ilTabsGUI
$tabs
;
41
protected
ilLanguage
$lng
;
42
protected
ilGlobalTemplateInterface
$tpl
;
43
protected
ilDBInterface
$db
;
44
protected
ilTree
$tree
;
45
protected
ilObjTest
$testOBJ
;
46
protected
ilObjTestDynamicQuestionSetConfig
$questionSetConfig
;
47
48
public
function
__construct
(
49
ilCtrl
$ctrl,
50
ilAccessHandler
$access,
51
ilTabsGUI
$tabs,
52
ilLanguage
$lng,
53
ilGlobalTemplateInterface
$tpl,
54
ilDBInterface
$db,
55
ilTree
$tree,
56
ilComponentRepository
$component_repository,
57
ilObjTest
$testOBJ
58
) {
59
$this->
ctrl
=
$ctrl
;
60
$this->
access
=
$access
;
61
$this->
tabs
=
$tabs
;
62
$this->
lng
=
$lng
;
63
$this->tpl =
$tpl
;
64
$this->db =
$db
;
65
$this->tree =
$tree
;
66
$this->testOBJ =
$testOBJ
;
67
68
$this->questionSetConfig =
new
ilObjTestDynamicQuestionSetConfig
(
69
$this->tree,
70
$this->db,
71
$component_repository,
72
$this->testOBJ
73
);
74
}
75
76
public
function
executeCommand
()
77
{
78
// allow only write access
79
80
if
(!$this->
access
->checkAccess(
"write"
,
""
, $this->testOBJ->getRefId())) {
81
$this->tpl->setOnScreenMessage(
'info'
, $this->
lng
->txt(
"cannot_edit_test"
),
true
);
82
$this->
ctrl
->redirectByClass(
'ilObjTestGUI'
,
"infoScreen"
);
83
}
84
85
// activate corresponding tab (auto activation does not work in ilObjTestGUI-Tabs-Salad)
86
87
$this->
tabs
->activateTab(
'assQuestions'
);
88
$this->tpl->setOnScreenMessage(
'info'
, $this->
lng
->txt(
"ctm_cannot_be_changed"
));
89
}
90
}
ILIAS\Repository\access
access()
Definition:
trait.GlobalDICDomainServices.php:46
ilComponentRepository
Readable part of repository interface to ilComponentDataDB.
Definition:
class.ilComponentRepository.php:25
ilTree
ilLanguage
ilTabsGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilTabsGUI.php:23
ilObjTestDynamicQuestionSetConfigGUI\$db
ilDBInterface $db
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:43
ilObjTestDynamicQuestionSetConfigGUI\$tabs
ilTabsGUI $tabs
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:40
ilGlobalTemplateInterface
ilObjTestDynamicQuestionSetConfigGUI\CMD_SAVE_FORM
const CMD_SAVE_FORM
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:32
ilObjTestDynamicQuestionSetConfigGUI\__construct
__construct(ilCtrl $ctrl, ilAccessHandler $access, ilTabsGUI $tabs, ilLanguage $lng, ilGlobalTemplateInterface $tpl, ilDBInterface $db, ilTree $tree, ilComponentRepository $component_repository, ilObjTest $testOBJ)
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:48
ilObjTestDynamicQuestionSetConfigGUI\QUESTION_ORDERING_TYPE_UPDATE_DATE
const QUESTION_ORDERING_TYPE_UPDATE_DATE
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:35
ilObjTestDynamicQuestionSetConfigGUI\$tpl
ilGlobalTemplateInterface $tpl
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:42
ilObjTestDynamicQuestionSetConfigGUI\QUESTION_ORDERING_TYPE_TAXONOMY
const QUESTION_ORDERING_TYPE_TAXONOMY
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:36
ilObjTestDynamicQuestionSetConfigGUI\CMD_GET_TAXONOMY_OPTIONS_ASYNC
const CMD_GET_TAXONOMY_OPTIONS_ASYNC
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:33
ilObjTestDynamicQuestionSetConfigGUI\$questionSetConfig
ilObjTestDynamicQuestionSetConfig $questionSetConfig
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:46
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:52
ilObjTestDynamicQuestionSetConfigGUI\$tree
ilTree $tree
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:44
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:56
ilAccessHandler
ILIAS\Repository\tabs
tabs()
Definition:
trait.GlobalDICGUIServices.php:92
ilDBInterface
ilObjTestDynamicQuestionSetConfigGUI
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:29
ilObjTestDynamicQuestionSetConfigGUI\executeCommand
executeCommand()
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:76
ilObjTestDynamicQuestionSetConfigGUI\$lng
ilLanguage $lng
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:41
ilObjTestDynamicQuestionSetConfigGUI\$ctrl
ilCtrlInterface $ctrl
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:38
ilObjTestDynamicQuestionSetConfigGUI\CMD_SHOW_FORM
const CMD_SHOW_FORM
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:31
ilObjTestDynamicQuestionSetConfig
Definition:
class.ilObjTestDynamicQuestionSetConfig.php:27
ilObjTestDynamicQuestionSetConfigGUI\$testOBJ
ilObjTest $testOBJ
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:45
ilObjTest
ilObjTestDynamicQuestionSetConfigGUI\$access
ilAccessHandler $access
Definition:
class.ilObjTestDynamicQuestionSetConfigGUI.php:39
ilCtrlInterface
ilCtrl
Modules
Test
classes
class.ilObjTestDynamicQuestionSetConfigGUI.php
Generated on Thu Apr 3 2025 22:01:37 for ILIAS by
1.8.13 (using
Doxyfile
)