ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
class.ilTestQuestionPoolSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
use
ILIAS\Setup\Agent\NullAgent
;
20
use
ILIAS\Setup\Objective
;
21
use
ILIAS\Setup\ObjectiveCollection
;
22
use
ILIAS\Setup\Metrics
;
23
24
class
ilTestQuestionPoolSetupAgent
extends
NullAgent
25
{
26
public
function
getUpdateObjective
(?
ILIAS
\
Setup
\
Config
$config =
null
):
ILIAS
\
Setup
\
Objective
27
{
28
return
new
ObjectiveCollection
(
29
'Database is updated for component/ILIAS/TestQuestionPool'
,
30
false
,
31
new
ilDatabaseUpdateStepsExecutedObjective
(
32
new
ilTestQuestionPool9DBUpdateSteps
()
33
),
34
new
ilDatabaseUpdateStepsExecutedObjective
(
35
new
ilTestQuestionPool10DBUpdateSteps
()
36
)
37
);
38
}
39
40
public
function
getStatusObjective
(Metrics\
Storage
$storage):
Objective
41
{
42
return
new
ObjectiveCollection
(
43
'component/ILIAS/TestQuestionPool'
,
44
true
,
45
new
ilDatabaseUpdateStepsMetricsCollectedObjective
(
46
$storage,
47
new
ilTestQuestionPool9DBUpdateSteps
()
48
),
49
new
ilDatabaseUpdateStepsMetricsCollectedObjective
(
50
$storage,
51
new
ilTestQuestionPool10DBUpdateSteps
()
52
)
53
);
54
}
55
56
public
function
getMigrations
(): array
57
{
58
return
[
59
new
ilTestQuestionPoolFileUploadQuestionMigration
()
60
];
61
}
62
63
}
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved...
Definition:
ObjectiveCollection.php:26
ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
An agent that just doesn't do a thing.
Definition:
NullAgent.php:34
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup...
Definition:
Objective.php:30
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:23
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ilTestQuestionPoolSetupAgent\getUpdateObjective
getUpdateObjective(?ILIAS\Setup\Config $config=null)
Definition:
class.ilTestQuestionPoolSetupAgent.php:26
ilDatabaseUpdateStepsExecutedObjective
ilDatabaseUpdateStepsMetricsCollectedObjective
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\Setup\Metrics
Definition:
ArrayStorage.php:21
ilTestQuestionPoolSetupAgent
Definition:
class.ilTestQuestionPoolSetupAgent.php:24
ilTestQuestionPool10DBUpdateSteps
Definition:
class.ilTestQuestionPool10DBUpdateSteps.php:21
ObjectiveCollection
ilTestQuestionPoolSetupAgent\getStatusObjective
getStatusObjective(Metrics\Storage $storage)
Definition:
class.ilTestQuestionPoolSetupAgent.php:40
ilTestQuestionPool9DBUpdateSteps
Definition:
class.ilTestQuestionPool9DBUpdateSteps.php:21
ILIAS\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
ilTestQuestionPoolFileUploadQuestionMigration
Definition:
class.ilTestQuestionPoolFileUploadQuestionMigration.php:22
NullAgent
ILIAS\Setup
Definition:
Setup.php:25
ilTestQuestionPoolSetupAgent\getMigrations
getMigrations()
Definition:
class.ilTestQuestionPoolSetupAgent.php:56
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
components
ILIAS
TestQuestionPool
classes
Setup
class.ilTestQuestionPoolSetupAgent.php
Generated on Wed Sep 3 2025 23:04:09 for ILIAS by
1.8.13 (using
Doxyfile
)