ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
class.ilLearningSequenceSetupAgent.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
use
ILIAS\Setup
;
22
use
ILIAS\Refinery
;
23
24
class
ilLearningSequenceSetupAgent
implements
Setup\Agent
25
{
26
use Setup\Agent\HasNoNamedObjective;
27
31
public
function
hasConfig
(): bool
32
{
33
return
false
;
34
}
35
39
public
function
getArrayToConfigTransformation
(): Refinery\
Transformation
40
{
41
throw
new \LogicException(
"Agent has no config."
);
42
}
43
47
public
function
getInstallObjective
(Setup\
Config
$config
=
null
): Setup\
Objective
48
{
49
return
new
ilFileSystemComponentDataDirectoryCreatedObjective
(
50
ilLearningSequenceFilesystem::PATH_PRE
,
51
ilFileSystemComponentDataDirectoryCreatedObjective::WEBDIR
52
);
53
}
54
58
public
function
getUpdateObjective
(Setup\
Config
$config
=
null
): Setup\
Objective
59
{
60
return
new
ilDatabaseUpdateStepsExecutedObjective
(
61
new
ilLearningSequenceRectifyPostConditionsTableDBUpdateSteps
()
62
);
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\NullObjective
A non-objective, nothing to do to achieve it...
Definition:
NullObjective.php:29
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:27
ilFileSystemComponentDataDirectoryCreatedObjective
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:22
ilFileSystemComponentDataDirectoryCreatedObjective\WEBDIR
const WEBDIR
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:24
ilLearningSequenceFilesystem\PATH_PRE
const PATH_PRE
Definition:
class.ilLearningSequenceFilesystem.php:28
ilLearningSequenceRectifyPostConditionsTableDBUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilLearningSequenceRectifyPostConditionsTableDBUpdateSteps.php:20
ilLearningSequenceSetupAgent
Definition:
class.ilLearningSequenceSetupAgent.php:25
ilLearningSequenceSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilLearningSequenceSetupAgent.php:68
ilLearningSequenceSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilLearningSequenceSetupAgent.php:39
ilLearningSequenceSetupAgent\hasConfig
hasConfig()
Definition:
class.ilLearningSequenceSetupAgent.php:31
ilLearningSequenceSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilLearningSequenceSetupAgent.php:47
ilLearningSequenceSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilLearningSequenceSetupAgent.php:58
ilLearningSequenceSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilLearningSequenceSetupAgent.php:76
ilLearningSequenceSetupAgent\getMigrations
getMigrations()
@inheritDoc
Definition:
class.ilLearningSequenceSetupAgent.php:84
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
$config
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition:
metadata.php:85
ILIAS\Refinery
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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
Modules
LearningSequence
classes
Setup
class.ilLearningSequenceSetupAgent.php
Generated on Sun Nov 2 2025 22:01:14 for ILIAS by
1.9.4 (using
Doxyfile
)