ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 {
15  protected $refinery;
16 
17  public function __construct(Refinery $refinery)
18  {
19  $this->refinery = $refinery;
20  }
21 
25  public function hasConfig() : bool
26  {
27  return false;
28  }
29 
33  public function getConfigInput(Setup\Config $config = null) : ILIAS\UI\Component\Input\Field\Input
34  {
35  throw new \LogicException(self::class . " has no Config.");
36  }
37 
42  {
43  throw new \LogicException(self::class . " has no Config.");
44  }
45 
49  public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
50  {
51  return new Setup\NullObjective();
52  }
53 
57  public function getUpdateObjective(Setup\Config $config = null) : Setup\Objective
58  {
59  return new Setup\NullObjective();
60  }
61 
65  public function getBuildArtifactObjective() : Setup\Objective
66  {
67  return new \ilGlobalScreenBuildProviderMapObjective();
68  }
69 }
Class Factory.
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:14
Class ChatMainBarProvider .
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
getUpdateObjective(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
A transformation is a function from one datatype to another.
getConfigInput(Setup\Config $config=null)
A configuration for the setup.
Definition: Config.php:10