ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
MailSignatureInstallationNamePlaceholder.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ilIniFile;
24use ilLanguage;
25
27{
28 public function __construct(ilLanguage $lng, private readonly ilIniFile $client_ini_file)
29 {
31 }
32
33 public function getId(): string
34 {
35 return 'INSTALLATION_NAME';
36 }
37
38 public function addPlaceholder(array $placeholder): array
39 {
40 $placeholder[$this->getId()] = $this->client_ini_file->readVariable('client', 'name');
41
42 return $placeholder;
43 }
44}
__construct(ilLanguage $lng, private readonly ilIniFile $client_ini_file)
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