ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilHTLMSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Refinery
;
23
use
ILIAS\Setup\Objective
;
24
25
final
class
ilHTLMSetupAgent
implements
Setup\Agent
26
{
27
use Setup\Agent\HasNoNamedObjective;
28
29
public
function
hasConfig
(): bool
30
{
31
return
false
;
32
}
33
34
public
function
getArrayToConfigTransformation
():
Refinery
\
Transformation
35
{
36
throw
new
LogicException(
"Agent has no config."
);
37
}
38
39
public
function
getInstallObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
40
{
41
return
new
Setup\Objective\NullObjective
();
42
}
43
44
public
function
getUpdateObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
45
{
46
return
new
Setup\ObjectiveCollection
(
47
'HTML Learning Module'
,
48
true
,
49
new
ilDatabaseUpdateStepsExecutedObjective
(
50
new
ilHTLMDatabaseUpdateSteps10
()
51
)
52
);
53
}
54
55
public
function
getBuildArtifactObjective
():
Setup
\
Objective
56
{
57
return
new
Setup\Objective\NullObjective
();
58
}
59
60
public
function
getStatusObjective
(
Setup
\Metrics\
Storage
$storage):
Setup
\
Objective
61
{
62
return
new
Setup\Objective\NullObjective
();
63
}
64
65
public
function
getMigrations
(): array
66
{
67
return
[
68
new
ilHTLMMigration
()
69
];
70
}
71
72
public
function
getBuildObjective
():
Objective
73
{
74
return
new
Setup\Objective\NullObjective
();
75
}
76
77
}
ILIAS\Refinery
Definition:
Refinery.php:24
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
ILIAS\Setup
Definition:
Setup.php:26
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:28
ilHTLMDatabaseUpdateSteps10
Definition:
class.ilHTLMDatabaseUpdateSteps10.php:22
ilHTLMMigration
Definition:
class.ilHTLMMigration.php:26
ilHTLMSetupAgent
Definition:
class.ilHTLMSetupAgent.php:26
ilHTLMSetupAgent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.ilHTLMSetupAgent.php:44
ilHTLMSetupAgent\getBuildObjective
getBuildObjective()
Definition:
class.ilHTLMSetupAgent.php:72
ilHTLMSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilHTLMSetupAgent.php:34
ilHTLMSetupAgent\getInstallObjective
getInstallObjective(?Setup\Config $config=null)
Definition:
class.ilHTLMSetupAgent.php:39
ilHTLMSetupAgent\getMigrations
getMigrations()
Definition:
class.ilHTLMSetupAgent.php:65
ilHTLMSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilHTLMSetupAgent.php:55
ilHTLMSetupAgent\hasConfig
hasConfig()
Definition:
class.ilHTLMSetupAgent.php:29
ilHTLMSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilHTLMSetupAgent.php:60
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:35
ILIAS\Setup\Agent
A agent is some component that performs part of the setup process.
Definition:
Agent.php:30
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
ILIAS\UI\Storage
Storage is simple key/value store without further schema definition.
Definition:
Storage.php:30
ILIAS\Refinery
Definition:
ByTrying.php:21
ILIAS\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
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
components
ILIAS
HTMLLearningModule
classes
Setup
class.ilHTLMSetupAgent.php
Generated on Sat Oct 18 2025 23:03:10 for ILIAS by
1.9.4 (using
Doxyfile
)