ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilSurveyMailTemplateReminderContext Class Reference

Handles survey reminder mail placeholders. More...

+ Inheritance diagram for ilSurveyMailTemplateReminderContext:
+ Collaboration diagram for ilSurveyMailTemplateReminderContext:

Public Member Functions

 __construct (?OrgUnitUserService $orgUnitUserService=null, ?ilMailEnvironmentHelper $envHelper=null, ?ilMailUserHelper $usernameHelper=null, ?ilMailLanguageHelper $languageHelper=null)
 
 getId ()
 
 getTitle ()
 
 getDescription ()
 
- 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)
 

Data Fields

const ID = 'svy_context_rmd'
 

Protected Attributes

ilLanguage $lng
 
ilObjectDataCache $obj_data_cache
 
- Protected Attributes inherited from ilMailTemplateContext
ilLanguage $language
 
ilMailEnvironmentHelper $env_helper
 
ilMailLanguageHelper $language_helper
 
ilMailUserHelper $user_helper
 
OrgUnitUserService $org_unit_user_service
 

Additional Inherited Members

- Protected Member Functions inherited from ilMailTemplateContext
 initLanguage (ilObjUser $user)
 
 initLanguageByIso2Code (string $iso_code)
 

Detailed Description

Handles survey reminder mail placeholders.

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

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

Constructor & Destructor Documentation

◆ __construct()

ilSurveyMailTemplateReminderContext::__construct ( ?OrgUnitUserService  $orgUnitUserService = null,
?ilMailEnvironmentHelper  $envHelper = null,
?ilMailUserHelper  $usernameHelper = null,
?ilMailLanguageHelper  $languageHelper = null 
)

Reimplemented from ilMailTemplateContext.

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

38 {
39 global $DIC;
40
42 $orgUnitUserService,
43 $envHelper,
44 $usernameHelper,
45 $languageHelper
46 );
47
48 $this->lng = $DIC->language();
49 if (isset($DIC["ilObjDataCache"])) {
50 $this->obj_data_cache = $DIC["ilObjDataCache"];
51 }
52 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getDescription()

ilSurveyMailTemplateReminderContext::getDescription ( )

Reimplemented from ilMailTemplateContext.

Definition at line 70 of file class.ilSurveyMailTemplateReminderContext.php.

70 : string
71 {
73
74 $lng->loadLanguageModule('survey');
75
76 return $lng->txt('svy_mail_context_reminder_info');
77 }
loadLanguageModule(string $a_module)
Load language module.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...

References $lng, ilLanguage\loadLanguageModule(), and ilLanguage\txt().

+ Here is the call graph for this function:

◆ getId()

ilSurveyMailTemplateReminderContext::getId ( )

Reimplemented from ilMailTemplateContext.

Definition at line 56 of file class.ilSurveyMailTemplateReminderContext.php.

References ID.

◆ getTitle()

ilSurveyMailTemplateReminderContext::getTitle ( )

Reimplemented from ilMailTemplateContext.

Definition at line 61 of file class.ilSurveyMailTemplateReminderContext.php.

61 : string
62 {
64
65 $lng->loadLanguageModule('survey');
66
67 return $lng->txt('svy_mail_context_reminder_title');
68 }

References $lng, ilLanguage\loadLanguageModule(), and ilLanguage\txt().

+ Here is the call graph for this function:

Field Documentation

◆ $lng

ilLanguage ilSurveyMailTemplateReminderContext::$lng
protected

Definition at line 30 of file class.ilSurveyMailTemplateReminderContext.php.

Referenced by getDescription(), and getTitle().

◆ $obj_data_cache

ilObjectDataCache ilSurveyMailTemplateReminderContext::$obj_data_cache
protected

◆ ID

const ilSurveyMailTemplateReminderContext::ID = 'svy_context_rmd'

Definition at line 54 of file class.ilSurveyMailTemplateReminderContext.php.

Referenced by getId().


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