ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilChatroomSetupConfig.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
3/* Copyright (c) 2020 Daniel Weise <daniel.weise@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
6
8{
12 protected $address;
13
17 protected $port;
18
22 protected $sub_directory;
23
27 protected $protocol;
28
32 protected $cert;
33
37 protected $key;
38
42 protected $dhparam;
43
47 protected $log;
48
52 protected $log_level;
53
57 protected $error_log;
58
62 protected $ilias_proxy;
63
67 protected $ilias_url;
68
72 protected $client_proxy;
73
77 protected $client_url;
78
82 protected $deletion_mode;
83
87 protected $deletion_unit;
88
92 protected $deletion_value;
93
97 protected $deletion_time;
98
99 public function __construct(
100 string $address,
101 int $port,
102 string $sub_directory,
103 string $protocol,
104 string $cert,
105 string $key,
106 string $dhparam,
107 string $log,
108 string $log_level,
109 string $error_log,
110 bool $ilias_proxy,
111 string $ilias_url,
112 bool $client_proxy,
113 string $client_url,
114 bool $deletion_mode,
115 string $deletion_unit,
116 int $deletion_value,
117 string $deletion_time
118 ) {
119 $this->address = $address;
120 $this->port = $port;
121 $this->sub_directory = $sub_directory;
122 $this->protocol = $protocol;
123 $this->cert = $cert;
124 $this->key = $key;
125 $this->dhparam = $dhparam;
126 $this->log = $log;
127 $this->log_level = $log_level;
128 $this->error_log = $error_log;
129 $this->ilias_proxy = $ilias_proxy;
130 $this->ilias_url = $ilias_url;
131 $this->client_proxy = $client_proxy;
132 $this->client_url = $client_url;
133 $this->deletion_mode = $deletion_mode;
134 $this->deletion_unit = $deletion_unit;
135 $this->deletion_value = $deletion_value;
136 $this->deletion_time = $deletion_time;
137 }
138
142 public function getAddress() : string
143 {
144 return $this->address;
145 }
146
150 public function getPort() : int
151 {
152 return $this->port;
153 }
154
158 public function getSubDirectory() : string
159 {
161 }
162
166 public function getProtocol() : string
167 {
168 return $this->protocol;
169 }
170
174 public function getCert() : string
175 {
176 return $this->cert;
177 }
178
182 public function getKey() : string
183 {
184 return $this->key;
185 }
186
190 public function getDhparam() : string
191 {
192 return $this->dhparam;
193 }
194
198 public function getLog() : string
199 {
200 return $this->log;
201 }
202
206 public function getLogLevel() : string
207 {
208 return $this->log_level;
209 }
210
214 public function getErrorLog() : string
215 {
216 return $this->error_log;
217 }
218
222 public function hasIliasProxy() : bool
223 {
224 return $this->ilias_proxy;
225 }
226
230 public function getIliasUrl() : string
231 {
232 return $this->ilias_url;
233 }
234
238 public function hasClientProxy() : bool
239 {
240 return $this->client_proxy;
241 }
242
246 public function getClientUrl() : string
247 {
248 return $this->client_url;
249 }
250
254 public function hasDeletionMode() : bool
255 {
257 }
258
262 public function getDeletionUnit() : string
263 {
265 }
266
270 public function getDeletionValue() : int
271 {
273 }
274
278 public function getDeletionTime() : string
279 {
281 }
282}
An exception for terminatinating execution or to throw for unit testing.
__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)
A configuration for the setup.
Definition: Config.php:11
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...