ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ 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
use
ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration
;
24
25
class
ilTestQuestionPoolSetupAgent
extends
NullAgent
26
{
27
public
function
getUpdateObjective
(
ILIAS
\Setup\
Config
$config = null):
ILIAS
\Setup\
Objective
28
{
29
return
new
ObjectiveCollection
(
30
'Database is updated for Module/TestQuestionPool'
,
31
false
,
32
new
ilDatabaseUpdateStepsExecutedObjective
(
33
new
ilTestQuestionPool80DBUpdateSteps
()
34
),
35
new
ilDatabaseUpdateStepsExecutedObjective
(
36
new
ilTestQuestionPool9DBUpdateSteps
()
37
)
38
);
39
}
40
41
public
function
getStatusObjective
(Metrics\
Storage
$storage):
Objective
42
{
43
return
new
ObjectiveCollection
(
44
'Module/TestQuestionPool'
,
45
true
,
46
new
ilDatabaseUpdateStepsMetricsCollectedObjective
(
47
$storage,
48
new
ilTestQuestionPool80DBUpdateSteps
()
49
),
50
new
ilDatabaseUpdateStepsMetricsCollectedObjective
(
51
$storage,
52
new
ilTestQuestionPool9DBUpdateSteps
()
53
)
54
);
55
}
56
57
public
function
getMigrations
(): array
58
{
59
return
[
60
new
ilTestQuestionPoolFileUploadQuestionMigration
(),
61
new
RebuildMissingThumbnailMigration
()
62
];
63
}
64
65
}
ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration
Definition:
RebuildMissingThumbnailMigration.php:27
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved...
Definition:
ObjectiveCollection.php:26
ILIAS\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
Class ChatMainBarProvider .
ilDatabaseUpdateStepsExecutedObjective
ilDatabaseUpdateStepsMetricsCollectedObjective
ILIAS\Setup\Metrics
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ArrayStorage.php:21
ilTestQuestionPoolSetupAgent
Definition:
class.ilTestQuestionPoolSetupAgent.php:25
ilTestQuestionPool80DBUpdateSteps
Definition:
class.ilTestQuestionPool80DBUpdateSteps.php:21
ObjectiveCollection
ilTestQuestionPoolSetupAgent\getStatusObjective
getStatusObjective(Metrics\Storage $storage)
Definition:
class.ilTestQuestionPoolSetupAgent.php:41
ilTestQuestionPool9DBUpdateSteps
Definition:
class.ilTestQuestionPool9DBUpdateSteps.php:21
ILIAS\Setup\Objective
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
AdminConfirmedObjective.php:21
ilTestQuestionPoolSetupAgent\getUpdateObjective
getUpdateObjective(ILIAS\Setup\Config $config=null)
Definition:
class.ilTestQuestionPoolSetupAgent.php:27
ilTestQuestionPoolFileUploadQuestionMigration
Definition:
class.ilTestQuestionPoolFileUploadQuestionMigration.php:22
NullAgent
RebuildMissingThumbnailMigration
ilTestQuestionPoolSetupAgent\getMigrations
getMigrations()
Get a named map of migrations available for this Agent.
Definition:
class.ilTestQuestionPoolSetupAgent.php:57
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
Modules
TestQuestionPool
classes
Setup
class.ilTestQuestionPoolSetupAgent.php
Generated on Wed Sep 10 2025 14:11:11 for ILIAS by
1.8.13 (using
Doxyfile
)