ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilChatroomSetupConfig.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
22 
23 class ilChatroomSetupConfig implements Setup\Config
24 {
25  protected string $address;
26  protected int $port;
27  protected string $sub_directory;
28  protected string $protocol;
29  protected string $cert;
30  protected string $key;
31  protected string $dhparam;
32  protected string $log;
33  protected string $log_level;
34  protected string $error_log;
35  protected bool $ilias_proxy;
36  protected string $ilias_url;
37  protected bool $client_proxy;
38  protected string $client_url;
39  protected bool $deletion_mode;
40  protected string $deletion_unit;
41  protected int $deletion_value;
42  protected string $deletion_time;
43 
44  public function __construct(
45  string $address,
46  int $port,
47  string $sub_directory,
48  string $protocol,
49  string $cert,
50  string $key,
51  string $dhparam,
52  string $log,
53  string $log_level,
54  string $error_log,
55  bool $ilias_proxy,
56  string $ilias_url,
57  bool $client_proxy,
58  string $client_url,
59  bool $deletion_mode,
60  string $deletion_unit,
61  int $deletion_value,
62  string $deletion_time
63  ) {
64  $this->address = $address;
65  $this->port = $port;
66  $this->sub_directory = $sub_directory;
67  $this->protocol = $protocol;
68  $this->cert = $cert;
69  $this->key = $key;
70  $this->dhparam = $dhparam;
71  $this->log = $log;
72  $this->log_level = $log_level;
73  $this->error_log = $error_log;
74  $this->ilias_proxy = $ilias_proxy;
75  $this->ilias_url = $ilias_url;
76  $this->client_proxy = $client_proxy;
77  $this->client_url = $client_url;
78  $this->deletion_mode = $deletion_mode;
79  $this->deletion_unit = $deletion_unit;
80  $this->deletion_value = $deletion_value;
81  $this->deletion_time = $deletion_time;
82  }
83 
84  public function getAddress(): string
85  {
86  return $this->address;
87  }
88 
89  public function getPort(): int
90  {
91  return $this->port;
92  }
93 
94  public function getSubDirectory(): string
95  {
96  return $this->sub_directory;
97  }
98 
99  public function getProtocol(): string
100  {
101  return $this->protocol;
102  }
103 
104  public function getCert(): string
105  {
106  return $this->cert;
107  }
108 
109  public function getKey(): string
110  {
111  return $this->key;
112  }
113 
114  public function getDhparam(): string
115  {
116  return $this->dhparam;
117  }
118 
119  public function getLog(): string
120  {
121  return $this->log;
122  }
123 
124  public function getLogLevel(): string
125  {
126  return $this->log_level;
127  }
128 
129  public function getErrorLog(): string
130  {
131  return $this->error_log;
132  }
133 
134  public function hasIliasProxy(): bool
135  {
136  return $this->ilias_proxy;
137  }
138 
139  public function getIliasUrl(): string
140  {
141  return $this->ilias_url;
142  }
143 
144  public function hasClientProxy(): bool
145  {
146  return $this->client_proxy;
147  }
148 
149  public function getClientUrl(): string
150  {
151  return $this->client_url;
152  }
153 
154  public function hasDeletionMode(): bool
155  {
156  return $this->deletion_mode;
157  }
158 
159  public function getDeletionUnit(): string
160  {
161  return $this->deletion_unit;
162  }
163 
164  public function getDeletionValue(): int
165  {
166  return $this->deletion_value;
167  }
168 
169  public function getDeletionTime(): string
170  {
171  return $this->deletion_time;
172  }
173 }
__construct(string $address, int $port, string $sub_directory, string $protocol, string $cert, string $key, string $dhparam, string $log, string $log_level, string $error_log, bool $ilias_proxy, string $ilias_url, bool $client_proxy, string $client_url, bool $deletion_mode, string $deletion_unit, int $deletion_value, string $deletion_time)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...