ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilGlobalScreenSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2019 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
5 use ILIAS\Setup;
9 
10 class ilGlobalScreenSetupAgent implements Setup\Agent
11 {
13 
17  protected $refinery;
18 
19  public function __construct(Refinery $refinery)
20  {
21  $this->refinery = $refinery;
22  }
23 
27  public function hasConfig() : bool
28  {
29  return false;
30  }
31 
36  {
37  throw new \LogicException(self::class . " has no Config.");
38  }
39 
43  public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
44  {
45  return new Setup\Objective\NullObjective();
46  }
47 
51  public function getUpdateObjective(Setup\Config $config = null) : Setup\Objective
52  {
53  return new Setup\Objective\NullObjective();
54  }
55 
59  public function getBuildArtifactObjective() : Setup\Objective
60  {
61  return new \ilGlobalScreenBuildProviderMapObjective();
62  }
63 
67  public function getStatusObjective(Setup\Metrics\Storage $storage) : Setup\Objective
68  {
69  return new Setup\Objective\NullObjective();
70  }
71 
75  public function getMigrations() : array
76  {
77  return [];
78  }
79 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:14
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
getUpdateObjective(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:10
getStatusObjective(Setup\Metrics\Storage $storage)