ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilMDSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Setup\Config
;
23
24
class
ilMDSetupAgent
extends
Setup\Agent\NullAgent
25
{
26
public
function
getUpdateObjective
(Setup\
Config
$config = null): Setup\
Objective
27
{
28
return
new
Setup\ObjectiveCollection(
29
'MetaData'
,
30
false
,
31
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilMDLOMUpdateSteps
()),
32
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilMDCopyrightUpdateSteps
())
33
);
34
}
35
36
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
37
{
38
return
new
Setup\ObjectiveCollection(
39
'Component MetaData'
,
40
true
,
41
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilMDCopyrightUpdateSteps
()),
42
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilMDLOMUpdateSteps
())
43
);
44
}
45
46
public
function
getMigrations
(): array
47
{
48
return
[
new
ilMDCopyrightMigration
(),
new
ilMDLOMConformanceMigration
()];
49
}
50
}
ilMDSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilMDSetupAgent.php:36
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
ilMDCopyrightUpdateSteps
Definition:
class.ilMDCopyrightUpdateSteps.php:21
ilDatabaseUpdateStepsExecutedObjective
Config
ilDatabaseUpdateStepsMetricsCollectedObjective
ilMDSetupAgent\getMigrations
getMigrations()
Definition:
class.ilMDSetupAgent.php:46
ilMDLOMConformanceMigration
Definition:
class.ilMDLOMConformanceMigration.php:27
ILIAS\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
ilMDCopyrightMigration
Definition:
class.ilMDCopyrightMigration.php:25
ilMDSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilMDSetupAgent.php:26
ilMDLOMUpdateSteps
Definition:
class.ilMDLOMUpdateSteps.php:21
ilMDSetupAgent
Definition:
class.ilMDSetupAgent.php:24
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
Services
MetaData
classes
Setup
class.ilMDSetupAgent.php
Generated on Wed Sep 10 2025 14:11:45 for ILIAS by
1.8.13 (using
Doxyfile
)