ILIAS  release_7 Revision v7.30-3-g800a261c036
ilMailTemplateGenericContext Class Reference
+ Inheritance diagram for ilMailTemplateGenericContext:
+ Collaboration diagram for ilMailTemplateGenericContext:

Public Member Functions

 getId ()
 @inheritDoc More...
 
 getTitle ()
 @inheritDoc More...
 
 getDescription ()
 @inheritDoc More...
 
 getSpecificPlaceholders ()
 @inheritDoc More...
 
 resolveSpecificPlaceholder (string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false)
 @inheritDoc More...
 
- Public Member Functions inherited from ilMailTemplateContext
 __construct (OrgUnitUserService $orgUnitUserService=null, ilMailEnvironmentHelper $envHelper=null, ilMailUserHelper $usernameHelper=null, ilMailLanguageHelper $languageHelper=null)
 ilMailTemplateContext constructor. More...
 
 getLanguage ()
 
 getId ()
 Returns a unique (in the context of mail template contexts) id. More...
 
 getTitle ()
 Returns a translated title (depending on the current language) which is displayed in the user interface. More...
 
 getDescription ()
 Returns a translated description (depending on the current language) which is displayed in the user interface. More...
 
 getPlaceholders ()
 Return an array of placeholders. More...
 
 getSpecificPlaceholders ()
 Return an array of placeholders. More...
 
 resolveSpecificPlaceholder (string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false)
 
 resolvePlaceholder (string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false)
 

Additional Inherited Members

- Protected Member Functions inherited from ilMailTemplateContext
 initLanguage (ilObjUser $user)
 
 initLanguageByIso2Code (string $isoCode)
 
- Protected Attributes inherited from ilMailTemplateContext
 $language
 
 $envHelper
 
 $languageHelper
 
 $userHelper
 
 $orgUnitUserService
 

Detailed Description

Member Function Documentation

◆ getDescription()

ilMailTemplateGenericContext::getDescription ( )

@inheritDoc

Reimplemented from ilMailTemplateContext.

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

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

References ilMailTemplateContext\getLanguage().

+ Here is the call graph for this function:

◆ getId()

ilMailTemplateGenericContext::getId ( )

@inheritDoc

Reimplemented from ilMailTemplateContext.

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

16 : string
17 {
18 return 'mail_template_generic';
19 }

◆ getSpecificPlaceholders()

ilMailTemplateGenericContext::getSpecificPlaceholders ( )

@inheritDoc

Reimplemented from ilMailTemplateContext.

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

40 : array
41 {
42 return [];
43 }

◆ getTitle()

ilMailTemplateGenericContext::getTitle ( )

@inheritDoc

Reimplemented from ilMailTemplateContext.

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

24 : string
25 {
26 return $this->getLanguage()->txt('please_choose');
27 }

References ilMailTemplateContext\getLanguage().

+ Here is the call graph for this function:

◆ resolveSpecificPlaceholder()

ilMailTemplateGenericContext::resolveSpecificPlaceholder ( string  $placeholder_id,
array  $context_parameters,
ilObjUser  $recipient = null,
bool  $html_markup = false 
)

@inheritDoc

Reimplemented from ilMailTemplateContext.

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

53 : string {
54 return '';
55 }

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