1 | <?php |
||
15 | class CustomNotification extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
||
16 | { |
||
17 | public const RECIPIENTS_ALL = 0; |
||
18 | public const RECIPIENTS_CONFIRMED = 1; |
||
19 | public const RECIPIENTS_UNCONFIRMED = 2; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $template = ''; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | protected $recipients = self::RECIPIENTS_CONFIRMED; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $overwriteSubject = ''; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $additionalMessage = ''; |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getTemplate(): string |
||
48 | |||
49 | /** |
||
50 | * @param string $template |
||
51 | */ |
||
52 | public function setTemplate(string $template): void |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getAdditionalMessage(): string |
||
64 | |||
65 | /** |
||
66 | * @param string $additionalMessage |
||
67 | */ |
||
68 | public function setAdditionalMessage(string $additionalMessage): void |
||
72 | |||
73 | /** |
||
74 | * @return int |
||
75 | */ |
||
76 | public function getRecipients(): int |
||
80 | |||
81 | /** |
||
82 | * @param int $recipients |
||
83 | */ |
||
84 | public function setRecipients(int $recipients): void |
||
88 | |||
89 | /** |
||
90 | * @return string |
||
91 | */ |
||
92 | public function getOverwriteSubject(): string |
||
96 | |||
97 | /** |
||
98 | * @param string $overwriteSubject |
||
99 | */ |
||
100 | public function setOverwriteSubject(string $overwriteSubject): void |
||
104 | } |
||
105 |