ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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, bool $html_markup=false)
 
- 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 ( )

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

References ilMailTemplateContext\getLanguage().

32  : string
33  {
34  return $this->getLanguage()->txt('please_choose');
35  }
+ Here is the call graph for this function:

◆ getId()

ilMailTemplateGenericContext::getId ( )

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

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

◆ getSpecificPlaceholders()

ilMailTemplateGenericContext::getSpecificPlaceholders ( )

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

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

◆ getTitle()

ilMailTemplateGenericContext::getTitle ( )

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

References ilMailTemplateContext\getLanguage().

24  : string
25  {
26  return $this->getLanguage()->txt('please_choose');
27  }
+ Here is the call graph for this function:

◆ resolveSpecificPlaceholder()

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

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: