ILIAS  release_8 Revision v8.24
class.ilBibliographicSetupAgent.php
Go to the documentation of this file.
1<?php
2
20use ILIAS\Setup;
21
27{
28 use Setup\Agent\HasNoNamedObjective;
29
33 public const COMPONENT_DIR = 'bibl';
34
38 public function hasConfig(): bool
39 {
40 return false;
41 }
42
47 {
48 throw new LogicException("ilBibliographicSetupAgent has no config.");
49 }
50
54 public function getInstallObjective(Setup\Config $config = null): Setup\Objective
55 {
57 self::COMPONENT_DIR,
59 );
60 }
61
65 public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
66 {
67 return new Setup\ObjectiveCollection('Setup Bibliografic directories and database', true, ...[
70 )
71 ]);
72 }
73
77 public function getBuildArtifactObjective(): Setup\Objective
78 {
80 }
81
85 public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
86 {
88 }
89
93 public function getMigrations(): array
94 {
95 return [
97 ];
98 }
99}
A objective collection is a objective that is achieved once all subobjectives are achieved.
A non-objective, nothing to do to achieve it...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilBibliographicSetupAgent.
getInstallObjective(Setup\Config $config=null)
getUpdateObjective(Setup\Config $config=null)
getStatusObjective(Setup\Metrics\Storage $storage)
Class ilBibliographicStorageMigration.
This class attempt to achieve a set of database update steps.
A transformation is a function from one datatype to another.
A agent is some component that performs part of the setup process.
Definition: Agent.php:30
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...
Definition: ByTrying.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...