ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilScormMailTemplateLPContext Class Reference
+ Inheritance diagram for ilScormMailTemplateLPContext:
+ Collaboration diagram for ilScormMailTemplateLPContext:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from ilMailTemplateContext
 initLanguage (ilObjUser $user)
 
 initLanguageByIso2Code (string $iso_code)
 
- Protected Attributes inherited from ilMailTemplateContext
ilLanguage $language
 
ilMailEnvironmentHelper $env_helper
 
ilMailLanguageHelper $language_helper
 
ilMailUserHelper $user_helper
 
OrgUnitUserService $org_unit_user_service
 

Detailed Description

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

Member Function Documentation

◆ getDescription()

ilScormMailTemplateLPContext::getDescription ( )

Reimplemented from ilMailTemplateContext.

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

46 : string
47 {
48 global $DIC;
49 $lng = $DIC->language();
50
51 $lng->loadLanguageModule('sahs');
52
53 return $lng->txt('sahs_mail_context_lp_info');
54 }
global $lng
Definition: privfeed.php:31
global $DIC
Definition: shib_login.php:26

References $DIC, and $lng.

◆ getId()

ilScormMailTemplateLPContext::getId ( )

Reimplemented from ilMailTemplateContext.

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

31 : string
32 {
33 return self::ID;
34 }

References ID.

◆ getTitle()

ilScormMailTemplateLPContext::getTitle ( )

Reimplemented from ilMailTemplateContext.

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

36 : string
37 {
38 global $DIC;
39 $lng = $DIC->language();
40
41 $lng->loadLanguageModule('sahs');
42
43 return $lng->txt('sahs_mail_context_lp');
44 }

References $DIC, and $lng.

Field Documentation

◆ ID

const ilScormMailTemplateLPContext::ID = 'sahs_context_lp'

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

Referenced by getId(), and ilScormLP\getMailTemplateId().


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