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

Public Member Functions

 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 = 'crs_context_member_manual'
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file class.ilCourseMailTemplateMemberContext.php.

Member Function Documentation

◆ getDescription()

ilCourseMailTemplateMemberContext::getDescription ( )
Returns
string

Definition at line 41 of file class.ilCourseMailTemplateMemberContext.php.

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

42  {
43  global $DIC;
44 
45  $lng = $DIC['lng'];
46 
47  $lng->loadLanguageModule('crs');
48 
49  return $lng->txt('crs_mail_context_member_info');
50  }
global $DIC
Definition: saml.php:7
$lng
+ Here is the call graph for this function:

◆ getId()

ilCourseMailTemplateMemberContext::getId ( )
Returns
string

Definition at line 19 of file class.ilCourseMailTemplateMemberContext.php.

20  {
21  return self::ID;
22  }

◆ getTitle()

ilCourseMailTemplateMemberContext::getTitle ( )
Returns
string

Definition at line 27 of file class.ilCourseMailTemplateMemberContext.php.

References $DIC, and $lng.

28  {
29  global $DIC;
30 
31  $lng = $DIC['lng'];
32 
33  $lng->loadLanguageModule('crs');
34 
35  return $lng->txt('crs_mail_context_member_title');
36  }
global $DIC
Definition: saml.php:7
$lng

Field Documentation

◆ ID

const ilCourseMailTemplateMemberContext::ID = 'crs_context_member_manual'

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