ILIAS  release_8 Revision v8.24
ilStudyProgrammeUpdateAgent.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21use ILIAS\Setup;
24
26{
27 public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
28 {
29 $update_progresses = new ilDatabaseUpdateStepsExecutedObjective(
31 );
32 $update_assignments = new ilDatabaseUpdateStepsExecutedObjective(
34 );
35 $update_settings = new ilDatabaseUpdateStepsExecutedObjective(
37 );
38 $update_auto_category = new ilDatabaseUpdateStepsExecutedObjective(
40 );
41
43 'Database is updated for Module/Studyprogramme',
44 false,
45 $update_progresses,
46 $update_assignments,
47 $update_settings,
48 $update_auto_category
49 );
50 }
51
52 public function getStatusObjective(Metrics\Storage $storage): Objective
53 {
55 'Module/Studyprogramme',
56 true,
61 );
62 }
63}
A objective collection is a objective that is achieved once all subobjectives are achieved.
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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)
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
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...