ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
MailSignatureInstallationDescriptionPlaceholder.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ilIniFile;
24use ilLanguage;
25
27{
28 private readonly ilIniFile $client_ini_file;
29
30 public function __construct(ilLanguage $lng)
31 {
32 global $DIC;
33 $this->client_ini_file = $DIC['ilClientIniFile'];
35 }
36
37 public function getId(): string
38 {
39 return 'INSTALLATION_DESC';
40 }
41
42 public function addPlaceholder(array $placeholder): array
43 {
44 $placeholder[$this->getId()] = $this->client_ini_file->readVariable('client', 'name');
45
46 return $placeholder;
47 }
48}
INIFile Parser Early access in init proceess! Avoid further dependencies like logging or other servic...
language handling
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $lng
Definition: privfeed.php:31
global $DIC
Definition: shib_login.php:26