ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilSystemFolderSetupConfig.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
6
8{
12 protected $client_name;
13
18
23
28
33
37 protected $contact_title;
38
43
48
52 protected $contact_street;
53
58
62 protected $contact_city;
63
68
72 protected $contact_phone;
73
77 protected $contact_email;
78
79 public function __construct(
80 ?string $client_name,
81 ?string $client_description,
82 ?string $client_institution,
83 string $contact_firstname,
84 string $contact_lastname,
85 ?string $contact_title,
86 ?string $contact_position,
88 ?string $contact_street,
89 ?string $contact_zipcode,
90 ?string $contact_city,
91 ?string $contact_country,
92 ?string $contact_phone,
93 string $contact_email
94 ) {
95 $this->client_name = $client_name ? trim($client_name) : null;
96 $this->client_description = $client_description ? trim($client_description) : null;
97 $this->client_institution = $client_institution ? trim($client_institution) : null;
98 $this->contact_firstname = trim($contact_firstname);
99 $this->contact_lastname = trim($contact_lastname);
100 $this->contact_title = $contact_title ? trim($contact_title) : null;
101 $this->contact_position = $contact_position ? trim($contact_position) : null;
102 $this->contact_institution = $contact_institution ? trim($contact_institution) : null;
103 $this->contact_street = $contact_street ? trim($contact_street) : null;
104 $this->contact_zipcode = $contact_zipcode ? trim($contact_zipcode) : null;
105 $this->contact_city = $contact_city ? trim($contact_city) : null;
106 $this->contact_country = $contact_country ? trim($contact_country) : null;
107 $this->contact_phone = $contact_phone ? trim($contact_phone) : null;
108 $this->contact_email = trim($contact_email);
109 }
110
111 public function getClientName() : ?string
112 {
113 return $this->client_name;
114 }
115
116 public function getClientDescription() : ?string
117 {
119 }
120
121 public function getClientInstitution() : ?string
122 {
124 }
125
126 public function getContactFirstname() : string
127 {
129 }
130
131 public function getContactLastname() : string
132 {
134 }
135
136 public function getContactTitle() : ?string
137 {
139 }
140
141 public function getContactPosition() : ?string
142 {
144 }
145
146 public function getContactInstitution() : ?string
147 {
149 }
150
151 public function getContactStreet() : ?string
152 {
154 }
155
156 public function getContactZipcode() : ?string
157 {
159 }
160
161 public function getContactCity() : ?string
162 {
163 return $this->contact_city;
164 }
165
166 public function getContactCountry() : ?string
167 {
169 }
170
171 public function getContactPhone() : ?string
172 {
174 }
175
176 public function getContactEMail() : string
177 {
179 }
180}
An exception for terminatinating execution or to throw for unit testing.
__construct(?string $client_name, ?string $client_description, ?string $client_institution, string $contact_firstname, string $contact_lastname, ?string $contact_title, ?string $contact_position, ?string $contact_institution, ?string $contact_street, ?string $contact_zipcode, ?string $contact_city, ?string $contact_country, ?string $contact_phone, string $contact_email)
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...