ILIAS  release_8 Revision v8.24
class.ilMDSetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use ILIAS\Setup;
23
25{
26 public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
27 {
29 'MetaData',
30 false,
32 );
33 }
34
35 public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
36 {
38 }
39
40 public function getMigrations(): array
41 {
42 return [new ilMDCopyrightMigration()];
43 }
44}
A objective collection is a objective that is achieved once all subobjectives are achieved.
A non-objective, nothing to do to achieve it...
This class attempt to achieve a set of database update steps.
getUpdateObjective(Setup\Config $config=null)
getStatusObjective(Setup\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...