ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder Class Reference
+ Inheritance diagram for ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder:
+ Collaboration diagram for ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder:

Public Member Functions

 __construct (ilLanguage $lng, private readonly ilIniFile $client_ini_file)
 
 getId ()
 
 addPlaceholder (array $placeholder)
 
- Public Member Functions inherited from ILIAS\Mail\Placeholder\AbstractPlaceholderHandler
 __construct (protected ilLanguage $lng)
 
 getLabel ()
 
 setNext (Placeholder $next)
 
 getNext ()
 
 handle (Signature $signature)
 
 addPlaceholder (array $placeholder)
 
- Public Member Functions inherited from ILIAS\Mail\Placeholder\Placeholder
 getId ()
 
 getLabel ()
 
 handle (Signature $signature)
 
 setNext (self $next)
 
 getNext ()
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\Mail\Placeholder\AbstractPlaceholderHandler
Placeholder $next = null
 

Detailed Description

Definition at line 26 of file MailSignatureInstallationNamePlaceholder.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder::__construct ( ilLanguage  $lng,
private readonly ilIniFile  $client_ini_file 
)

Definition at line 28 of file MailSignatureInstallationNamePlaceholder.php.

29 {
31 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $lng
Definition: privfeed.php:31

References $lng, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ addPlaceholder()

ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder::addPlaceholder ( array  $placeholder)
Parameters
array<string,string>$placeholder
Returns
array<string, string>

Reimplemented from ILIAS\Mail\Placeholder\AbstractPlaceholderHandler.

Definition at line 38 of file MailSignatureInstallationNamePlaceholder.php.

38 : array
39 {
40 $placeholder[$this->getId()] = $this->client_ini_file->readVariable('client', 'name');
41
42 return $placeholder;
43 }

References ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder\getId().

+ Here is the call graph for this function:

◆ getId()

ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder::getId ( )

Implements ILIAS\Mail\Placeholder\Placeholder.

Definition at line 33 of file MailSignatureInstallationNamePlaceholder.php.

33 : string
34 {
35 return 'INSTALLATION_NAME';
36 }

Referenced by ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder\addPlaceholder().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: