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