ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
7use ILIAS\UI;
8
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
31 {
32 throw new \LogicException("Agent has no config.");
33 }
34
38 public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
39 {
43 );
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}
An exception for terminatinating execution or to throw for unit testing.
A non-objective, nothing to do to achieve it...
A objective collection is a objective that is achieved once all subobjectives are achieved.
A transformation is a function from one datatype to another.
A agent is some component that performs part of the setup process.
Definition: Agent.php:14
A configuration for the setup.
Definition: Config.php:11
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:15
A component is the most general form of an entity in the UI.
Definition: Component.php:14
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
Class Factory.