Passed
Pull Request — master (#209)
by
unknown
18:21
created
Configuration/TCA/tx_dpf_domain_model_document.php 1 patch
Spacing   +87 added lines, -87 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document',
22 22
         'label'                    => 'title',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -38,81 +38,81 @@  discard block
 block discarded – undo
38 38
         transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date',
39 39
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
40 40
     ),
41
-    'interface' => array(
41
+    'interface' => array (
42 42
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden,
43 43
         title, authors, xml_data, slub_info_data, document_type, date_issued, process_number, valid, changed,
44 44
         state, reserved_object_identifier, object_identifier,
45 45
         transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date',
46 46
     ),
47
-    'types'     => array(
48
-        '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,
47
+    'types'     => array (
48
+        '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,
49 49
         title, authors, xml_data, slub_info_data, document_type, date_issued, process_number, valid, changed,
50 50
         state, reserved_object_identifier, object_identifier,
51 51
         transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date,
52 52
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
53 53
     ),
54
-    'palettes'  => array(
55
-        '1' => array('showitem' => ''),
54
+    'palettes'  => array (
55
+        '1' => array ('showitem' => ''),
56 56
     ),
57
-    'columns'   => array(
57
+    'columns'   => array (
58 58
 
59
-        'sys_language_uid'           => array(
59
+        'sys_language_uid'           => array (
60 60
             'exclude' => 1,
61 61
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
62
-            'config'  => array(
62
+            'config'  => array (
63 63
                 'type'                => 'select',
64 64
                 'renderType'          => 'selectSingle',
65 65
                 'foreign_table'       => 'sys_language',
66 66
                 'foreign_table_where' => 'ORDER BY sys_language.title',
67
-                'items'               => array(
68
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
69
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
67
+                'items'               => array (
68
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
69
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
70 70
                 ),
71 71
                 'default' => 0,
72 72
             ),
73 73
         ),
74
-        'l10n_parent'                => array(
74
+        'l10n_parent'                => array (
75 75
             'displayCond' => 'FIELD:sys_language_uid:>:0',
76 76
             'exclude'     => 1,
77 77
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
78
-            'config'      => array(
78
+            'config'      => array (
79 79
                 'type'                => 'select',
80 80
                 'renderType'          => 'selectSingle',
81
-                'items'               => array(
82
-                    array('', 0),
81
+                'items'               => array (
82
+                    array ('', 0),
83 83
                 ),
84 84
                 'foreign_table'       => 'tx_dpf_domain_model_document',
85 85
                 'foreign_table_where' => 'AND tx_dpf_domain_model_document.pid=###CURRENT_PID### AND tx_dpf_domain_model_document.sys_language_uid IN (-1,0)',
86 86
                 'default' => 0,
87 87
             ),
88 88
         ),
89
-        'l10n_diffsource'            => array(
90
-            'config' => array(
89
+        'l10n_diffsource'            => array (
90
+            'config' => array (
91 91
                 'type' => 'passthrough',
92 92
             ),
93 93
         ),
94 94
 
95
-        't3ver_label'                => array(
95
+        't3ver_label'                => array (
96 96
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
97
-            'config' => array(
97
+            'config' => array (
98 98
                 'type' => 'input',
99 99
                 'size' => 30,
100 100
                 'max'  => 255,
101 101
             ),
102 102
         ),
103 103
 
104
-        'hidden'                     => array(
104
+        'hidden'                     => array (
105 105
             'exclude' => 1,
106 106
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
107
-            'config'  => array(
107
+            'config'  => array (
108 108
                 'type' => 'check',
109 109
             ),
110 110
         ),
111
-        'starttime'                  => array(
111
+        'starttime'                  => array (
112 112
             'exclude'   => 1,
113 113
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
114
-            'config'    => array(
115
-                'behaviour' => array(
114
+            'config'    => array (
115
+                'behaviour' => array (
116 116
                     'allowLanguageSynchronization' => true
117 117
                 ),
118 118
                 'type'     => 'input',
@@ -121,16 +121,16 @@  discard block
 block discarded – undo
121 121
                 'eval'     => 'datetime',
122 122
                 'checkbox' => 0,
123 123
                 'default'  => 0,
124
-                'range'    => array(
124
+                'range'    => array (
125 125
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
126 126
                 ),
127 127
             ),
128 128
         ),
129
-        'endtime'                    => array(
129
+        'endtime'                    => array (
130 130
             'exclude'   => 1,
131 131
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
132
-            'config'    => array(
133
-                'behaviour' => array(
132
+            'config'    => array (
133
+                'behaviour' => array (
134 134
                     'allowLanguageSynchronization' => true
135 135
                 ),
136 136
                 'type'     => 'input',
@@ -139,56 +139,56 @@  discard block
 block discarded – undo
139 139
                 'eval'     => 'datetime',
140 140
                 'checkbox' => 0,
141 141
                 'default'  => 0,
142
-                'range'    => array(
142
+                'range'    => array (
143 143
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
144 144
                 ),
145 145
             ),
146 146
         ),
147 147
 
148
-        'title'                      => array(
148
+        'title'                      => array (
149 149
             'exclude' => 1,
150 150
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.title',
151
-            'config'  => array(
151
+            'config'  => array (
152 152
                 'type' => 'input',
153 153
                 'size' => 30,
154 154
                 'eval' => 'trim',
155 155
             ),
156 156
         ),
157 157
 
158
-        'authors'                    => array(
158
+        'authors'                    => array (
159 159
             'exclude' => 1,
160 160
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.authors',
161
-            'config'  => array(
161
+            'config'  => array (
162 162
                 'type' => 'input',
163 163
                 'size' => 30,
164 164
                 'eval' => 'trim',
165 165
             ),
166 166
         ),
167 167
 
168
-        'xml_data'                   => array(
168
+        'xml_data'                   => array (
169 169
             'exclude' => 1,
170 170
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.xml_data',
171
-            'config'  => array(
171
+            'config'  => array (
172 172
                 'type' => 'text',
173 173
                 'cols' => 40,
174 174
                 'rows' => 15,
175 175
                 'eval' => 'trim',
176 176
             ),
177 177
         ),
178
-        'slub_info_data'             => array(
178
+        'slub_info_data'             => array (
179 179
             'exclude' => 1,
180 180
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.slub_info_data',
181
-            'config'  => array(
181
+            'config'  => array (
182 182
                 'type' => 'text',
183 183
                 'cols' => 40,
184 184
                 'rows' => 15,
185 185
                 'eval' => 'trim',
186 186
             ),
187 187
         ),
188
-        'document_type'              => array(
188
+        'document_type'              => array (
189 189
             'exclude' => 1,
190 190
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.document_type',
191
-            'config'  => array(
191
+            'config'  => array (
192 192
                 'type'                => 'select',
193 193
                 'renderType'          => 'selectSingle',
194 194
                 'foreign_table'       => 'tx_dpf_domain_model_documenttype',
@@ -198,120 +198,120 @@  discard block
 block discarded – undo
198 198
             ),
199 199
         ),
200 200
 
201
-        'crdate'                     => array(
202
-            'config'  => array(
201
+        'crdate'                     => array (
202
+            'config'  => array (
203 203
                 'type' => 'passthrough',
204 204
             ),
205 205
         ),
206 206
 
207
-        'tstamp'                     => array(
208
-            'config'  => array(
207
+        'tstamp'                     => array (
208
+            'config'  => array (
209 209
                 'type' => 'passthrough',
210 210
             ),
211 211
         ),
212 212
 
213
-        'transfer_status'            => array(
213
+        'transfer_status'            => array (
214 214
             'exclude' => 0,
215 215
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.transfer_status',
216
-            'config'  => array(
216
+            'config'  => array (
217 217
                 'type' => 'input',
218 218
                 'size' => '30',
219 219
                 'eval' => 'trim',
220 220
             ),
221 221
         ),
222 222
 
223
-        'object_identifier'          => array(
223
+        'object_identifier'          => array (
224 224
             'exclude' => 0,
225 225
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.object_identifier',
226
-            'config'  => array(
226
+            'config'  => array (
227 227
                 'type' => 'input',
228 228
                 'size' => '30',
229 229
                 'eval' => 'trim',
230 230
             ),
231 231
         ),
232 232
 
233
-        'reserved_object_identifier' => array(
233
+        'reserved_object_identifier' => array (
234 234
             'exclude' => 0,
235 235
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.reserved_object_identifier',
236
-            'config'  => array(
236
+            'config'  => array (
237 237
                 'type' => 'input',
238 238
                 'size' => '30',
239 239
                 'eval' => 'trim',
240 240
             ),
241 241
         ),
242 242
 
243
-        'process_number' => array(
243
+        'process_number' => array (
244 244
             'exclude' => 0,
245 245
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.process_number',
246
-            'config'  => array(
246
+            'config'  => array (
247 247
                 'type' => 'input',
248 248
                 'size' => '30',
249 249
                 'eval' => 'trim',
250 250
             ),
251 251
         ),
252 252
 
253
-        'state'                      => array(
253
+        'state'                      => array (
254 254
             'exclude' => 0,
255 255
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.state',
256
-            'config'  => array(
256
+            'config'  => array (
257 257
                 'type' => 'input',
258 258
                 'size' => '30',
259 259
                 'eval' => 'trim',
260 260
             ),
261 261
         ),
262 262
 
263
-        'remote_last_mod_date'       => array(
263
+        'remote_last_mod_date'       => array (
264 264
             'exclude' => 1,
265 265
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.remote_last_mod_date',
266
-            'config'  => array(
266
+            'config'  => array (
267 267
                 'type' => 'input',
268 268
                 'size' => 30,
269 269
                 'eval' => 'trim',
270 270
             ),
271 271
         ),
272 272
 
273
-        'changed'                    => array(
273
+        'changed'                    => array (
274 274
             'exclude'   => 1,
275 275
             'l10n_mode' => 'exclude',
276 276
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.changed',
277
-            'config'    => array(
277
+            'config'    => array (
278 278
                 'type'    => 'check',
279 279
                 'default' => 0,
280 280
             ),
281 281
         ),
282 282
 
283
-        'valid'                      => array(
283
+        'valid'                      => array (
284 284
             'exclude'   => 1,
285 285
             'l10n_mode' => 'exclude',
286 286
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.valid',
287
-            'config'    => array(
287
+            'config'    => array (
288 288
                 'type'    => 'check',
289 289
                 'default' => 0,
290 290
             ),
291 291
         ),
292 292
 
293
-        'date_issued'                => array(
293
+        'date_issued'                => array (
294 294
             'exclude' => 1,
295 295
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.date_issued',
296
-            'config'  => array(
296
+            'config'  => array (
297 297
                 'type' => 'input',
298 298
                 'size' => 30,
299 299
                 'eval' => 'trim',
300 300
             ),
301 301
         ),
302 302
 
303
-        'file'                       => array(
303
+        'file'                       => array (
304 304
             'exclude' => 1,
305 305
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.file',
306
-            'config'  => array(
306
+            'config'  => array (
307 307
                 'type'          => 'inline',
308 308
                 'foreign_table' => 'tx_dpf_domain_model_file',
309 309
                 'foreign_field' => 'document',
310
-                'behaviour'     => array(
310
+                'behaviour'     => array (
311 311
                     'disableMovingChildrenWithParent' => 1,
312 312
                 ),
313 313
                 'maxitems'      => 9999,
314
-                'appearance'    => array(
314
+                'appearance'    => array (
315 315
                     'collapseAll'                     => 0,
316 316
                     'levelLinksPosition'              => 'top',
317 317
                     'showSynchronizationLink'         => 1,
@@ -322,13 +322,13 @@  discard block
 block discarded – undo
322 322
 
323 323
         ),
324 324
 
325
-        'creator'              => array(
325
+        'creator'              => array (
326 326
             'exclude' => 1,
327 327
             'label'   => 'Creator',
328
-            'config'  => array(
328
+            'config'  => array (
329 329
                 'type'          => 'select',
330 330
                 'items' => array (
331
-                    array('', 0),
331
+                    array ('', 0),
332 332
                 ),
333 333
                 'renderType'    => 'selectSingle',
334 334
                 'foreign_table' => 'fe_users',
@@ -338,70 +338,70 @@  discard block
 block discarded – undo
338 338
             ),
339 339
         ),
340 340
 
341
-        'creation_date' => array(
341
+        'creation_date' => array (
342 342
             'exclude'   => 1,
343 343
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.creation_date',
344
-            'config'    => array(
344
+            'config'    => array (
345 345
                 'type'  => 'input',
346 346
                 'size'  => 30,
347 347
                 'eval'  => 'trim',
348 348
             ),
349 349
         ),
350 350
 
351
-        'temporary'                      => array(
351
+        'temporary'                      => array (
352 352
             'exclude'   => 1,
353 353
             'l10n_mode' => 'exclude',
354 354
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.temporary',
355
-            'config'    => array(
355
+            'config'    => array (
356 356
                 'type'    => 'check',
357 357
                 'default' => 0,
358 358
             ),
359 359
         ),
360 360
 
361 361
 
362
-        'suggestion' => array(
362
+        'suggestion' => array (
363 363
             'exclude'   => 1,
364 364
             'l10n_mode' => 'exclude',
365 365
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.suggestion',
366
-            'config'    => array(
366
+            'config'    => array (
367 367
                 'type'    => 'check',
368 368
                 'default' => 0,
369 369
             ),
370 370
         ),
371 371
 
372
-        'linked_uid' => array(
372
+        'linked_uid' => array (
373 373
             'exclude'   => 1,
374 374
             'l10n_mode' => 'exclude',
375 375
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.linked_uid',
376
-            'config'    => array(
376
+            'config'    => array (
377 377
                 'type'    => 'check'
378 378
             ),
379 379
         ),
380 380
 
381
-        'comment' => array(
381
+        'comment' => array (
382 382
             'exclude' => 1,
383 383
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.comment',
384
-            'config'  => array(
384
+            'config'  => array (
385 385
                 'type' => 'input',
386 386
                 'size' => 30,
387 387
                 'eval' => 'trim',
388 388
             ),
389 389
         ),
390 390
 
391
-        'automatic_embargo'    => array(
391
+        'automatic_embargo'    => array (
392 392
             'exclude'   => 1,
393 393
             'l10n_mode' => 'exclude',
394 394
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.automatic_embargo',
395
-            'config'    => array(
395
+            'config'    => array (
396 396
                 'type'    => 'check',
397 397
                 'default' => 0,
398 398
             ),
399 399
         ),
400 400
 
401
-        'embargo_date'    => array(
401
+        'embargo_date'    => array (
402 402
             'exclude' => 1,
403 403
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.embargo_date',
404
-            'config'  => array(
404
+            'config'  => array (
405 405
                 'type'     => 'input',
406 406
                 'renderType' => 'inputDateTime',
407 407
                 'size'     => 10,
@@ -410,8 +410,8 @@  discard block
 block discarded – undo
410 410
                 'default'  => time(),
411 411
             ),
412 412
         ),
413
-        'pid' => array(
414
-            'config' => array(
413
+        'pid' => array (
414
+            'config' => array (
415 415
                 'type' => 'passthrough',
416 416
             )
417 417
         ),
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_processnumber.php 1 patch
Spacing   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber',
22 22
         'label'                    => 'owner_id',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -36,74 +36,74 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'owner_id, year, counter',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, owner_id, year, counter'
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, owner_id, year, counter, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
42
+    'types'     => array (
43
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, owner_id, year, counter, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
44 44
     ),
45
-    'palettes'  => array(
46
-        '1' => array('showitem' => ''),
45
+    'palettes'  => array (
46
+        '1' => array ('showitem' => ''),
47 47
     ),
48
-    'columns'   => array(
48
+    'columns'   => array (
49 49
 
50
-        'sys_language_uid'   => array(
50
+        'sys_language_uid'   => array (
51 51
             'exclude' => 1,
52 52
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
53
-            'config'  => array(
53
+            'config'  => array (
54 54
                 'type'                => 'select',
55 55
                 'renderType'          => 'selectSingle',
56 56
                 'foreign_table'       => 'sys_language',
57 57
                 'foreign_table_where' => 'ORDER BY sys_language.title',
58
-                'items'               => array(
59
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
60
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
58
+                'items'               => array (
59
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
60
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
61 61
                 ),
62 62
                 'default' => 0,
63 63
             ),
64 64
         ),
65
-        'l10n_parent'        => array(
65
+        'l10n_parent'        => array (
66 66
             'displayCond' => 'FIELD:sys_language_uid:>:0',
67 67
             'exclude'     => 1,
68 68
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
69
-            'config'      => array(
69
+            'config'      => array (
70 70
                 'type'                => 'select',
71 71
                 'renderType'          => 'selectSingle',
72
-                'items'               => array(
73
-                    array('', 0),
72
+                'items'               => array (
73
+                    array ('', 0),
74 74
                 ),
75 75
                 'foreign_table'       => 'tx_dpf_domain_model_processnumber',
76 76
                 'foreign_table_where' => 'AND tx_dpf_domain_model_processnumber.pid=###CURRENT_PID### AND tx_dpf_domain_model_processnumber.sys_language_uid IN (-1,0)',
77 77
                 'default' => 0,
78 78
             ),
79 79
         ),
80
-        'l10n_diffsource'    => array(
81
-            'config' => array(
80
+        'l10n_diffsource'    => array (
81
+            'config' => array (
82 82
                 'type' => 'passthrough',
83 83
             ),
84 84
         ),
85 85
 
86
-        't3ver_label'        => array(
86
+        't3ver_label'        => array (
87 87
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
88
-            'config' => array(
88
+            'config' => array (
89 89
                 'type' => 'input',
90 90
                 'size' => 30,
91 91
                 'max'  => 255,
92 92
             ),
93 93
         ),
94 94
 
95
-        'hidden'             => array(
95
+        'hidden'             => array (
96 96
             'exclude' => 1,
97 97
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
98
-            'config'  => array(
98
+            'config'  => array (
99 99
                 'type' => 'check',
100 100
             ),
101 101
         ),
102
-        'starttime'          => array(
102
+        'starttime'          => array (
103 103
             'exclude'   => 1,
104 104
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
105
-            'config'    => array(
106
-                'behaviour' => array(
105
+            'config'    => array (
106
+                'behaviour' => array (
107 107
                     'allowLanguageSynchronization' => true
108 108
                 ),
109 109
                 'type'     => 'input',
@@ -112,16 +112,16 @@  discard block
 block discarded – undo
112 112
                 'eval'     => 'datetime',
113 113
                 'checkbox' => 0,
114 114
                 'default'  => 0,
115
-                'range'    => array(
115
+                'range'    => array (
116 116
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
117 117
                 ),
118 118
             ),
119 119
         ),
120
-        'endtime'            => array(
120
+        'endtime'            => array (
121 121
             'exclude'   => 1,
122 122
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
123
-            'config'    => array(
124
-                'behaviour' => array(
123
+            'config'    => array (
124
+                'behaviour' => array (
125 125
                     'allowLanguageSynchronization' => true
126 126
                 ),
127 127
                 'type'     => 'input',
@@ -130,39 +130,39 @@  discard block
 block discarded – undo
130 130
                 'eval'     => 'datetime',
131 131
                 'checkbox' => 0,
132 132
                 'default'  => 0,
133
-                'range'    => array(
133
+                'range'    => array (
134 134
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
135 135
                 ),
136 136
             ),
137 137
         ),
138 138
 
139
-        'owner_id'           => array(
139
+        'owner_id'           => array (
140 140
             'exclude'   => 1,
141 141
             'l10n_mode' => 'exclude',
142 142
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.owner_id',
143
-            'config'    => array(
143
+            'config'    => array (
144 144
                 'type' => 'input',
145 145
                 'size' => 4,
146 146
                 'max' => 4,
147 147
                 'eval' => 'trim,required',
148 148
             ),
149 149
         ),
150
-        'year'        => array(
150
+        'year'        => array (
151 151
             'exclude'   => 1,
152 152
             'l10n_mode' => 'exclude',
153 153
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.year',
154
-            'config'    => array(
154
+            'config'    => array (
155 155
                 'type' => 'input',
156 156
                 'size' => 4,
157 157
                 'max' => 2,
158 158
                 'eval' => 'trim,required',
159 159
             ),
160 160
         ),
161
-        'counter'   => array(
161
+        'counter'   => array (
162 162
             'exclude'     => 1,
163 163
             'l10n_mode' => 'exclude',
164 164
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.counter',
165
-            'config'      => array(
165
+            'config'      => array (
166 166
                 'type' => 'input',
167 167
                 'size' => 30,
168 168
                 'eval' => 'trim,required',
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_documenttype.php 1 patch
Spacing   +76 added lines, -76 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype',
22 22
         'label'                    => 'display_name',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -38,97 +38,97 @@  discard block
 block discarded – undo
38 38
             pubmed_transformation, pubmed_types, bibtex_transformation, bibtex_types, riswos_transformation, riswos_types, metadata_page',
39 39
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
40 40
     ),
41
-    'interface' => array(
41
+    'interface' => array (
42 42
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden,
43 43
             name, display_name, virtual_type, hidden_in_list, transformation_file_output, transformation_file_input, crossref_transformation, crossref_types,
44 44
             datacite_transformation, datacite_types, k10plus_transformation,
45 45
             pubmed_transformation, pubmed_types, bibtex_transformation, bibtex_types, riswos_transformation, riswos_types, metadata_page',
46 46
     ),
47
-    'types'     => array(
48
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1,
47
+    'types'     => array (
48
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1,
49 49
             name, display_name, virtual_type, hidden_in_list, transformation_file_output, transformation_file_input, crossref_transformation, crossref_types,
50 50
             datacite_transformation, datacite_types, k10plus_transformation,
51 51
             pubmed_transformation, pubmed_types, bibtex_transformation, bibtex_types, riswos_transformation, riswos_types, metadata_page,
52 52
             --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
53 53
     ),
54
-    'palettes'  => array(
55
-        '1' => array('showitem' => ''),
54
+    'palettes'  => array (
55
+        '1' => array ('showitem' => ''),
56 56
     ),
57
-    'columns'   => array(
57
+    'columns'   => array (
58 58
 
59
-        'sys_language_uid' => array(
59
+        'sys_language_uid' => array (
60 60
             'exclude' => 1,
61 61
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
62
-            'config'  => array(
62
+            'config'  => array (
63 63
                 'type'                => 'select',
64 64
                 'renderType'          => 'selectSingle',
65 65
                 'foreign_table'       => 'sys_language',
66 66
                 'foreign_table_where' => 'ORDER BY sys_language.title',
67
-                'items'               => array(
68
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
69
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
67
+                'items'               => array (
68
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
69
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
70 70
                 ),
71 71
                 'default' => 0,
72 72
             ),
73 73
         ),
74
-        'l10n_parent'      => array(
74
+        'l10n_parent'      => array (
75 75
             'displayCond' => 'FIELD:sys_language_uid:>:0',
76 76
             'exclude'     => 1,
77 77
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
78
-            'config'      => array(
78
+            'config'      => array (
79 79
                 'type'                => 'select',
80 80
                 'renderType'          => 'selectSingle',
81
-                'items'               => array(
82
-                    array('', 0),
81
+                'items'               => array (
82
+                    array ('', 0),
83 83
                 ),
84 84
                 'foreign_table'       => 'tx_dpf_domain_model_documenttype',
85 85
                 'foreign_table_where' => 'AND tx_dpf_domain_model_documenttype.pid=###CURRENT_PID### AND tx_dpf_domain_model_documenttype.sys_language_uid IN (-1,0)',
86 86
                 'default' => 0,
87 87
             ),
88 88
         ),
89
-        'l10n_diffsource'  => array(
90
-            'config' => array(
89
+        'l10n_diffsource'  => array (
90
+            'config' => array (
91 91
                 'type' => 'passthrough',
92 92
             ),
93 93
         ),
94 94
 
95
-        't3ver_label'      => array(
95
+        't3ver_label'      => array (
96 96
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
97
-            'config' => array(
97
+            'config' => array (
98 98
                 'type' => 'input',
99 99
                 'size' => 30,
100 100
                 'max'  => 255,
101 101
             ),
102 102
         ),
103 103
 
104
-        'hidden'           => array(
104
+        'hidden'           => array (
105 105
             'exclude'   => 1,
106 106
             'l10n_mode' => 'exclude',
107 107
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
108
-            'config'    => array(
108
+            'config'    => array (
109 109
                 'type' => 'check',
110 110
             ),
111 111
         ),
112
-        'starttime'        => array(
112
+        'starttime'        => array (
113 113
             'exclude'   => 1,
114 114
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
115
-            'config'    => array(
115
+            'config'    => array (
116 116
                 'type'     => 'input',
117 117
                 'renderType' => 'inputDateTime',
118 118
                 'size'     => 13,
119 119
                 'eval'     => 'datetime',
120 120
                 'checkbox' => 0,
121 121
                 'default'  => 0,
122
-                'range'    => array(
122
+                'range'    => array (
123 123
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
124 124
                 ),
125 125
             ),
126 126
         ),
127
-        'endtime'          => array(
127
+        'endtime'          => array (
128 128
             'exclude'   => 1,
129 129
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
130
-            'config'    => array(
131
-                'behaviour' => array(
130
+            'config'    => array (
131
+                'behaviour' => array (
132 132
                     'allowLanguageSynchronization' => true
133 133
                 ),
134 134
                 'type'     => 'input',
@@ -137,44 +137,44 @@  discard block
 block discarded – undo
137 137
                 'eval'     => 'datetime',
138 138
                 'checkbox' => 0,
139 139
                 'default'  => 0,
140
-                'range'    => array(
140
+                'range'    => array (
141 141
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
142 142
                 ),
143 143
             ),
144 144
         ),
145
-        'name'             => array(
145
+        'name'             => array (
146 146
             'exclude'   => 1,
147 147
             'l10n_mode' => 'exclude',
148 148
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.name',
149
-            'config'    => array(
149
+            'config'    => array (
150 150
                 'type' => 'input',
151 151
                 'size' => 30,
152 152
                 'eval' => 'trim,uniqueInPid',
153 153
             ),
154 154
         ),
155
-        'display_name'     => array(
155
+        'display_name'     => array (
156 156
             'exclude' => 1,
157 157
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.display_name',
158
-            'config'  => array(
158
+            'config'  => array (
159 159
                 'type' => 'input',
160 160
                 'size' => 30,
161 161
                 'eval' => 'trim',
162 162
             ),
163 163
         ),
164
-        'virtual_type'          => array(
164
+        'virtual_type'          => array (
165 165
             'exclude'   => 1,
166 166
             'l10n_mode' => 'exclude',
167 167
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.virtual_type',
168
-            'config'    => array(
168
+            'config'    => array (
169 169
                 'type'    => 'check',
170 170
                 'default' => 0,
171 171
             ),
172 172
         ),
173
-        'hidden_in_list'          => array(
173
+        'hidden_in_list'          => array (
174 174
             'exclude'   => 1,
175 175
             'l10n_mode' => 'exclude',
176 176
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.hidden_in_list',
177
-            'config'    => array(
177
+            'config'    => array (
178 178
                 'type'    => 'check',
179 179
                 'default' => 0,
180 180
             ),
@@ -184,8 +184,8 @@  discard block
 block discarded – undo
184 184
             'l10n_mode' => 'exclude',
185 185
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.transformation_file_output',
186 186
             'config'    => [
187
-                'items' => array(
188
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
187
+                'items' => array (
188
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
189 189
                 ),
190 190
                 'type'           => 'select',
191 191
                 'renderType'     => 'selectSingle',
@@ -200,8 +200,8 @@  discard block
 block discarded – undo
200 200
             'l10n_mode' => 'exclude',
201 201
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.transformation_file_input',
202 202
             'config'    => [
203
-                'items' => array(
204
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
203
+                'items' => array (
204
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
205 205
                 ),
206 206
                 'type'           => 'select',
207 207
                 'renderType'     => 'selectSingle',
@@ -211,21 +211,21 @@  discard block
 block discarded – undo
211 211
                 'default' => 0,
212 212
             ],
213 213
         ],
214
-        'metadata_page'    => array(
214
+        'metadata_page'    => array (
215 215
             'exclude'   => 1,
216 216
             'l10n_mode' => 'exclude',
217 217
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.metadata_page',
218
-            'config'    => array(
218
+            'config'    => array (
219 219
                 'type'           => 'inline',
220 220
                 'foreign_table'  => 'tx_dpf_domain_model_metadatapage',
221 221
                 'foreign_field'  => 'documenttype',
222 222
                 'foreign_label'  => 'display_name',
223 223
                 'foreign_sortby' => 'page_number',
224
-                'behaviour'      => array(
224
+                'behaviour'      => array (
225 225
                     'disableMovingChildrenWithParent' => 1,
226 226
                 ),
227 227
                 'maxitems'       => 9999,
228
-                'appearance'     => array(
228
+                'appearance'     => array (
229 229
                     'collapseAll'                     => 0,
230 230
                     'levelLinksPosition'              => 'top',
231 231
                     'showSynchronizationLink'         => 1,
@@ -239,8 +239,8 @@  discard block
 block discarded – undo
239 239
             'l10n_mode' => 'exclude',
240 240
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.crossref_transformation',
241 241
             'config'    => [
242
-                'items' => array(
243
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
242
+                'items' => array (
243
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
244 244
                 ),
245 245
                 'type'           => 'select',
246 246
                 'renderType'     => 'selectSingle',
@@ -250,11 +250,11 @@  discard block
 block discarded – undo
250 250
                 'default' => 0,
251 251
             ],
252 252
         ],
253
-        'crossref_types'         => array(
253
+        'crossref_types'         => array (
254 254
             'exclude'   => 1,
255 255
             'l10n_mode' => 'exclude',
256 256
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.crossref_types',
257
-            'config'    => array(
257
+            'config'    => array (
258 258
                 'type' => 'select',
259 259
                 'renderType' => 'selectMultipleSideBySide',
260 260
                 'size' => 10,
@@ -269,8 +269,8 @@  discard block
 block discarded – undo
269 269
             'l10n_mode' => 'exclude',
270 270
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.datacite_transformation',
271 271
             'config'    => [
272
-                'items' => array(
273
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
272
+                'items' => array (
273
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
274 274
                 ),
275 275
                 'type'           => 'select',
276 276
                 'renderType'     => 'selectSingle',
@@ -280,16 +280,16 @@  discard block
 block discarded – undo
280 280
                 'default' => 0,
281 281
             ],
282 282
         ],
283
-        'datacite_types'         => array(
283
+        'datacite_types'         => array (
284 284
             'exclude'   => 1,
285 285
             'l10n_mode' => 'exclude',
286 286
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.datacite_types',
287
-            'config'    => array(
287
+            'config'    => array (
288 288
                 'type' => 'select',
289 289
                 'renderType' => 'selectMultipleSideBySide',
290 290
                 'size' => 10,
291 291
                 'maxitems' => 100,
292
-                'items' => array(
292
+                'items' => array (
293 293
                 ),
294 294
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\DataCiteImporter::typeItems(
295 295
                     \EWW\Dpf\Services\ImportExternalMetadata\DataCiteImporter::types()
@@ -301,8 +301,8 @@  discard block
 block discarded – undo
301 301
             'l10n_mode' => 'exclude',
302 302
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.k10plus_transformation',
303 303
             'config'    => [
304
-                'items' => array(
305
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
304
+                'items' => array (
305
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
306 306
                 ),
307 307
                 'type'           => 'select',
308 308
                 'renderType'     => 'selectSingle',
@@ -312,16 +312,16 @@  discard block
 block discarded – undo
312 312
                 'default' => 0,
313 313
             ],
314 314
         ],
315
-        'k10plus_types'         => array(
315
+        'k10plus_types'         => array (
316 316
             'exclude'   => 1,
317 317
             'l10n_mode' => 'exclude',
318 318
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.k10plus_types',
319
-            'config'    => array(
319
+            'config'    => array (
320 320
                 'type' => 'select',
321 321
                 'renderType' => 'selectMultipleSideBySide',
322 322
                 'size' => 10,
323 323
                 'maxitems' => 100,
324
-                'items' => array(
324
+                'items' => array (
325 325
                 ),
326 326
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\K10plusImporter::typeItems(
327 327
                     \EWW\Dpf\Services\ImportExternalMetadata\K10plusImporter::types()
@@ -333,8 +333,8 @@  discard block
 block discarded – undo
333 333
             'l10n_mode' => 'exclude',
334 334
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.pubmed_transformation',
335 335
             'config'    => [
336
-                'items' => array(
337
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
336
+                'items' => array (
337
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
338 338
                 ),
339 339
                 'type'           => 'select',
340 340
                 'renderType'     => 'selectSingle',
@@ -344,16 +344,16 @@  discard block
 block discarded – undo
344 344
                 'default' => 0,
345 345
             ],
346 346
         ],
347
-        'pubmed_types'         => array(
347
+        'pubmed_types'         => array (
348 348
             'exclude'   => 1,
349 349
             'l10n_mode' => 'exclude',
350 350
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.pubmed_types',
351
-            'config'    => array(
351
+            'config'    => array (
352 352
                 'type' => 'select',
353 353
                 'renderType' => 'selectMultipleSideBySide',
354 354
                 'size' => 10,
355 355
                 'maxitems' => 100,
356
-                'items' => array(
356
+                'items' => array (
357 357
                 ),
358 358
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\PubMedImporter::typeItems(
359 359
                     \EWW\Dpf\Services\ImportExternalMetadata\PubMedImporter::types()
@@ -365,8 +365,8 @@  discard block
 block discarded – undo
365 365
             'l10n_mode' => 'exclude',
366 366
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.bibtex_transformation',
367 367
             'config'    => [
368
-                'items' => array(
369
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
368
+                'items' => array (
369
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
370 370
                 ),
371 371
                 'type'           => 'select',
372 372
                 'renderType'     => 'selectSingle',
@@ -376,16 +376,16 @@  discard block
 block discarded – undo
376 376
                 'default' => 0,
377 377
             ],
378 378
         ],
379
-        'bibtex_types'         => array(
379
+        'bibtex_types'         => array (
380 380
             'exclude'   => 1,
381 381
             'l10n_mode' => 'exclude',
382 382
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.bibtex_types',
383
-            'config'    => array(
383
+            'config'    => array (
384 384
                 'type' => 'select',
385 385
                 'renderType' => 'selectMultipleSideBySide',
386 386
                 'size' => 10,
387 387
                 'maxitems' => 100,
388
-                'items' => array(
388
+                'items' => array (
389 389
                 ),
390 390
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\BibTexFileImporter::typeItems(
391 391
                     \EWW\Dpf\Services\ImportExternalMetadata\BibTexFileImporter::types()
@@ -397,8 +397,8 @@  discard block
 block discarded – undo
397 397
             'l10n_mode' => 'exclude',
398 398
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.riswos_transformation',
399 399
             'config'    => [
400
-                'items' => array(
401
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
400
+                'items' => array (
401
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
402 402
                 ),
403 403
                 'type'           => 'select',
404 404
                 'renderType'     => 'selectSingle',
@@ -408,16 +408,16 @@  discard block
 block discarded – undo
408 408
                 'default' => 0,
409 409
             ],
410 410
         ],
411
-        'riswos_types'         => array(
411
+        'riswos_types'         => array (
412 412
             'exclude'   => 1,
413 413
             'l10n_mode' => 'exclude',
414 414
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.ris_types',
415
-            'config'    => array(
415
+            'config'    => array (
416 416
                 'type' => 'select',
417 417
                 'renderType' => 'selectMultipleSideBySide',
418 418
                 'size' => 10,
419 419
                 'maxitems' => 100,
420
-                'items' => array(
420
+                'items' => array (
421 421
                 ),
422 422
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\RisWosFileImporter::typeItems(
423 423
                     \EWW\Dpf\Services\ImportExternalMetadata\RisWosFileImporter::types()
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_inputoptionlist.php 1 patch
Spacing   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist',
22 22
         'label'                    => 'name',
23 23
         'tstamp'                   => 'tstamp',
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         'transOrigPointerField'    => 'l10n_parent',
30 30
         'transOrigDiffSourceField' => 'l10n_diffsource',
31 31
         'delete'                   => 'deleted',
32
-        'enablecolumns'            => array(
32
+        'enablecolumns'            => array (
33 33
             'disabled'  => 'hidden',
34 34
             'starttime' => 'starttime',
35 35
             'endtime'   => 'endtime',
@@ -37,75 +37,75 @@  discard block
 block discarded – undo
37 37
         'searchFields'             => 'name, display_name, value_list, value_label_list, default_value',
38 38
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
39 39
     ),
40
-    'interface' => array(
40
+    'interface' => array (
41 41
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, value_list, value_label_list, default_value',
42 42
     ),
43
-    'types'     => array(
44
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, value_list, value_label_list, default_value,  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
43
+    'types'     => array (
44
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, value_list, value_label_list, default_value,  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
45 45
     ),
46
-    'palettes'  => array(
47
-        '1' => array('showitem' => ''),
46
+    'palettes'  => array (
47
+        '1' => array ('showitem' => ''),
48 48
     ),
49
-    'columns'   => array(
49
+    'columns'   => array (
50 50
 
51
-        'sys_language_uid' => array(
51
+        'sys_language_uid' => array (
52 52
             'exclude' => 1,
53 53
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
54
-            'config'  => array(
54
+            'config'  => array (
55 55
                 'type'                => 'select',
56 56
                 'renderType'          => 'selectSingle',
57 57
                 'foreign_table'       => 'sys_language',
58 58
                 'foreign_table_where' => 'ORDER BY sys_language.title',
59
-                'items'               => array(
60
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
61
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
59
+                'items'               => array (
60
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
61
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
62 62
                 ),
63 63
                 'default' => 0,
64 64
             ),
65 65
         ),
66
-        'l10n_parent'      => array(
66
+        'l10n_parent'      => array (
67 67
             'displayCond' => 'FIELD:sys_language_uid:>:0',
68 68
             'exclude'     => 1,
69 69
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
70
-            'config'      => array(
70
+            'config'      => array (
71 71
                 'type'                => 'select',
72 72
                 'renderType'          => 'selectSingle',
73
-                'items'               => array(
74
-                    array('', 0),
73
+                'items'               => array (
74
+                    array ('', 0),
75 75
                 ),
76 76
                 'foreign_table'       => 'tx_dpf_domain_model_inputoptionlist',
77 77
                 'foreign_table_where' => 'AND tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID### AND tx_dpf_domain_model_inputoptionlist.sys_language_uid IN (-1,0)',
78 78
                 'default' => 0,
79 79
             ),
80 80
         ),
81
-        'l10n_diffsource'  => array(
82
-            'config' => array(
81
+        'l10n_diffsource'  => array (
82
+            'config' => array (
83 83
                 'type' => 'passthrough',
84 84
             ),
85 85
         ),
86 86
 
87
-        't3ver_label'      => array(
87
+        't3ver_label'      => array (
88 88
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
89
-            'config' => array(
89
+            'config' => array (
90 90
                 'type' => 'input',
91 91
                 'size' => 30,
92 92
                 'max'  => 255,
93 93
             ),
94 94
         ),
95 95
 
96
-        'hidden'           => array(
96
+        'hidden'           => array (
97 97
             'exclude'   => 1,
98 98
             'l10n_mode' => 'exclude',
99 99
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
100
-            'config'    => array(
100
+            'config'    => array (
101 101
                 'type' => 'check',
102 102
             ),
103 103
         ),
104
-        'starttime'        => array(
104
+        'starttime'        => array (
105 105
             'exclude'   => 1,
106 106
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
107
-            'config'    => array(
108
-                'behaviour' => array(
107
+            'config'    => array (
108
+                'behaviour' => array (
109 109
                     'allowLanguageSynchronization' => true
110 110
                 ),
111 111
                 'type'     => 'input',
@@ -114,16 +114,16 @@  discard block
 block discarded – undo
114 114
                 'eval'     => 'datetime',
115 115
                 'checkbox' => 0,
116 116
                 'default'  => 0,
117
-                'range'    => array(
117
+                'range'    => array (
118 118
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
119 119
                 ),
120 120
             ),
121 121
         ),
122
-        'endtime'          => array(
122
+        'endtime'          => array (
123 123
             'exclude'   => 1,
124 124
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
125
-            'config'    => array(
126
-                'behaviour' => array(
125
+            'config'    => array (
126
+                'behaviour' => array (
127 127
                     'allowLanguageSynchronization' => true
128 128
                 ),
129 129
                 'type'     => 'input',
@@ -132,57 +132,57 @@  discard block
 block discarded – undo
132 132
                 'eval'     => 'datetime',
133 133
                 'checkbox' => 0,
134 134
                 'default'  => 0,
135
-                'range'    => array(
135
+                'range'    => array (
136 136
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
137 137
                 ),
138 138
             ),
139 139
         ),
140 140
 
141
-        'name'             => array(
141
+        'name'             => array (
142 142
             'exclude'   => 1,
143 143
             'l10n_mode' => 'exclude',
144 144
             'l10n_mode' => 'exclude',
145 145
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.name',
146
-            'config'    => array(
146
+            'config'    => array (
147 147
                 'type' => 'input',
148 148
                 'size' => 30,
149 149
                 'eval' => 'trim',
150 150
             ),
151 151
         ),
152
-        'display_name'     => array(
152
+        'display_name'     => array (
153 153
             'exclude' => 1,
154 154
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.display_name',
155
-            'config'  => array(
155
+            'config'  => array (
156 156
                 'type' => 'input',
157 157
                 'size' => 30,
158 158
                 'eval' => 'trim',
159 159
             ),
160 160
         ),
161
-        'value_list'       => array(
161
+        'value_list'       => array (
162 162
             'exclude'   => 1,
163 163
             'l10n_mode' => 'exclude',
164 164
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.value_list',
165
-            'config'    => array(
165
+            'config'    => array (
166 166
                 'type' => 'text',
167 167
                 'cols' => 20,
168 168
                 'rows' => 3,
169 169
                 'eval' => 'trim',
170 170
             ),
171 171
         ),
172
-        'value_label_list' => array(
172
+        'value_label_list' => array (
173 173
             'exclude' => 1,
174 174
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.value_label_list',
175
-            'config'  => array(
175
+            'config'  => array (
176 176
                 'type' => 'text',
177 177
                 'cols' => 20,
178 178
                 'rows' => 3,
179 179
                 'eval' => 'trim',
180 180
             ),
181 181
         ),
182
-        'default_value'    => array(
182
+        'default_value'    => array (
183 183
             'exclude' => 1,
184 184
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.default_value',
185
-            'config'  => array(
185
+            'config'  => array (
186 186
                 'type' => 'text',
187 187
                 'cols' => 20,
188 188
                 'rows' => 3,
Please login to merge, or discard this patch.