ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilGlossarySetupAgent.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
22
use
ILIAS\Refinery
;
23
use
ILIAS\Setup
;
24
28
final
class
ilGlossarySetupAgent
implements
Setup\Agent
29
{
30
use
Setup\Agent\HasNoNamedObjective
;
31
32
public
function
hasConfig
(): bool
33
{
34
return
false
;
35
}
36
37
public
function
getArrayToConfigTransformation
():
Refinery
\
Transformation
38
{
39
throw
new
LogicException
(
"ilGlossarySetupAgent has no config."
);
40
}
41
42
public
function
getInstallObjective
(Setup\
Config
$config = null): Setup\
Objective
43
{
44
return
new
Setup\Objective\NullObjective();
45
}
46
47
public
function
getUpdateObjective
(Setup\
Config
$config = null): Setup\
Objective
48
{
49
return
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilGlossaryDBUpdateSteps
());
50
}
51
52
public
function
getBuildArtifactObjective
(): Setup\
Objective
53
{
54
return
new
Setup\Objective\NullObjective();
55
}
56
57
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
58
{
59
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilGlossaryDBUpdateSteps
());
60
}
61
62
public
function
getMigrations
(): array
63
{
64
return
[
65
new
ilGlossaryDefinitionMigration
(),
66
new
ilGlossaryCollectionMigration
()
67
];
68
}
69
}
LogicException
ilGlossarySetupAgent\hasConfig
hasConfig()
Definition:
class.ilGlossarySetupAgent.php:32
ilGlossarySetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilGlossarySetupAgent.php:42
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\Refinery
Definition:
ByTrying.php:21
ilGlossarySetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilGlossarySetupAgent.php:57
ilDatabaseUpdateStepsExecutedObjective
ilDatabaseUpdateStepsMetricsCollectedObjective
ilGlossarySetupAgent
Definition:
class.ilGlossarySetupAgent.php:28
Factory
ilGlossarySetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilGlossarySetupAgent.php:47
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
ilGlossarySetupAgent\getMigrations
getMigrations()
Definition:
class.ilGlossarySetupAgent.php:62
ilGlossaryDBUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilGlossaryDBUpdateSteps.php:22
ilGlossarySetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilGlossarySetupAgent.php:37
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
ilGlossarySetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilGlossarySetupAgent.php:52
HasNoNamedObjective
ilGlossaryCollectionMigration
Definition:
class.ilGlossaryCollectionMigration.php:29
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilGlossaryDefinitionMigration
Definition:
class.ilGlossaryDefinitionMigration.php:29
Modules
Glossary
classes
Setup
class.ilGlossarySetupAgent.php
Generated on Wed Sep 10 2025 14:10:53 for ILIAS by
1.8.13 (using
Doxyfile
)