|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/* |
|
4
|
|
|
* This file is part of the Extension "sf_event_mgt" for TYPO3 CMS. |
|
5
|
|
|
* |
|
6
|
|
|
* For the full copyright and license information, please read the |
|
7
|
|
|
* LICENSE.txt file that was distributed with this source code. |
|
8
|
|
|
*/ |
|
9
|
|
|
|
|
10
|
|
|
namespace DERHANSEN\SfEventMgt\Domain\Model; |
|
11
|
|
|
|
|
12
|
|
|
/** |
|
13
|
|
|
* Organisator |
|
14
|
|
|
* |
|
15
|
|
|
* @author AlexPixelant |
|
16
|
|
|
*/ |
|
17
|
|
|
class Organisator extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
|
18
|
|
|
{ |
|
19
|
|
|
/** |
|
20
|
|
|
* Name of Organisator |
|
21
|
|
|
* |
|
22
|
|
|
* @var string |
|
23
|
|
|
*/ |
|
24
|
|
|
protected $name = ''; |
|
25
|
|
|
|
|
26
|
|
|
/** |
|
27
|
|
|
* E-Mail of Organisator |
|
28
|
|
|
* |
|
29
|
|
|
* @var string |
|
30
|
|
|
*/ |
|
31
|
|
|
protected $email = ''; |
|
32
|
|
|
|
|
33
|
|
|
/** |
|
34
|
|
|
* E-Mail signature of Organisator |
|
35
|
|
|
* |
|
36
|
|
|
* @var string |
|
37
|
|
|
*/ |
|
38
|
|
|
protected $emailSignature = ''; |
|
39
|
|
|
|
|
40
|
|
|
/** |
|
41
|
|
|
* Phone number of Organisator |
|
42
|
|
|
* |
|
43
|
|
|
* @var string |
|
44
|
|
|
*/ |
|
45
|
|
|
protected $phone = ''; |
|
46
|
|
|
|
|
47
|
|
|
/** |
|
48
|
|
|
* URL of Organisator |
|
49
|
|
|
* |
|
50
|
|
|
* @var string |
|
51
|
|
|
*/ |
|
52
|
|
|
protected $link = ''; |
|
53
|
|
|
|
|
54
|
|
|
/** |
|
55
|
|
|
* Image of Organisator |
|
56
|
|
|
* |
|
57
|
|
|
* @var \TYPO3\CMS\Extbase\Domain\Model\FileReference |
|
58
|
|
|
*/ |
|
59
|
|
|
protected $image; |
|
60
|
|
|
|
|
61
|
|
|
/** |
|
62
|
|
|
* Returns the name |
|
63
|
|
|
* |
|
64
|
|
|
* @return string $name |
|
65
|
|
|
*/ |
|
66
|
|
|
public function getName() |
|
67
|
|
|
{ |
|
68
|
|
|
return $this->name; |
|
69
|
|
|
} |
|
70
|
|
|
|
|
71
|
|
|
/** |
|
72
|
|
|
* Sets the name |
|
73
|
|
|
* |
|
74
|
|
|
* @param string $name The name |
|
75
|
|
|
*/ |
|
76
|
|
|
public function setName($name) |
|
77
|
|
|
{ |
|
78
|
|
|
$this->name = $name; |
|
79
|
|
|
} |
|
80
|
|
|
|
|
81
|
|
|
/** |
|
82
|
|
|
* Returns the email |
|
83
|
|
|
* |
|
84
|
|
|
* @return string $email |
|
85
|
|
|
*/ |
|
86
|
|
|
public function getEmail() |
|
87
|
|
|
{ |
|
88
|
|
|
return $this->email; |
|
89
|
|
|
} |
|
90
|
|
|
|
|
91
|
|
|
/** |
|
92
|
|
|
* Sets the email |
|
93
|
|
|
* |
|
94
|
|
|
* @param string $email The email |
|
95
|
|
|
*/ |
|
96
|
|
|
public function setEmail($email) |
|
97
|
|
|
{ |
|
98
|
|
|
$this->email = $email; |
|
99
|
|
|
} |
|
100
|
|
|
|
|
101
|
|
|
/** |
|
102
|
|
|
* @return string |
|
103
|
|
|
*/ |
|
104
|
|
|
public function getEmailSignature(): string |
|
105
|
|
|
{ |
|
106
|
|
|
return $this->emailSignature; |
|
107
|
|
|
} |
|
108
|
|
|
|
|
109
|
|
|
/** |
|
110
|
|
|
* @param string $emailSignature |
|
111
|
|
|
*/ |
|
112
|
|
|
public function setEmailSignature(string $emailSignature) |
|
113
|
|
|
{ |
|
114
|
|
|
$this->emailSignature = $emailSignature; |
|
115
|
|
|
} |
|
116
|
|
|
|
|
117
|
|
|
/** |
|
118
|
|
|
* Returns the phone |
|
119
|
|
|
* |
|
120
|
|
|
* @return string $phone |
|
121
|
|
|
*/ |
|
122
|
|
|
public function getPhone() |
|
123
|
|
|
{ |
|
124
|
|
|
return $this->phone; |
|
125
|
|
|
} |
|
126
|
|
|
|
|
127
|
|
|
/** |
|
128
|
|
|
* Sets the phone |
|
129
|
|
|
* |
|
130
|
|
|
* @param string $phone The phone |
|
131
|
|
|
*/ |
|
132
|
|
|
public function setPhone($phone) |
|
133
|
|
|
{ |
|
134
|
|
|
$this->phone = $phone; |
|
135
|
|
|
} |
|
136
|
|
|
|
|
137
|
|
|
/** |
|
138
|
|
|
* Returns the link |
|
139
|
|
|
* |
|
140
|
|
|
* @return string $link |
|
141
|
|
|
*/ |
|
142
|
|
|
public function getLink() |
|
143
|
|
|
{ |
|
144
|
|
|
return $this->link; |
|
145
|
|
|
} |
|
146
|
|
|
|
|
147
|
|
|
/** |
|
148
|
|
|
* Sets the link |
|
149
|
|
|
* |
|
150
|
|
|
* @param string $link The link |
|
151
|
|
|
*/ |
|
152
|
|
|
public function setLink($link) |
|
153
|
|
|
{ |
|
154
|
|
|
$this->link = $link; |
|
155
|
|
|
} |
|
156
|
|
|
|
|
157
|
|
|
/** |
|
158
|
|
|
* Returns the image |
|
159
|
|
|
* |
|
160
|
|
|
* @return \TYPO3\CMS\Extbase\Domain\Model\FileReference $image |
|
161
|
|
|
*/ |
|
162
|
|
|
public function getImage() |
|
163
|
|
|
{ |
|
164
|
|
|
return $this->image; |
|
165
|
|
|
} |
|
166
|
|
|
|
|
167
|
|
|
/** |
|
168
|
|
|
* Sets the image |
|
169
|
|
|
* |
|
170
|
|
|
* @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $image The image |
|
171
|
|
|
*/ |
|
172
|
|
|
public function setImage(\TYPO3\CMS\Extbase\Domain\Model\FileReference $image) |
|
173
|
|
|
{ |
|
174
|
|
|
$this->image = $image; |
|
175
|
|
|
} |
|
176
|
|
|
} |
|
177
|
|
|
|