ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilForumSetupAgent.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2020 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
7use ILIAS\UI;
8
10{
14 public function hasConfig() : bool
15 {
16 return false;
17 }
18
22 public function getConfigInput(Setup\Config $config = null) : UI\Component\Input\Field\Input
23 {
24 throw new \LogicException("Agent has no config.");
25 }
26
31 {
32 throw new \LogicException("Agent has no config.");
33 }
34
38 public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
39 {
41 'forum',
43 );
44
46 "Complete objectives from Modules/Forum",
47 false,
48 $dir_objective
49 );
50 }
51
55 public function getUpdateObjective(Setup\Config $config = null) : Setup\Objective
56 {
57 return new Setup\NullObjective();
58 }
59
63 public function getBuildArtifactObjective() : Setup\Objective
64 {
65 return new Setup\NullObjective();
66 }
67}
An exception for terminatinating execution or to throw for unit testing.
A non-objective, nothing to do to achieve it...
A objective collection is a objective that is achieved once all subobjectives are achieved.
getConfigInput(Setup\Config $config=null)
getUpdateObjective(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
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:14
A configuration for the setup.
Definition: Config.php:11
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:15
A component is the most general form of an entity in the UI.
Definition: Component.php:14
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
Class Factory.