ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
class.ilLearningSequenceSetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use ILIAS\Setup;
23
25{
26 use Setup\Agent\HasNoNamedObjective;
27
31 public function hasConfig(): bool
32 {
33 return false;
34 }
35
40 {
41 throw new \LogicException("Agent has no config.");
42 }
43
47 public function getInstallObjective(?Setup\Config $config = null): Setup\Objective
48 {
52 );
53 }
54
58 public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
59 {
61 'Database is updated for Module/LearningSequence',
62 false,
65 ),
68 ),
71 ),
72 );
73 }
74
79 {
81 }
82
86 public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
87 {
89 'Component LearningSequence',
90 true,
93 );
94 }
95
99 public function getMigrations(): array
100 {
101 return [];
102 }
103}
A objective collection is a objective that is achieved once all subobjectives are achieved.
A non-objective, nothing to do to achieve it...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class attempt to achieve a set of database update steps.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getStatusObjective(Setup\Metrics\Storage $storage)
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:30
A configuration for the setup.
Definition: Config.php:27
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31
Storage is simple key/value store without further schema definition.
Definition: Storage.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...