ILIAS  release_8 Revision v8.24
class.ilForumSetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use ILIAS\Setup;
23
25{
26 use Setup\Agent\HasNoNamedObjective;
27
28 public function hasConfig(): bool
29 {
30 return false;
31 }
32
34 {
35 throw new LogicException("Agent has no config.");
36 }
37
38 public function getInstallObjective(Setup\Config $config = null): Setup\Objective
39 {
41 'forum',
43 );
44 }
45
46 public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
47 {
50 );
51 }
52
53 public function getBuildArtifactObjective(): Setup\Objective
54 {
56 }
57
58 public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
59 {
61 }
62
63 public function getMigrations(): array
64 {
65 return [];
66 }
67}
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)
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: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...