ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilMailTemplateGenericContext.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once 'Services/Mail/classes/class.ilMailTemplateContext.php';
5
11{
15 public function getId()
16 {
17 return 'mail_template_generic';
18 }
19
23 public function getTitle()
24 {
25 global $DIC;
26
27 return $DIC->language()->txt('please_choose');
28 }
29
33 public function getDescription()
34 {
35 global $DIC;
36
37 return $DIC->language()->txt('please_choose');
38 }
39
43 public function getSpecificPlaceholders()
44 {
45 return array();
46 }
47
51 public function resolveSpecificPlaceholder($placeholder_id, array $context_parameters, ilObjUser $recipient = null, $html_markup = false)
52 {
53 return '';
54 }
55}
An exception for terminatinating execution or to throw for unit testing.
Class ilMailTemplateContext.
getTitle()
{Returns a translated title (depending on the current language) which is displayed in the user interf...
resolveSpecificPlaceholder($placeholder_id, array $context_parameters, ilObjUser $recipient=null, $html_markup=false)
{string}
getId()
{Returns a unique (in the context of mail template contexts) id.string}
getDescription()
{Returns a translated description (depending on the current language) which is displayed in the user ...
getSpecificPlaceholders()
{Return an array of placeholders.array}
global $DIC
Definition: saml.php:7