ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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...
 
 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
 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

◆ 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 49 of file class.ilMailTemplateGenericContext.php.

50 {
51 return array();
52 }

◆ 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 57 of file class.ilMailTemplateGenericContext.php.

58 {
59 return '';
60 }

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