ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilScormMailTemplateLPContext Class Reference
+ Inheritance diagram for ilScormMailTemplateLPContext:
+ Collaboration diagram for ilScormMailTemplateLPContext:

Public Member Functions

 getId ()
 
 getTitle ()
 
 getDescription ()
 
- Public Member Functions inherited from ilMailTemplateContext
 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 = 'sahs_context_lp'
 

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.ilScormMailTemplateLPContext.php.

Member Function Documentation

◆ getDescription()

◆ getId()

ilScormMailTemplateLPContext::getId ( )
Returns
string

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

20  {
21  return self::ID;
22  }

◆ getTitle()

ilScormMailTemplateLPContext::getTitle ( )
Returns
string

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

References $lng.

28  {
29  global $lng;
30 
31  $lng->loadLanguageModule('sahs');
32 
33  return $lng->txt('sahs_mail_context_lp');
34  }
global $lng
Definition: privfeed.php:17

Field Documentation

◆ ID

const ilScormMailTemplateLPContext::ID = 'sahs_context_lp'

Definition at line 14 of file class.ilScormMailTemplateLPContext.php.

Referenced by ilScormLP\getMailTemplateId().


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