ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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
 getId ()
 
 getLabel ()
 
 handle (Signature $signature)
 
 setNext (self $next)
 
 getNext ()
 

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.

31 {
32 global $DIC;
33 $this->client_ini_file = $DIC['ilClientIniFile'];
35 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $lng
Definition: privfeed.php:31
global $DIC
Definition: shib_login.php:26

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

+ Here is the call graph for this function:

Member Function Documentation

◆ addPlaceholder()

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

Reimplemented from ILIAS\Mail\Placeholder\AbstractPlaceholderHandler.

Definition at line 42 of file MailSignatureInstallationDescriptionPlaceholder.php.

42 : array
43 {
44 $placeholder[$this->getId()] = $this->client_ini_file->readVariable('client', 'name');
45
46 return $placeholder;
47 }

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

+ 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.

37 : string
38 {
39 return 'INSTALLATION_DESC';
40 }

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

+ 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: