Completed
Push — master ( 0ecd6b...9f36b3 )
by Tim
03:56
created

PluginConfiguration::getModelName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * PluginConfiguration.
5
 */
6
namespace HDNET\Calendarize\Domain\Model;
7
8
/**
9
 * PluginConfiguration.
10
 *
11
 * @db
12
 */
13
class PluginConfiguration extends AbstractModel
14
{
15
    /**
16
     * Title.
17
     *
18
     * @var string
19
     * @db
20
     */
21
    protected $title;
22
23
    /**
24
     * @var string
25
     * @db
26
     */
27
    protected $modelName;
28
29
    /**
30
     * Configuration / Element Type / Record Type.
31
     *
32
     * @var string
33
     * @db
34
     */
35
    protected $configuration;
36
37
    /**
38
     * @var string
39
     * @db
40
     */
41
    protected $storagePid;
42
43
    /**
44
     * @var int
45
     * @db
46
     */
47
    protected $recursive;
48
49
    /**
50
     * @var int
51
     * @db
52
     */
53
    protected $detailPid;
54
55
    /**
56
     * @var int
57
     * @db
58
     */
59
    protected $listPid;
60
61
    /**
62
     * @var int
63
     * @db
64
     */
65
    protected $yearPid;
66
67
    /**
68
     * @var int
69
     * @db
70
     */
71
    protected $monthPid;
72
73
    /**
74
     * @var int
75
     * @db
76
     */
77
    protected $weekPid;
78
79
    /**
80
     * @var int
81
     * @db
82
     */
83
    protected $dayPid;
84
85
    /**
86
     * @var int
87
     * @db
88
     */
89
    protected $bookingPid;
90
91
    /**
92
     * Categories.
93
     *
94
     * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\Category>
95
     */
96
    protected $categories;
97
98
    /**
99
     * Build up the plugin configuration
100
     */
101
    public function __construct()
102
    {
103
        $this->categories = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
104
    }
105
106
    /**
107
     * @return mixed
108
     */
109
    public function getTitle()
110
    {
111
        return $this->title;
112
    }
113
114
    /**
115
     * @param mixed $title
116
     */
117
    public function setTitle($title)
118
    {
119
        $this->title = $title;
120
    }
121
122
    /**
123
     * @return string
124
     */
125
    public function getConfiguration()
126
    {
127
        return $this->configuration;
128
    }
129
130
    /**
131
     * @param string $configuration
132
     */
133
    public function setConfiguration($configuration)
134
    {
135
        $this->configuration = $configuration;
136
    }
137
138
    /**
139
     * @return string
140
     */
141
    public function getStoragePid()
142
    {
143
        return $this->storagePid;
144
    }
145
146
    /**
147
     * @param string $storagePid
148
     */
149
    public function setStoragePid($storagePid)
150
    {
151
        $this->storagePid = $storagePid;
152
    }
153
154
    /**
155
     * @return int
156
     */
157
    public function getRecursive()
158
    {
159
        return $this->recursive;
160
    }
161
162
    /**
163
     * @param int $recursive
164
     */
165
    public function setRecursive($recursive)
166
    {
167
        $this->recursive = $recursive;
168
    }
169
170
    /**
171
     * @return int
172
     */
173
    public function getDetailPid()
174
    {
175
        return $this->detailPid;
176
    }
177
178
    /**
179
     * @param int $detailPid
180
     */
181
    public function setDetailPid($detailPid)
182
    {
183
        $this->detailPid = $detailPid;
184
    }
185
186
    /**
187
     * @return int
188
     */
189
    public function getListPid()
190
    {
191
        return $this->listPid;
192
    }
193
194
    /**
195
     * @param int $listPid
196
     */
197
    public function setListPid($listPid)
198
    {
199
        $this->listPid = $listPid;
200
    }
201
202
    /**
203
     * @return int
204
     */
205
    public function getYearPid()
206
    {
207
        return $this->yearPid;
208
    }
209
210
    /**
211
     * @param int $yearPid
212
     */
213
    public function setYearPid($yearPid)
214
    {
215
        $this->yearPid = $yearPid;
216
    }
217
218
    /**
219
     * @return int
220
     */
221
    public function getMonthPid()
222
    {
223
        return $this->monthPid;
224
    }
225
226
    /**
227
     * @param int $monthPid
228
     */
229
    public function setMonthPid($monthPid)
230
    {
231
        $this->monthPid = $monthPid;
232
    }
233
234
    /**
235
     * @return int
236
     */
237
    public function getWeekPid()
238
    {
239
        return $this->weekPid;
240
    }
241
242
    /**
243
     * @param int $weekPid
244
     */
245
    public function setWeekPid($weekPid)
246
    {
247
        $this->weekPid = $weekPid;
248
    }
249
250
    /**
251
     * @return int
252
     */
253
    public function getDayPid()
254
    {
255
        return $this->dayPid;
256
    }
257
258
    /**
259
     * @param int $dayPid
260
     */
261
    public function setDayPid($dayPid)
262
    {
263
        $this->dayPid = $dayPid;
264
    }
265
266
    /**
267
     * @return int
268
     */
269
    public function getBookingPid()
270
    {
271
        return $this->bookingPid;
272
    }
273
274
    /**
275
     * @param int $bookingPid
276
     */
277
    public function setBookingPid($bookingPid)
278
    {
279
        $this->bookingPid = $bookingPid;
280
    }
281
282
    /**
283
     * @return string
284
     */
285
    public function getModelName()
286
    {
287
        return $this->modelName;
288
    }
289
290
    /**
291
     * @param string $modelName
292
     */
293
    public function setModelName($modelName)
294
    {
295
        $this->modelName = $modelName;
296
    }
297
298
    /**
299
     * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage
300
     */
301
    public function getCategories()
302
    {
303
        return $this->categories;
304
    }
305
306
    /**
307
     * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $categories
308
     */
309
    public function setCategories(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $categories)
310
    {
311
        $this->categories = $categories;
312
    }
313
}
314