ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
5require_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
49 string $placeholder_id,
50 array $context_parameters,
51 ilObjUser $recipient = null,
52 bool $html_markup = false
53 ) : string {
54 return '';
55 }
56}
An exception for terminatinating execution or to throw for unit testing.
Class ilMailTemplateContext.
resolveSpecificPlaceholder(string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false)
@inheritDoc