ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilMDSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
23 
24 class ilMDSetupAgent extends Setup\Agent\NullAgent
25 {
26  public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
27  {
28  return new Setup\ObjectiveCollection(
29  'MetaData',
30  false,
35  );
36  }
37 
38  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
39  {
40  return new Setup\ObjectiveCollection(
41  'Component MetaData',
42  true,
47  );
48  }
49 
50  public function getMigrations(): array
51  {
53  }
54 }
getStatusObjective(Setup\Metrics\Storage $storage)
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Storage is simple key/value store without further schema definition.
Definition: Storage.php:29
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
getUpdateObjective(?Setup\Config $config=null)