ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Agent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
30 use ILIAS\Export\Setup\FilesToIRSSMigration as ilExportSetupFilesToIRSSMigration;
31 use ILIAS\Export\Setup\BuildExportOptionsMapObjective as ilExportSetupBuildOptionsMapObjective;
32 
33 class Agent extends NullAgent
34 {
35  public function getUpdateObjective(?Config $config = null): Objective
36  {
37  return new ObjectiveCollection(
38  "HTML Export",
39  false,
41  );
42  }
43 
44  public function getStatusObjective(Storage $storage): Objective
45  {
46  return new ObjectiveCollection(
47  'Component HTML Export',
48  true,
50  );
51  }
52 
53  public function getMigrations(): array
54  {
55  return [];
56  }
57 }
A objective collection is a objective that is achieved once all subobjectives are achieved...
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getStatusObjective(Storage $storage)
Definition: Agent.php:44
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getUpdateObjective(?Config $config=null)
Definition: Agent.php:35
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A configuration for the setup.
Definition: Config.php:26