ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 $orgUnitUserService=null, ilMailEnvironmentHelper $envHelper=null, ilMailUserHelper $usernameHelper=null, ilMailLanguageHelper $languageHelper=null)
 ilMailTemplateContext constructor. More...
 
 getLanguage ()
 
 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 (string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false)
 
 resolvePlaceholder (string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false)
 

Data Fields

const ID = 'sahs_context_lp'
 

Additional Inherited Members

- Protected Member Functions inherited from ilMailTemplateContext
 initLanguage (ilObjUser $user)
 
 initLanguageByIso2Code (string $isoCode)
 
- Protected Attributes inherited from ilMailTemplateContext
 $language
 
 $envHelper
 
 $languageHelper
 
 $userHelper
 
 $orgUnitUserService
 

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.

19  : string
20  {
21  return self::ID;
22  }

◆ getTitle()

ilScormMailTemplateLPContext::getTitle ( )
Returns
string

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

References $DIC, and $lng.

27  : string
28  {
29  global $DIC;
30  $lng = $DIC['lng'];
31 
32  $lng->loadLanguageModule('sahs');
33 
34  return $lng->txt('sahs_mail_context_lp');
35  }
$lng
global $DIC
Definition: goto.php:24

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: