ILIAS
release_8 Revision v8.24
◀ 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
ilMDCopyrightUpdateSteps
())
32
);
33
}
34
35
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
36
{
37
return
new
Setup\Objective\NullObjective
();
38
}
39
40
public
function
getMigrations
(): array
41
{
42
return
[
new
ilMDCopyrightMigration
()];
43
}
44
}
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved.
Definition:
ObjectiveCollection.php:27
ILIAS\Setup\Objective\NullObjective
A non-objective, nothing to do to achieve it...
Definition:
NullObjective.php:29
Setup\Agent\NullAgent
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:27
ilMDCopyrightMigration
Definition:
class.ilMDCopyrightMigration.php:26
ilMDCopyrightUpdateSteps
Definition:
class.ilMDCopyrightUpdateSteps.php:22
ilMDSetupAgent
Definition:
class.ilMDSetupAgent.php:25
ilMDSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilMDSetupAgent.php:26
ilMDSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilMDSetupAgent.php:35
ilMDSetupAgent\getMigrations
getMigrations()
Definition:
class.ilMDSetupAgent.php:40
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:27
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup.
Definition:
Objective.php:31
$config
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition:
metadata.php:85
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
Services
MetaData
classes
Setup
class.ilMDSetupAgent.php
Generated on Sun Nov 2 2025 22:01:42 for ILIAS by
1.9.4 (using
Doxyfile
)