ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ 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
getBuildArtifactObjective
(): 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\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
ilLearningModuleSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilLearningModuleSetupAgent.php:60
ilLearningModuleSetupAgent
Definition:
class.ilLearningModuleSetupAgent.php:26
ilLearningModuleSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilLearningModuleSetupAgent.php:41
ilFileSystemComponentDataDirectoryCreatedObjective\WEBDIR
const WEBDIR
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:24
Factory
ilFileSystemComponentDataDirectoryCreatedObjective
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:21
ilLearningModuleSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilLearningModuleSetupAgent.php:49
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
ilLearningModuleSetupAgent\hasConfig
hasConfig()
Definition:
class.ilLearningModuleSetupAgent.php:33
ilLearningModuleSetupAgent\getMigrations
getMigrations()
Definition:
class.ilLearningModuleSetupAgent.php:84
ilLearningModuleSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilLearningModuleSetupAgent.php:68
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
ILIAS\UI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
HasNoNamedObjective
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilLearningModuleSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilLearningModuleSetupAgent.php:76
Modules
LearningModule
classes
Setup
class.ilLearningModuleSetupAgent.php
Generated on Wed Sep 10 2025 14:10:55 for ILIAS by
1.8.13 (using
Doxyfile
)