ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
class.ilLearningSequenceSetupAgent.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 2020 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
use
ILIAS\Setup
;
6
use
ILIAS\Refinery
;
7
use
ILIAS\UI
;
8
9
class
ilLearningSequenceSetupAgent
implements
Setup\Agent
10
{
14
public
function
hasConfig
() : bool
15
{
16
return
false
;
17
}
18
22
public
function
getConfigInput
(Setup\
Config
$config
=
null
) :
UI
\
Component
\Input\Field\Input
23
{
24
throw
new \LogicException(
"Agent has no config."
);
25
}
26
30
public
function
getArrayToConfigTransformation
() : Refinery\
Transformation
31
{
32
throw
new \LogicException(
"Agent has no config."
);
33
}
34
38
public
function
getInstallObjective
(Setup\
Config
$config
=
null
) : Setup\
Objective
39
{
40
$dir_objective =
new
ilFileSystemComponentDataDirectoryCreatedObjective
(
41
ilLearningSequenceFilesystem::PATH_PRE
,
42
ilFileSystemComponentDataDirectoryCreatedObjective::WEBDIR
43
);
44
return
new
Setup\ObjectiveCollection
(
45
"Complete objectives from Modules/LearningSequence"
,
46
false
,
47
$dir_objective
48
);
49
}
50
54
public
function
getUpdateObjective
(Setup\
Config
$config
=
null
) : Setup\
Objective
55
{
56
return
new
Setup\NullObjective
();
57
}
58
62
public
function
getBuildArtifactObjective
() : Setup\
Objective
63
{
64
return
new
Setup\NullObjective
();
65
}
66
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\Setup\NullObjective
A non-objective, nothing to do to achieve it...
Definition:
NullObjective.php:13
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved.
Definition:
ObjectiveCollection.php:13
ilFileSystemComponentDataDirectoryCreatedObjective
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:9
ilFileSystemComponentDataDirectoryCreatedObjective\WEBDIR
const WEBDIR
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:11
ilLearningSequenceFilesystem\PATH_PRE
const PATH_PRE
Definition:
class.ilLearningSequenceFilesystem.php:14
ilLearningSequenceSetupAgent
Definition:
class.ilLearningSequenceSetupAgent.php:10
ilLearningSequenceSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilLearningSequenceSetupAgent.php:62
ilLearningSequenceSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilLearningSequenceSetupAgent.php:30
ilLearningSequenceSetupAgent\hasConfig
hasConfig()
Definition:
class.ilLearningSequenceSetupAgent.php:14
ilLearningSequenceSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilLearningSequenceSetupAgent.php:38
ilLearningSequenceSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilLearningSequenceSetupAgent.php:54
ilLearningSequenceSetupAgent\getConfigInput
getConfigInput(Setup\Config $config=null)
Definition:
class.ilLearningSequenceSetupAgent.php:22
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:18
ILIAS\Setup\Agent
A agent is some component that performs part of the setup process.
Definition:
Agent.php:14
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:11
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup.
Definition:
Objective.php:15
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:14
$config
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition:
metadata.php:68
ILIAS\Refinery
Definition:
Constraint.php:5
ILIAS\Setup
Definition:
AchievementTracker.php:5
ILIAS\UI
UI
Class Factory.
Modules
LearningSequence
classes
Setup
class.ilLearningSequenceSetupAgent.php
Generated on Sat Oct 4 2025 20:00:48 for ILIAS by
1.9.4 (using
Doxyfile
)