ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilLearningModuleSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
use
ILIAS\Setup
;
20
use
ILIAS\Refinery
;
21
use
ILIAS\UI
;
22
26
class
ilLearningModuleSetupAgent
implements
Setup\Agent
27
{
28
use Setup\Agent\HasNoNamedObjective;
29
33
public
function
hasConfig
(): bool
34
{
35
return
false
;
36
}
37
41
public
function
getArrayToConfigTransformation
():
Refinery
\
Transformation
42
{
43
throw
new \LogicException(
"Agent has no config."
);
44
}
45
49
public
function
getInstallObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
50
{
51
return
new
ilFileSystemComponentDataDirectoryCreatedObjective
(
52
'lm_data'
,
53
ilFileSystemComponentDataDirectoryCreatedObjective::WEBDIR
54
);
55
}
56
60
public
function
getUpdateObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
61
{
62
return
new
Setup\Objective\NullObjective
();
63
}
64
68
public
function
getBuildObjective
():
Setup
\
Objective
69
{
70
return
new
Setup\Objective\NullObjective
();
71
}
72
76
public
function
getStatusObjective
(
Setup
\Metrics\
Storage
$storage):
Setup
\
Objective
77
{
78
return
new
Setup\Objective\NullObjective
();
79
}
80
84
public
function
getMigrations
(): array
85
{
86
return
[];
87
}
88
}
ILIAS\Refinery
Definition:
Refinery.php:24
ILIAS\Setup\Objective\NullObjective
A non-objective, nothing to do to achieve it...
Definition:
NullObjective.php:29
ILIAS\Setup
Definition:
Setup.php:26
ilFileSystemComponentDataDirectoryCreatedObjective
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:25
ilFileSystemComponentDataDirectoryCreatedObjective\WEBDIR
const WEBDIR
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:27
ilLearningModuleSetupAgent
Definition:
class.ilLearningModuleSetupAgent.php:27
ilLearningModuleSetupAgent\hasConfig
hasConfig()
Definition:
class.ilLearningModuleSetupAgent.php:33
ilLearningModuleSetupAgent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.ilLearningModuleSetupAgent.php:60
ilLearningModuleSetupAgent\getInstallObjective
getInstallObjective(?Setup\Config $config=null)
Definition:
class.ilLearningModuleSetupAgent.php:49
ilLearningModuleSetupAgent\getMigrations
getMigrations()
@inheritDoc
Definition:
class.ilLearningModuleSetupAgent.php:84
ilLearningModuleSetupAgent\getBuildObjective
getBuildObjective()
Definition:
class.ilLearningModuleSetupAgent.php:68
ilLearningModuleSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilLearningModuleSetupAgent.php:76
ilLearningModuleSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilLearningModuleSetupAgent.php:41
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
ILIAS\UI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
components
ILIAS
LearningModule
classes
Setup
class.ilLearningModuleSetupAgent.php
Generated on Sat Oct 18 2025 23:03:14 for ILIAS by
1.9.4 (using
Doxyfile
)