ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.DBUpdateAgent.php
Go to the documentation of this file.
1 <?php
2 
20 
21 use ILIAS\Setup;
24 
28 class DBUpdateAgent extends Setup\Agent\NullAgent
29 {
30  public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
31  {
32  return new \ilDatabaseUpdateStepsExecutedObjective(new ilMediaObjectsDBUpdateSteps());
33  }
34 
35  public function getStatusObjective(Metrics\Storage $storage): Objective
36  {
37  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilMediaObjectsDBUpdateSteps());
38  }
39 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getUpdateObjective(?Setup\Config $config=null)
getStatusObjective(Metrics\Storage $storage)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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