ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\Mail\Placeholder\MailSignatureInstallationDescriptionPlaceholder Class Reference
+ Inheritance diagram for ILIAS\Mail\Placeholder\MailSignatureInstallationDescriptionPlaceholder:
+ Collaboration diagram for ILIAS\Mail\Placeholder\MailSignatureInstallationDescriptionPlaceholder:

Public Member Functions

 __construct (ilLanguage $lng)
 
 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)
 

Private Attributes

readonly ilIniFile $client_ini_file
 

Additional Inherited Members

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

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Mail\Placeholder\MailSignatureInstallationDescriptionPlaceholder::__construct ( ilLanguage  $lng)

Definition at line 30 of file MailSignatureInstallationDescriptionPlaceholder.php.

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

31  {
32  global $DIC;
33  $this->client_ini_file = $DIC['ilClientIniFile'];
34  parent::__construct($lng);
35  }
global $DIC
Definition: shib_login.php:26
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ addPlaceholder()

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

Definition at line 42 of file MailSignatureInstallationDescriptionPlaceholder.php.

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

42  : array
43  {
44  $placeholder[$this->getId()] = $this->client_ini_file->readVariable('client', 'name');
45 
46  return $placeholder;
47  }
+ Here is the call graph for this function:

◆ getId()

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

Implements ILIAS\Mail\Placeholder\Placeholder.

Definition at line 37 of file MailSignatureInstallationDescriptionPlaceholder.php.

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

37  : string
38  {
39  return 'INSTALLATION_DESC';
40  }
+ Here is the caller graph for this function:

Field Documentation

◆ $client_ini_file

readonly ilIniFile ILIAS\Mail\Placeholder\MailSignatureInstallationDescriptionPlaceholder::$client_ini_file
private

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