ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilMailTemplateGenericContext.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 
3 /* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 require_once 'Services/Mail/classes/class.ilMailTemplateContext.php';
6 
12 {
16  public function getId() : string
17  {
18  return 'mail_template_generic';
19  }
20 
24  public function getTitle() : string
25  {
26  return $this->getLanguage()->txt('please_choose');
27  }
28 
32  public function getDescription() : string
33  {
34  return $this->getLanguage()->txt('please_choose');
35  }
36 
40  public function getSpecificPlaceholders() : array
41  {
42  return [];
43  }
44 
48  public function resolveSpecificPlaceholder(
49  string $placeholder_id,
50  array $context_parameters,
51  ilObjUser $recipient = null,
52  bool $html_markup = false
53  ) : string {
54  return '';
55  }
56 }
Class ilMailTemplateContext.
resolveSpecificPlaceholder(string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false)