ILIAS  release_8 Revision v8.23
ilUserUpdateAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
22 
23 class ilUserUpdateAgent extends Setup\Agent\NullAgent
24 {
25  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
26  {
27  $update_user_table = new ilDatabaseUpdateStepsExecutedObjective(
29  );
30 
31  return new Setup\ObjectiveCollection(
32  'Database is updated for Services/User',
33  false,
34  $update_user_table
35  );
36  }
37 
38  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
39  {
40  return new Setup\ObjectiveCollection(
41  'Services/User',
42  true,
44  );
45  }
46 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getUpdateObjective(Setup\Config $config=null)
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
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
getStatusObjective(Setup\Metrics\Storage $storage)