ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
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
 setNext (self $next)
 

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.

References ILIAS\GlobalScreen\Provider\__construct().

29  {
30  parent::__construct($lng);
31  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ addPlaceholder()

ILIAS\Mail\Placeholder\MailSignatureInstallationNamePlaceholder::addPlaceholder ( array  $placeholder)

Definition at line 38 of file MailSignatureInstallationNamePlaceholder.php.

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

38  : array
39  {
40  $placeholder[$this->getId()] = $this->client_ini_file->readVariable('client', 'name');
41 
42  return $placeholder;
43  }
+ 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.

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

33  : string
34  {
35  return 'INSTALLATION_NAME';
36  }
+ Here is the caller graph for this function:

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