ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSurveyMailTemplateReminderContext Class Reference
+ Inheritance diagram for ilSurveyMailTemplateReminderContext:
+ Collaboration diagram for ilSurveyMailTemplateReminderContext:

Public Member Functions

 __construct ()
 Constructor. More...
 
 getId ()
 
 getTitle ()
 
 getDescription ()
 
- Public Member Functions inherited from ilMailTemplateContext
 getLanguage ()
 
 setLanguage ($language)
 
 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 ($placeholder_id, array $context_parameters, ilObjUser $recipient=null, $html_markup=false)
 
 resolvePlaceholder ($placeholder_id, array $context_parameters, ilObjUser $recipient=null, $html_markup=false)
 

Data Fields

const ID = 'svy_context_rmd'
 

Protected Attributes

 $lng
 
 $obj_data_cache
 
- Protected Attributes inherited from ilMailTemplateContext
 $language
 

Additional Inherited Members

- Protected Member Functions inherited from ilMailTemplateContext
 initLanguage (ilObjUser $user)
 
 initLanguageByIso2Code ($a_code)
 Init language by ISO2 code. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilSurveyMailTemplateReminderContext::__construct ( )

Constructor.

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

References $DIC.

29  {
30  global $DIC;
31 
32  $this->lng = $DIC->language();
33  if (isset($DIC["ilObjDataCache"])) {
34  $this->obj_data_cache = $DIC["ilObjDataCache"];
35  }
36  }
global $DIC
Definition: saml.php:7

Member Function Documentation

◆ getDescription()

ilSurveyMailTemplateReminderContext::getDescription ( )
Returns
string

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

References $lng, $obj_data_cache, ilLink\_getLink(), ilMailTemplateContext\getSpecificPlaceholders(), and ilMailTemplateContext\resolveSpecificPlaceholder().

64  {
65  $lng = $this->lng;
66 
67  $lng->loadLanguageModule('survey');
68 
69  return $lng->txt('svy_mail_context_reminder_info');
70  }
+ Here is the call graph for this function:

◆ getId()

ilSurveyMailTemplateReminderContext::getId ( )
Returns
string

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

44  {
45  return self::ID;
46  }

◆ getTitle()

ilSurveyMailTemplateReminderContext::getTitle ( )
Returns
string

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

References $lng.

52  {
53  $lng = $this->lng;
54 
55  $lng->loadLanguageModule('survey');
56 
57  return $lng->txt('svy_mail_context_reminder_title');
58  }

Field Documentation

◆ $lng

ilSurveyMailTemplateReminderContext::$lng
protected

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

Referenced by getDescription(), and getTitle().

◆ $obj_data_cache

ilSurveyMailTemplateReminderContext::$obj_data_cache
protected

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

Referenced by getDescription().

◆ ID

const ilSurveyMailTemplateReminderContext::ID = 'svy_context_rmd'

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