ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMailTemplateGenericContext Class Reference
+ Inheritance diagram for ilMailTemplateGenericContext:
+ Collaboration diagram for ilMailTemplateGenericContext:

Public Member Functions

 getId ()
 
 getTitle ()
 
 getDescription ()
 
 getSpecificPlaceholders ()
 
 resolveSpecificPlaceholder (string $placeholder_id, array $context_parameters, ?ilObjUser $recipient=null)
 
- Public Member Functions inherited from ilMailTemplateContext
 __construct (?OrgUnitUserService $org_unit_user_service=null, ?ilMailEnvironmentHelper $environment_helper=null, ?ilMailUserHelper $user_helper=null, ?ilMailLanguageHelper $language_helper=null)
 
 getLanguage ()
 
 getId ()
 
 getTitle ()
 
 getDescription ()
 
 getNestedPlaceholders ()
 
 getPlaceholders ()
 
 getSpecificPlaceholders ()
 
 resolveSpecificPlaceholder (string $placeholder_id, array $context_parameters, ?ilObjUser $recipient=null)
 
 resolvePlaceholder (string $placeholder_id, array $context_parameters, ?ilObjUser $recipient=null)
 

Additional Inherited Members

- Protected Member Functions inherited from ilMailTemplateContext
 initLanguage (ilObjUser $user)
 
 initLanguageByIso2Code (string $iso_code)
 
- Protected Attributes inherited from ilMailTemplateContext
ilLanguage $language
 
ilMailEnvironmentHelper $env_helper
 
ilMailLanguageHelper $language_helper
 
ilMailUserHelper $user_helper
 
OrgUnitUserService $org_unit_user_service
 

Detailed Description

Definition at line 21 of file class.ilMailTemplateGenericContext.php.

Member Function Documentation

◆ getDescription()

ilMailTemplateGenericContext::getDescription ( )

Reimplemented from ilMailTemplateContext.

Definition at line 33 of file class.ilMailTemplateGenericContext.php.

33 : string
34 {
35 return $this->getLanguage()->txt('please_choose');
36 }

References ilMailTemplateContext\getLanguage().

+ Here is the call graph for this function:

◆ getId()

ilMailTemplateGenericContext::getId ( )

Reimplemented from ilMailTemplateContext.

Definition at line 23 of file class.ilMailTemplateGenericContext.php.

23 : string
24 {
25 return 'mail_template_generic';
26 }

◆ getSpecificPlaceholders()

ilMailTemplateGenericContext::getSpecificPlaceholders ( )
Returns
array<string, array{placeholder: string, crs_period_end_mail_placeholder: string}>

Reimplemented from ilMailTemplateContext.

Definition at line 38 of file class.ilMailTemplateGenericContext.php.

38 : array
39 {
40 return [];
41 }

◆ getTitle()

ilMailTemplateGenericContext::getTitle ( )

Reimplemented from ilMailTemplateContext.

Definition at line 28 of file class.ilMailTemplateGenericContext.php.

28 : string
29 {
30 return $this->getLanguage()->txt('please_choose');
31 }

References ilMailTemplateContext\getLanguage().

+ Here is the call graph for this function:

◆ resolveSpecificPlaceholder()

ilMailTemplateGenericContext::resolveSpecificPlaceholder ( string  $placeholder_id,
array  $context_parameters,
?ilObjUser  $recipient = null 
)
Parameters
array<string,mixed>$context_parameters

Reimplemented from ilMailTemplateContext.

Definition at line 43 of file class.ilMailTemplateGenericContext.php.

47 : string {
48 return '';
49 }

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