ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilMailTemplateGenericContext Class Reference
+ Inheritance diagram for ilMailTemplateGenericContext:
+ Collaboration diagram for ilMailTemplateGenericContext:

Public Member Functions

 getId ()
 {Returns a unique (in the context of mail template contexts) id.
Returns
string
} More...
 
 getTitle ()
 {Returns a translated title (depending on the current language) which is displayed in the user interface.
Returns
string
} More...
 
 getDescription ()
 {Returns a translated description (depending on the current language) which is displayed in the user interface.
Returns
string
} More...
 
 getSpecificPlaceholders ()
 {Return an array of placeholders.
Returns
array
} More...
 
 resolveSpecificPlaceholder ($placeholder_id, array $context_parameters, ilObjUser $recipient=null, $html_markup=false)
 {
Parameters
string$placeholder_id
array$context_parameters
ilObjUser | null$recipient
bool$html_markup
Returns
string
} More...
 
- 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)
 

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

Member Function Documentation

◆ getDescription()

ilMailTemplateGenericContext::getDescription ( )

{Returns a translated description (depending on the current language) which is displayed in the user interface.

Returns
string
}

Reimplemented from ilMailTemplateContext.

Definition at line 33 of file class.ilMailTemplateGenericContext.php.

34 {
35 global $DIC;
36
37 return $DIC->language()->txt('please_choose');
38 }
global $DIC
Definition: saml.php:7

References $DIC.

◆ getId()

ilMailTemplateGenericContext::getId ( )

{Returns a unique (in the context of mail template contexts) id.

Returns
string
}

Reimplemented from ilMailTemplateContext.

Definition at line 15 of file class.ilMailTemplateGenericContext.php.

16 {
17 return 'mail_template_generic';
18 }

◆ getSpecificPlaceholders()

ilMailTemplateGenericContext::getSpecificPlaceholders ( )

{Return an array of placeholders.

Returns
array
}

Reimplemented from ilMailTemplateContext.

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

44 {
45 return array();
46 }

◆ getTitle()

ilMailTemplateGenericContext::getTitle ( )

{Returns a translated title (depending on the current language) which is displayed in the user interface.

Returns
string
}

Reimplemented from ilMailTemplateContext.

Definition at line 23 of file class.ilMailTemplateGenericContext.php.

24 {
25 global $DIC;
26
27 return $DIC->language()->txt('please_choose');
28 }

References $DIC.

◆ resolveSpecificPlaceholder()

ilMailTemplateGenericContext::resolveSpecificPlaceholder (   $placeholder_id,
array  $context_parameters,
ilObjUser  $recipient = null,
  $html_markup = false 
)

{

Parameters
string$placeholder_id
array$context_parameters
ilObjUser | null$recipient
bool$html_markup
Returns
string
}

Reimplemented from ilMailTemplateContext.

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

52 {
53 return '';
54 }

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