Passed
Pull Request — master (#195)
by
unknown
19:02
created
public/typo3conf/LocalConfiguration.php 1 patch
Upper-Lower-Casing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 return [
3 3
     'BE' => [
4
-        'debug' => false,
4
+        'debug' => FALSE,
5 5
         'explicitADmode' => 'explicitAllow',
6 6
         'installToolPassword' => '$pbkdf2-sha256$25000$EboGVS03RLKd7ANB4d0cOQ$oYg0HSNQXYNcIvFa94R9u/lIJ/mU4FbBO1WRyLVz4D0',
7 7
         'loginSecurityLevel' => 'normal',
@@ -27,17 +27,17 @@  discard block
 block discarded – undo
27 27
         ],
28 28
     ],
29 29
     'FE' => [
30
-        'debug' => false,
31
-        'enableRecordRegistration' => false,
30
+        'debug' => FALSE,
31
+        'enableRecordRegistration' => FALSE,
32 32
         'loginSecurityLevel' => 'normal',
33 33
     ],
34 34
     'GFX' => [
35 35
         'jpg_quality' => '80',
36 36
         'processor' => 'ImageMagick',
37
-        'processor_allowTemporaryMasksAsPng' => false,
37
+        'processor_allowTemporaryMasksAsPng' => FALSE,
38 38
         'processor_colorspace' => 'sRGB',
39 39
         'processor_effects' => 1,
40
-        'processor_enabled' => true,
40
+        'processor_enabled' => TRUE,
41 41
         'processor_path' => '/usr/bin/',
42 42
         'processor_path_lzw' => '/usr/bin/',
43 43
     ],
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
         ],
67 67
         'devIPmask' => '',
68 68
         'displayErrors' => 0,
69
-        'enableDeprecationLog' => false,
69
+        'enableDeprecationLog' => FALSE,
70 70
         'encryptionKey' => '96e165f29d5a1d191be21e4f4ecf4e3dd7e193b4631346b1818eee8fa9d8f081d767c50544bfc3773f5f4b6585772b0f',
71 71
         'exceptionalErrors' => 20480,
72
-        'isInitialDatabaseImportDone' => true,
73
-        'isInitialInstallationInProgress' => false,
72
+        'isInitialDatabaseImportDone' => TRUE,
73
+        'isInitialInstallationInProgress' => FALSE,
74 74
         'sitename' => 'New TYPO3 site',
75 75
         'sqlDebug' => 0,
76 76
         'systemLogLevel' => 2,
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_document.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         'tstamp'                   => 'tstamp',
23 23
         'crdate'                   => 'crdate',
24 24
         'cruser_id'                => 'cruser_id',
25
-        'versioningWS'             => true,
25
+        'versioningWS'             => TRUE,
26 26
         'languageField'            => 'sys_language_uid',
27 27
         'transOrigPointerField'    => 'l10n_parent',
28 28
         'transOrigDiffSourceField' => 'l10n_diffsource',
Please login to merge, or discard this patch.
Spacing   +83 added lines, -83 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,151 +38,151 @@  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/tx_dpf_domain_model_document.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
             ),
72 72
         ),
73
-        'l10n_parent'                => array(
73
+        'l10n_parent'                => array (
74 74
             'displayCond' => 'FIELD:sys_language_uid:>:0',
75 75
             'exclude'     => 1,
76 76
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
77
-            'config'      => array(
77
+            'config'      => array (
78 78
                 'type'                => 'select',
79 79
                 'renderType'          => 'selectSingle',
80
-                'items'               => array(
81
-                    array('', 0),
80
+                'items'               => array (
81
+                    array ('', 0),
82 82
                 ),
83 83
                 'foreign_table'       => 'tx_dpf_domain_model_document',
84 84
                 'foreign_table_where' => 'AND tx_dpf_domain_model_document.pid=###CURRENT_PID### AND tx_dpf_domain_model_document.sys_language_uid IN (-1,0)',
85 85
             ),
86 86
         ),
87
-        'l10n_diffsource'            => array(
88
-            'config' => array(
87
+        'l10n_diffsource'            => array (
88
+            'config' => array (
89 89
                 'type' => 'passthrough',
90 90
             ),
91 91
         ),
92 92
 
93
-        't3ver_label'                => array(
93
+        't3ver_label'                => array (
94 94
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
95
-            'config' => array(
95
+            'config' => array (
96 96
                 'type' => 'input',
97 97
                 'size' => 30,
98 98
                 'max'  => 255,
99 99
             ),
100 100
         ),
101 101
 
102
-        'hidden'                     => array(
102
+        'hidden'                     => array (
103 103
             'exclude' => 1,
104 104
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
105
-            'config'  => array(
105
+            'config'  => array (
106 106
                 'type' => 'check',
107 107
             ),
108 108
         ),
109
-        'starttime'                  => array(
109
+        'starttime'                  => array (
110 110
             'exclude'   => 1,
111 111
             'l10n_mode' => 'mergeIfNotBlank',
112 112
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
113
-            'config'    => array(
113
+            'config'    => array (
114 114
                 'type'     => 'input',
115 115
                 'renderType' => 'inputDateTime',
116 116
                 'size'     => 13,
117 117
                 'eval'     => 'datetime',
118 118
                 'checkbox' => 0,
119 119
                 'default'  => 0,
120
-                'range'    => array(
120
+                'range'    => array (
121 121
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
122 122
                 ),
123 123
             ),
124 124
         ),
125
-        'endtime'                    => array(
125
+        'endtime'                    => array (
126 126
             'exclude'   => 1,
127 127
             'l10n_mode' => 'mergeIfNotBlank',
128 128
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
129
-            'config'    => array(
129
+            'config'    => array (
130 130
                 'type'     => 'input',
131 131
                 'renderType' => 'inputDateTime',
132 132
                 'size'     => 13,
133 133
                 'eval'     => 'datetime',
134 134
                 'checkbox' => 0,
135 135
                 'default'  => 0,
136
-                'range'    => array(
136
+                'range'    => array (
137 137
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
138 138
                 ),
139 139
             ),
140 140
         ),
141 141
 
142
-        'title'                      => array(
142
+        'title'                      => array (
143 143
             'exclude' => 1,
144 144
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.title',
145
-            'config'  => array(
145
+            'config'  => array (
146 146
                 'type' => 'input',
147 147
                 'size' => 30,
148 148
                 'eval' => 'trim',
149 149
             ),
150 150
         ),
151 151
 
152
-        'authors'                    => array(
152
+        'authors'                    => array (
153 153
             'exclude' => 1,
154 154
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.authors',
155
-            'config'  => array(
155
+            'config'  => array (
156 156
                 'type' => 'input',
157 157
                 'size' => 30,
158 158
                 'eval' => 'trim',
159 159
             ),
160 160
         ),
161 161
 
162
-        'xml_data'                   => array(
162
+        'xml_data'                   => array (
163 163
             'exclude' => 1,
164 164
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.xml_data',
165
-            'config'  => array(
165
+            'config'  => array (
166 166
                 'type' => 'text',
167 167
                 'cols' => 40,
168 168
                 'rows' => 15,
169 169
                 'eval' => 'trim',
170 170
             ),
171 171
         ),
172
-        'slub_info_data'             => array(
172
+        'slub_info_data'             => array (
173 173
             'exclude' => 1,
174 174
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.slub_info_data',
175
-            'config'  => array(
175
+            'config'  => array (
176 176
                 'type' => 'text',
177 177
                 'cols' => 40,
178 178
                 'rows' => 15,
179 179
                 'eval' => 'trim',
180 180
             ),
181 181
         ),
182
-        'document_type'              => array(
182
+        'document_type'              => array (
183 183
             'exclude' => 1,
184 184
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.document_type',
185
-            'config'  => array(
185
+            'config'  => array (
186 186
                 'type'                => 'select',
187 187
                 'renderType'          => 'selectSingle',
188 188
                 'foreign_table'       => 'tx_dpf_domain_model_documenttype',
@@ -192,120 +192,120 @@  discard block
 block discarded – undo
192 192
             ),
193 193
         ),
194 194
 
195
-        'crdate'                     => array(
196
-            'config'  => array(
195
+        'crdate'                     => array (
196
+            'config'  => array (
197 197
                 'type' => 'passthrough',
198 198
             ),
199 199
         ),
200 200
 
201
-        'tstamp'                     => array(
202
-            'config'  => array(
201
+        'tstamp'                     => array (
202
+            'config'  => array (
203 203
                 'type' => 'passthrough',
204 204
             ),
205 205
         ),
206 206
 
207
-        'transfer_status'            => array(
207
+        'transfer_status'            => array (
208 208
             'exclude' => 0,
209 209
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.transfer_status',
210
-            'config'  => array(
210
+            'config'  => array (
211 211
                 'type' => 'input',
212 212
                 'size' => '30',
213 213
                 'eval' => 'trim',
214 214
             ),
215 215
         ),
216 216
 
217
-        'object_identifier'          => array(
217
+        'object_identifier'          => array (
218 218
             'exclude' => 0,
219 219
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.object_identifier',
220
-            'config'  => array(
220
+            'config'  => array (
221 221
                 'type' => 'input',
222 222
                 'size' => '30',
223 223
                 'eval' => 'trim',
224 224
             ),
225 225
         ),
226 226
 
227
-        'reserved_object_identifier' => array(
227
+        'reserved_object_identifier' => array (
228 228
             'exclude' => 0,
229 229
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.reserved_object_identifier',
230
-            'config'  => array(
230
+            'config'  => array (
231 231
                 'type' => 'input',
232 232
                 'size' => '30',
233 233
                 'eval' => 'trim',
234 234
             ),
235 235
         ),
236 236
 
237
-        'process_number' => array(
237
+        'process_number' => array (
238 238
             'exclude' => 0,
239 239
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.process_number',
240
-            'config'  => array(
240
+            'config'  => array (
241 241
                 'type' => 'input',
242 242
                 'size' => '30',
243 243
                 'eval' => 'trim',
244 244
             ),
245 245
         ),
246 246
 
247
-        'state'                      => array(
247
+        'state'                      => array (
248 248
             'exclude' => 0,
249 249
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.state',
250
-            'config'  => array(
250
+            'config'  => array (
251 251
                 'type' => 'input',
252 252
                 'size' => '30',
253 253
                 'eval' => 'trim',
254 254
             ),
255 255
         ),
256 256
 
257
-        'remote_last_mod_date'       => array(
257
+        'remote_last_mod_date'       => array (
258 258
             'exclude' => 1,
259 259
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.remote_last_mod_date',
260
-            'config'  => array(
260
+            'config'  => array (
261 261
                 'type' => 'input',
262 262
                 'size' => 30,
263 263
                 'eval' => 'trim',
264 264
             ),
265 265
         ),
266 266
 
267
-        'changed'                    => array(
267
+        'changed'                    => array (
268 268
             'exclude'   => 1,
269 269
             'l10n_mode' => 'exclude',
270 270
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.changed',
271
-            'config'    => array(
271
+            'config'    => array (
272 272
                 'type'    => 'check',
273 273
                 'default' => 0,
274 274
             ),
275 275
         ),
276 276
 
277
-        'valid'                      => array(
277
+        'valid'                      => array (
278 278
             'exclude'   => 1,
279 279
             'l10n_mode' => 'exclude',
280 280
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.valid',
281
-            'config'    => array(
281
+            'config'    => array (
282 282
                 'type'    => 'check',
283 283
                 'default' => 0,
284 284
             ),
285 285
         ),
286 286
 
287
-        'date_issued'                => array(
287
+        'date_issued'                => array (
288 288
             'exclude' => 1,
289 289
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.date_issued',
290
-            'config'  => array(
290
+            'config'  => array (
291 291
                 'type' => 'input',
292 292
                 'size' => 30,
293 293
                 'eval' => 'trim',
294 294
             ),
295 295
         ),
296 296
 
297
-        'file'                       => array(
297
+        'file'                       => array (
298 298
             'exclude' => 1,
299 299
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.file',
300
-            'config'  => array(
300
+            'config'  => array (
301 301
                 'type'          => 'inline',
302 302
                 'foreign_table' => 'tx_dpf_domain_model_file',
303 303
                 'foreign_field' => 'document',
304
-                'behaviour'     => array(
304
+                'behaviour'     => array (
305 305
                     'disableMovingChildrenWithParent' => 1,
306 306
                 ),
307 307
                 'maxitems'      => 9999,
308
-                'appearance'    => array(
308
+                'appearance'    => array (
309 309
                     'collapseAll'                     => 0,
310 310
                     'levelLinksPosition'              => 'top',
311 311
                     'showSynchronizationLink'         => 1,
@@ -316,13 +316,13 @@  discard block
 block discarded – undo
316 316
 
317 317
         ),
318 318
 
319
-        'creator'              => array(
319
+        'creator'              => array (
320 320
             'exclude' => 1,
321 321
             'label'   => 'Creator',
322
-            'config'  => array(
322
+            'config'  => array (
323 323
                 'type'          => 'select',
324 324
                 'items' => array (
325
-                    array('', 0),
325
+                    array ('', 0),
326 326
                 ),
327 327
                 'renderType'    => 'selectSingle',
328 328
                 'foreign_table' => 'fe_users',
@@ -331,70 +331,70 @@  discard block
 block discarded – undo
331 331
             ),
332 332
         ),
333 333
 
334
-        'creation_date' => array(
334
+        'creation_date' => array (
335 335
             'exclude'   => 1,
336 336
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.creation_date',
337
-            'config'    => array(
337
+            'config'    => array (
338 338
                 'type'  => 'input',
339 339
                 'size'  => 30,
340 340
                 'eval'  => 'trim',
341 341
             ),
342 342
         ),
343 343
 
344
-        'temporary'                      => array(
344
+        'temporary'                      => array (
345 345
             'exclude'   => 1,
346 346
             'l10n_mode' => 'exclude',
347 347
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.temporary',
348
-            'config'    => array(
348
+            'config'    => array (
349 349
                 'type'    => 'check',
350 350
                 'default' => 0,
351 351
             ),
352 352
         ),
353 353
 
354 354
 
355
-        'suggestion' => array(
355
+        'suggestion' => array (
356 356
             'exclude'   => 1,
357 357
             'l10n_mode' => 'exclude',
358 358
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.suggestion',
359
-            'config'    => array(
359
+            'config'    => array (
360 360
                 'type'    => 'check',
361 361
                 'default' => 0,
362 362
             ),
363 363
         ),
364 364
 
365
-        'linked_uid' => array(
365
+        'linked_uid' => array (
366 366
             'exclude'   => 1,
367 367
             'l10n_mode' => 'exclude',
368 368
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.linked_uid',
369
-            'config'    => array(
369
+            'config'    => array (
370 370
                 'type'    => 'check'
371 371
             ),
372 372
         ),
373 373
 
374
-        'comment' => array(
374
+        'comment' => array (
375 375
             'exclude' => 1,
376 376
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.comment',
377
-            'config'  => array(
377
+            'config'  => array (
378 378
                 'type' => 'input',
379 379
                 'size' => 30,
380 380
                 'eval' => 'trim',
381 381
             ),
382 382
         ),
383 383
 
384
-        'automatic_embargo'    => array(
384
+        'automatic_embargo'    => array (
385 385
             'exclude'   => 1,
386 386
             'l10n_mode' => 'exclude',
387 387
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.embargo',
388
-            'config'    => array(
388
+            'config'    => array (
389 389
                 'type'    => 'check',
390 390
                 'default' => 0,
391 391
             ),
392 392
         ),
393 393
 
394
-        'embargo_date'    => array(
394
+        'embargo_date'    => array (
395 395
             'exclude' => 1,
396 396
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.embargo_date',
397
-            'config'  => array(
397
+            'config'  => array (
398 398
                 'type'     => 'input',
399 399
                 'renderType' => 'inputDateTime',
400 400
                 'size'     => 10,
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_metadatagroup.php 2 patches
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         'tstamp'                   => 'tstamp',
24 24
         'crdate'                   => 'crdate',
25 25
         'cruser_id'                => 'cruser_id',
26
-        'versioningWS'             => true,
26
+        'versioningWS'             => TRUE,
27 27
         'languageField'            => 'sys_language_uid',
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
                 'cols' => 40,
227 227
                 'rows' => 15,
228 228
                 'eval' => 'trim',
229
-                'enableRichtext' => true,
229
+                'enableRichtext' => TRUE,
230 230
             ),
231 231
         ),
232 232
         'metadata_object'          => array(
Please login to merge, or discard this patch.
Spacing   +63 added lines, -63 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_metadatagroup',
22 22
         'label'                    => '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',
@@ -36,211 +36,211 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, json_mapping, max_iteration, metadata_object, access_restriction_roles, info_text, group_type',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_metadatagroup.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, json_mapping, max_iteration, metadata_object, access_restriction_roles, info_text, group_type',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, json_mapping, max_iteration, metadata_object, access_restriction_roles, info_text, group_type, --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, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, json_mapping, max_iteration, metadata_object, access_restriction_roles, info_text, group_type, --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
             ),
63 63
         ),
64
-        'l10n_parent'              => array(
64
+        'l10n_parent'              => array (
65 65
             'displayCond' => 'FIELD:sys_language_uid:>:0',
66 66
             'exclude'     => 1,
67 67
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
68
-            'config'      => array(
68
+            'config'      => array (
69 69
                 'type'                => 'select',
70 70
                 'renderType'          => 'selectSingle',
71
-                'items'               => array(
72
-                    array('', 0),
71
+                'items'               => array (
72
+                    array ('', 0),
73 73
                 ),
74 74
                 'foreign_table'       => 'tx_dpf_domain_model_metadatagroup',
75 75
                 'foreign_table_where' => 'AND tx_dpf_domain_model_metadatagroup.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadatagroup.sys_language_uid IN (-1,0)',
76 76
             ),
77 77
         ),
78
-        'l10n_diffsource'          => array(
79
-            'config' => array(
78
+        'l10n_diffsource'          => array (
79
+            'config' => array (
80 80
                 'type' => 'passthrough',
81 81
             ),
82 82
         ),
83 83
 
84
-        't3ver_label'              => array(
84
+        't3ver_label'              => array (
85 85
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
86
-            'config' => array(
86
+            'config' => array (
87 87
                 'type' => 'input',
88 88
                 'size' => 30,
89 89
                 'max'  => 255,
90 90
             ),
91 91
         ),
92 92
 
93
-        'hidden'                   => array(
93
+        'hidden'                   => array (
94 94
             'exclude'   => 1,
95 95
             'l10n_mode' => 'exclude',
96 96
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
97
-            'config'    => array(
97
+            'config'    => array (
98 98
                 'type' => 'check',
99 99
             ),
100 100
         ),
101
-        'starttime'                => array(
101
+        'starttime'                => array (
102 102
             'exclude'   => 1,
103 103
             'l10n_mode' => 'mergeIfNotBlank',
104 104
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
105
-            'config'    => array(
105
+            'config'    => array (
106 106
                 'type'     => 'input',
107 107
                 'renderType' => 'inputDateTime',
108 108
                 'size'     => 13,
109 109
                 'eval'     => 'datetime',
110 110
                 'checkbox' => 0,
111 111
                 'default'  => 0,
112
-                'range'    => array(
112
+                'range'    => array (
113 113
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
114 114
                 ),
115 115
             ),
116 116
         ),
117
-        'endtime'                  => array(
117
+        'endtime'                  => array (
118 118
             'exclude'   => 1,
119 119
             'l10n_mode' => 'mergeIfNotBlank',
120 120
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
121
-            'config'    => array(
121
+            'config'    => array (
122 122
                 'type'     => 'input',
123 123
                 'renderType' => 'inputDateTime',
124 124
                 'size'     => 13,
125 125
                 'eval'     => 'datetime',
126 126
                 'checkbox' => 0,
127 127
                 'default'  => 0,
128
-                'range'    => array(
128
+                'range'    => array (
129 129
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
130 130
                 ),
131 131
             ),
132 132
         ),
133 133
 
134
-        'name'                     => array(
134
+        'name'                     => array (
135 135
             'exclude'   => 1,
136 136
             'l10n_mode' => 'exclude',
137 137
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.name',
138
-            'config'    => array(
138
+            'config'    => array (
139 139
                 'type' => 'input',
140 140
                 'size' => 30,
141 141
                 'eval' => 'trim,uniqueInPid',
142 142
             ),
143 143
         ),
144
-        'display_name'             => array(
144
+        'display_name'             => array (
145 145
             'exclude' => 1,
146 146
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.display_name',
147
-            'config'  => array(
147
+            'config'  => array (
148 148
                 'type' => 'input',
149 149
                 'size' => 30,
150 150
                 'eval' => 'trim',
151 151
             ),
152 152
         ),
153
-        'mandatory'                => array(
153
+        'mandatory'                => array (
154 154
             'exclude'   => 1,
155 155
             'l10n_mode' => 'exclude',
156 156
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory',
157
-            'config'    => array(
157
+            'config'    => array (
158 158
                 'type' => 'select',
159 159
                 'size' => 1,
160 160
                 'maxitems' => 1,
161
-                'items' => array(
162
-                    array('',''),
163
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY),
164
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY),
161
+                'items' => array (
162
+                    array ('', ''),
163
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY),
164
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY),
165 165
                 ),
166 166
             ),
167 167
         ),
168
-        'mapping_for_reading'      => array(
168
+        'mapping_for_reading'      => array (
169 169
             'exclude'   => 1,
170 170
             'l10n_mode' => 'exclude',
171 171
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mapping_for_reading',
172
-            'config'    => array(
172
+            'config'    => array (
173 173
                 'type' => 'input',
174 174
                 'size' => 30,
175 175
                 'eval' => 'trim',
176 176
             ),
177 177
         ),
178
-        'mapping'                  => array(
178
+        'mapping'                  => array (
179 179
             'exclude'   => 1,
180 180
             'l10n_mode' => 'exclude',
181 181
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mapping',
182
-            'config'    => array(
182
+            'config'    => array (
183 183
                 'type' => 'input',
184 184
                 'size' => 30,
185 185
                 'eval' => 'trim',
186 186
             ),
187 187
         ),
188
-        'mods_extension_mapping'   => array(
188
+        'mods_extension_mapping'   => array (
189 189
             'exclude'   => 1,
190 190
             'l10n_mode' => 'exclude',
191 191
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mods_extension_mapping',
192
-            'config'    => array(
192
+            'config'    => array (
193 193
                 'type' => 'input',
194 194
                 'size' => 30,
195 195
                 'eval' => 'trim',
196 196
             ),
197 197
         ),
198
-        'mods_extension_reference' => array(
198
+        'mods_extension_reference' => array (
199 199
             'exclude'   => 1,
200 200
             'l10n_mode' => 'exclude',
201 201
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mods_extension_reference',
202
-            'config'    => array(
202
+            'config'    => array (
203 203
                 'type' => 'input',
204 204
                 'size' => 30,
205 205
                 'eval' => 'trim',
206 206
             ),
207 207
         ),
208
-        'json_mapping'                  => array(
208
+        'json_mapping'                  => array (
209 209
             'exclude'   => 1,
210 210
             'l10n_mode' => 'exclude',
211 211
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.json_mapping',
212
-            'config'    => array(
212
+            'config'    => array (
213 213
                 'type' => 'input',
214 214
                 'size' => 30,
215 215
                 'eval' => 'trim',
216 216
             ),
217 217
         ),
218
-        'max_iteration'            => array(
218
+        'max_iteration'            => array (
219 219
             'exclude'   => 1,
220 220
             'l10n_mode' => 'exclude',
221 221
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.max_iteration',
222
-            'config'    => array(
222
+            'config'    => array (
223 223
                 'type' => 'input',
224 224
                 'size' => 4,
225 225
                 'eval' => 'int',
226 226
             ),
227 227
         ),
228
-        'access_restriction_roles' => array(
228
+        'access_restriction_roles' => array (
229 229
             'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.access_restriction_roles',
230
-            'config' => array(
230
+            'config' => array (
231 231
                 'type' => 'select',
232 232
                 'size' => 2,
233 233
                 'maxitems' => 2,
234
-                'items' => array(
235
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
236
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
234
+                'items' => array (
235
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
236
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
237 237
                 ),
238 238
             ),
239 239
         ),
240
-        'info_text'                => array(
240
+        'info_text'                => array (
241 241
             'exclude' => 1,
242 242
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.info_text',
243
-            'config'  => array(
243
+            'config'  => array (
244 244
                 'type' => 'text',
245 245
                 'cols' => 40,
246 246
                 'rows' => 15,
@@ -248,24 +248,24 @@  discard block
 block discarded – undo
248 248
                 'enableRichtext' => true,
249 249
             ),
250 250
         ),
251
-        'metadata_object'          => array(
251
+        'metadata_object'          => array (
252 252
             'exclude'   => 1,
253 253
             'l10n_mode' => 'exclude',
254 254
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.metadata_object',
255
-            'config'    => array(
255
+            'config'    => array (
256 256
                 'type'           => 'inline',
257 257
                 'foreign_table'  => 'tx_dpf_domain_model_metadataobject',
258 258
                 'foreign_field'  => 'metadatagroup',
259 259
                 'foreign_label'  => 'display_name',
260 260
                 'foreign_sortby' => 'sorting',
261
-                'behaviour'      => array(
261
+                'behaviour'      => array (
262 262
                     'disableMovingChildrenWithParent' => 1,
263 263
                 ),
264 264
                 'size'           => 10,
265 265
                 'autoSizeMax'    => 30,
266 266
                 'maxitems'       => 9999,
267 267
                 'multiple'       => 0,
268
-                'appearance'     => array(
268
+                'appearance'     => array (
269 269
                     'collapseAll'                     => 1,
270 270
                     'levelLinksPosition'              => 'top',
271 271
                     'showSynchronizationLink'         => 1,
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_metadatapage.php 2 patches
Spacing   +50 added lines, -50 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_metadatapage',
22 22
         'label'                    => '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',
@@ -36,143 +36,143 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'name, display_name, page_number, access_restriction_roles, metadata_group',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_metadatapage.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, page_number, access_restriction_roles, metadata_group',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, page_number, access_restriction_roles, metadata_group, --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, name, display_name, page_number, access_restriction_roles, metadata_group, --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(
49
-        'sys_language_uid' => array(
48
+    'columns'   => array (
49
+        'sys_language_uid' => array (
50 50
             'exclude' => 1,
51 51
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
52
-            'config'  => array(
52
+            'config'  => array (
53 53
                 'type'                => 'select',
54 54
                 'renderType'          => 'selectSingle',
55 55
                 'foreign_table'       => 'sys_language',
56 56
                 'foreign_table_where' => 'ORDER BY sys_language.title',
57
-                'items'               => array(
58
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
59
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
57
+                'items'               => array (
58
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
59
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
60 60
                 ),
61 61
             ),
62 62
         ),
63
-        'l10n_parent'      => array(
63
+        'l10n_parent'      => array (
64 64
             'displayCond' => 'FIELD:sys_language_uid:>:0',
65 65
             'exclude'     => 1,
66 66
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
67
-            'config'      => array(
67
+            'config'      => array (
68 68
                 'type'                => 'select',
69 69
                 'renderType'          => 'selectSingle',
70
-                'items'               => array(
71
-                    array('', 0),
70
+                'items'               => array (
71
+                    array ('', 0),
72 72
                 ),
73 73
                 'foreign_table'       => 'tx_dpf_domain_model_metadatapage',
74 74
                 'foreign_table_where' => 'AND tx_dpf_domain_model_metadatapage.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadatapage.sys_language_uid IN (-1,0)',
75 75
             ),
76 76
         ),
77
-        'l10n_diffsource'  => array(
78
-            'config' => array(
77
+        'l10n_diffsource'  => array (
78
+            'config' => array (
79 79
                 'type' => 'passthrough',
80 80
             ),
81 81
         ),
82
-        't3ver_label'      => array(
82
+        't3ver_label'      => array (
83 83
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
84
-            'config' => array(
84
+            'config' => array (
85 85
                 'type' => 'input',
86 86
                 'size' => 30,
87 87
                 'max'  => 255,
88 88
             ),
89 89
         ),
90
-        'hidden'           => array(
90
+        'hidden'           => array (
91 91
             'exclude'   => 1,
92 92
             'l10n_mode' => 'exclude',
93 93
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
94
-            'config'    => array(
94
+            'config'    => array (
95 95
                 'type' => 'check',
96 96
             ),
97 97
         ),
98
-        'starttime'        => array(
98
+        'starttime'        => array (
99 99
             'exclude'   => 1,
100 100
             'l10n_mode' => 'mergeIfNotBlank',
101 101
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
102
-            'config'    => array(
102
+            'config'    => array (
103 103
                 'type'     => 'input',
104 104
                 'renderType' => 'inputDateTime',
105 105
                 'size'     => 13,
106 106
                 'eval'     => 'datetime',
107 107
                 'checkbox' => 0,
108 108
                 'default'  => 0,
109
-                'range'    => array(
109
+                'range'    => array (
110 110
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
111 111
                 ),
112 112
             ),
113 113
         ),
114
-        'endtime'          => array(
114
+        'endtime'          => array (
115 115
             'exclude'   => 1,
116 116
             'l10n_mode' => 'mergeIfNotBlank',
117 117
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
118
-            'config'    => array(
118
+            'config'    => array (
119 119
                 'type'     => 'input',
120 120
                 'renderType' => 'inputDateTime',
121 121
                 'size'     => 13,
122 122
                 'eval'     => 'datetime',
123 123
                 'checkbox' => 0,
124 124
                 'default'  => 0,
125
-                'range'    => array(
125
+                'range'    => array (
126 126
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
127 127
                 ),
128 128
             ),
129 129
         ),
130
-        'name'             => array(
130
+        'name'             => array (
131 131
             'exclude'   => 1,
132 132
             'l10n_mode' => 'exclude',
133 133
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.name',
134
-            'config'    => array(
134
+            'config'    => array (
135 135
                 'type' => 'input',
136 136
                 'size' => 30,
137 137
                 'eval' => 'trim,uniqueInPid',
138 138
             ),
139 139
         ),
140
-        'display_name'     => array(
140
+        'display_name'     => array (
141 141
             'exclude' => 1,
142 142
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.display_name',
143
-            'config'  => array(
143
+            'config'  => array (
144 144
                 'type' => 'input',
145 145
                 'size' => 30,
146 146
                 'eval' => 'trim',
147 147
             ),
148 148
         ),
149
-        'page_number'      => array(
149
+        'page_number'      => array (
150 150
             'exclude'   => 1,
151 151
             'l10n_mode' => 'exclude',
152 152
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.page_number',
153
-            'config'    => array(
153
+            'config'    => array (
154 154
                 'type' => 'input',
155 155
                 'size' => 4,
156 156
                 'eval' => 'int',
157 157
             ),
158 158
         ),
159
-        'access_restriction_roles' => array(
159
+        'access_restriction_roles' => array (
160 160
             'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.access_restriction_roles',
161
-            'config' => array(
161
+            'config' => array (
162 162
                 'type' => 'select',
163 163
                 'size' => 2,
164 164
                 'maxitems' => 2,
165
-                'items' => array(
166
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
167
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
165
+                'items' => array (
166
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
167
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
168 168
                 ),
169 169
             ),
170 170
         ),
171
-        'metadata_group'   => array(
171
+        'metadata_group'   => array (
172 172
             'exclude'   => 1,
173 173
             'l10n_mode' => 'exclude',
174 174
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.metadata_group',
175
-            'config'    => array(
175
+            'config'    => array (
176 176
                 'type'                => 'select',
177 177
                 'renderType'          => 'selectMultipleSideBySide',
178 178
                 'foreign_table'       => 'tx_dpf_domain_model_metadatagroup',
@@ -182,24 +182,24 @@  discard block
 block discarded – undo
182 182
                 'autoSizeMax'         => 30,
183 183
                 'maxitems'            => 9999,
184 184
                 'multiple'            => 0,
185
-                'wizards'             => array(
185
+                'wizards'             => array (
186 186
                     '_VERTICAL' => 1,
187 187
                 ),
188
-                'fieldControl' => array(
189
-                    'editPopup' => array(
188
+                'fieldControl' => array (
189
+                    'editPopup' => array (
190 190
                         'disabled' => false,
191 191
                     ),
192
-                    'addRecord' => array(
192
+                    'addRecord' => array (
193 193
                         'disabled' => false,
194
-                        'options' =>  array(
194
+                        'options' =>  array (
195 195
                             'setValue' => 'prepend',
196 196
                         ),
197 197
                     ),
198 198
                 ),
199 199
             ),
200 200
         ),
201
-        'documenttype'     => array(
202
-            'config' => array(
201
+        'documenttype'     => array (
202
+            'config' => array (
203 203
                 'type' => 'passthrough',
204 204
             ),
205 205
         ),
Please login to merge, or discard this patch.
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         'tstamp'                   => 'tstamp',
24 24
         'crdate'                   => 'crdate',
25 25
         'cruser_id'                => 'cruser_id',
26
-        'versioningWS'             => true,
26
+        'versioningWS'             => TRUE,
27 27
         'languageField'            => 'sys_language_uid',
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -184,10 +184,10 @@  discard block
 block discarded – undo
184 184
                 ),
185 185
                 'fieldControl' => array(
186 186
                     'editPopup' => array(
187
-                        'disabled' => false,
187
+                        'disabled' => FALSE,
188 188
                     ),
189 189
                     'addRecord' => array(
190
-                        'disabled' => false,
190
+                        'disabled' => FALSE,
191 191
                         'options' =>  array(
192 192
                             'setValue' => 'prepend',
193 193
                         ),
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_metadataobject.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         'tstamp'                   => 'tstamp',
23 23
         'crdate'                   => 'crdate',
24 24
         'cruser_id'                => 'cruser_id',
25
-        'versioningWS'             => true,
25
+        'versioningWS'             => TRUE,
26 26
         'languageField'            => 'sys_language_uid',
27 27
         'transOrigPointerField'    => 'l10n_parent',
28 28
         'transOrigDiffSourceField' => 'l10n_diffsource',
Please login to merge, or discard this patch.
Spacing   +104 added lines, -104 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_metadataobject',
22 22
         'label'                    => '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',
@@ -36,290 +36,290 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, object_type',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_metadataobject.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, object_type',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, object_type, --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, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, object_type, --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
             ),
63 63
         ),
64
-        'l10n_parent'       => array(
64
+        'l10n_parent'       => array (
65 65
             'displayCond' => 'FIELD:sys_language_uid:>:0',
66 66
             'exclude'     => 1,
67 67
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
68
-            'config'      => array(
68
+            'config'      => array (
69 69
                 'type'                => 'select',
70 70
                 'renderType'          => 'selectSingle',
71
-                'items'               => array(
72
-                    array('', 0),
71
+                'items'               => array (
72
+                    array ('', 0),
73 73
                 ),
74 74
                 'foreign_table'       => 'tx_dpf_domain_model_metadataobject',
75 75
                 'foreign_table_where' => 'AND tx_dpf_domain_model_metadataobject.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadataobject.sys_language_uid IN (-1,0)',
76 76
             ),
77 77
         ),
78
-        'l10n_diffsource'   => array(
79
-            'config' => array(
78
+        'l10n_diffsource'   => array (
79
+            'config' => array (
80 80
                 'type' => 'passthrough',
81 81
             ),
82 82
         ),
83 83
 
84
-        't3ver_label'       => array(
84
+        't3ver_label'       => array (
85 85
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
86
-            'config' => array(
86
+            'config' => array (
87 87
                 'type' => 'input',
88 88
                 'size' => 30,
89 89
                 'max'  => 255,
90 90
             ),
91 91
         ),
92 92
 
93
-        'hidden'            => array(
93
+        'hidden'            => array (
94 94
             'exclude'   => 1,
95 95
             'l10n_mode' => 'exclude',
96 96
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
97
-            'config'    => array(
97
+            'config'    => array (
98 98
                 'type' => 'check',
99 99
             ),
100 100
         ),
101
-        'starttime'         => array(
101
+        'starttime'         => array (
102 102
             'exclude'   => 1,
103 103
             'l10n_mode' => 'mergeIfNotBlank',
104 104
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
105
-            'config'    => array(
105
+            'config'    => array (
106 106
                 'type'     => 'input',
107 107
                 'renderType' => 'inputDateTime',
108 108
                 'size'     => 13,
109 109
                 'eval'     => 'datetime',
110 110
                 'checkbox' => 0,
111 111
                 'default'  => 0,
112
-                'range'    => array(
112
+                'range'    => array (
113 113
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
114 114
                 ),
115 115
             ),
116 116
         ),
117
-        'endtime'           => array(
117
+        'endtime'           => array (
118 118
             'exclude'   => 1,
119 119
             'l10n_mode' => 'mergeIfNotBlank',
120 120
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
121
-            'config'    => array(
121
+            'config'    => array (
122 122
                 'type'     => 'input',
123 123
                 'renderType' => 'inputDateTime',
124 124
                 'size'     => 13,
125 125
                 'eval'     => 'datetime',
126 126
                 'checkbox' => 0,
127 127
                 'default'  => 0,
128
-                'range'    => array(
128
+                'range'    => array (
129 129
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
130 130
                 ),
131 131
             ),
132 132
         ),
133 133
 
134
-        'name'              => array(
134
+        'name'              => array (
135 135
             'exclude'   => 1,
136 136
             'l10n_mode' => 'exclude',
137 137
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.name',
138
-            'config'    => array(
138
+            'config'    => array (
139 139
                 'type' => 'input',
140 140
                 'size' => 30,
141 141
                 'eval' => 'trim',
142 142
             ),
143 143
         ),
144
-        'display_name'      => array(
144
+        'display_name'      => array (
145 145
             'exclude' => 1,
146 146
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.display_name',
147
-            'config'  => array(
147
+            'config'  => array (
148 148
                 'type' => 'input',
149 149
                 'size' => 30,
150 150
                 'eval' => 'trim',
151 151
             ),
152 152
         ),
153
-        'max_iteration'     => array(
153
+        'max_iteration'     => array (
154 154
             'exclude'   => 1,
155 155
             'l10n_mode' => 'exclude',
156 156
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_iteration',
157
-            'config'    => array(
157
+            'config'    => array (
158 158
                 'type' => 'input',
159 159
                 'size' => 4,
160 160
                 'eval' => 'int',
161 161
             ),
162 162
         ),
163
-        'mandatory'         => array(
163
+        'mandatory'         => array (
164 164
             'exclude'   => 1,
165 165
             'l10n_mode' => 'exclude',
166 166
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory',
167
-            'config'    => array(
167
+            'config'    => array (
168 168
                 'type' => 'select',
169 169
                 'size' => 1,
170 170
                 'maxitems' => 1,
171
-                'items' => array(
172
-                    array('',''),
173
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY),
174
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY),
171
+                'items' => array (
172
+                    array ('', ''),
173
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY),
174
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY),
175 175
                 ),
176 176
             ),
177 177
         ),
178
-        'mapping'           => array(
178
+        'mapping'           => array (
179 179
             'exclude'   => 1,
180 180
             'l10n_mode' => 'exclude',
181 181
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mapping',
182
-            'config'    => array(
182
+            'config'    => array (
183 183
                 'type' => 'input',
184 184
                 'size' => 30,
185 185
                 'eval' => 'trim',
186 186
             ),
187 187
         ),
188
-        'json_mapping'           => array(
188
+        'json_mapping'           => array (
189 189
             'exclude'   => 1,
190 190
             'l10n_mode' => 'exclude',
191 191
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.json_mapping',
192
-            'config'    => array(
192
+            'config'    => array (
193 193
                 'type' => 'input',
194 194
                 'size' => 30,
195 195
                 'eval' => 'trim',
196 196
             ),
197 197
         ),
198
-        'data_type'         => array(
198
+        'data_type'         => array (
199 199
             'exclude'   => 1,
200 200
             'l10n_mode' => 'exclude',
201 201
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type',
202
-            'config'    => array(
202
+            'config'    => array (
203 203
                 'type'     => 'select',
204 204
                 'renderType' => 'selectSingle',
205
-                'items'    => array(
206
-                    array('', ''),
207
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.regexp', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_REGEXP),
208
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.date', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_DATE),
205
+                'items'    => array (
206
+                    array ('', ''),
207
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.regexp', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_REGEXP),
208
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.date', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_DATE),
209 209
                 ),
210 210
                 'size'     => 1,
211 211
                 'maxitems' => 1,
212 212
                 'eval'     => '',
213 213
             ),
214 214
         ),
215
-        'validation'        => array(
215
+        'validation'        => array (
216 216
             'exclude'   => 1,
217 217
             'l10n_mode' => 'exclude',
218 218
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.validation',
219
-            'config'    => array(
219
+            'config'    => array (
220 220
                 'type' => 'input',
221 221
                 'size' => 30,
222 222
                 'eval' => 'trim',
223 223
             ),
224 224
         ),
225
-        'mods_extension'    => array(
225
+        'mods_extension'    => array (
226 226
             'exclude'   => 1,
227 227
             'l10n_mode' => 'exclude',
228 228
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mods_extension',
229
-            'config'    => array(
229
+            'config'    => array (
230 230
                 'type'    => 'check',
231 231
                 'default' => 0,
232 232
             ),
233 233
         ),
234
-        'access_restriction_roles' => array(
234
+        'access_restriction_roles' => array (
235 235
             'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.access_restriction_roles',
236
-            'config' => array(
236
+            'config' => array (
237 237
                 'type' => 'select',
238 238
                 'size' => 2,
239 239
                 'maxitems' => 2,
240
-                'items' => array(
241
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
242
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
240
+                'items' => array (
241
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
242
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
243 243
                 ),
244 244
             ),
245 245
         ),
246
-        'consent'           => array(
246
+        'consent'           => array (
247 247
             'exclude'   => 1,
248 248
             'l10n_mode' => 'exclude',
249 249
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.consent',
250
-            'config'    => array(
250
+            'config'    => array (
251 251
                 'type'    => 'check',
252 252
                 'default' => 0,
253 253
             ),
254 254
         ),
255
-        'input_field'       => array(
255
+        'input_field'       => array (
256 256
             'onChange' => 'reload',
257 257
             'exclude'   => 1,
258 258
             'l10n_mode' => 'exclude',
259 259
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_field',
260
-            'config'    => array(
260
+            'config'    => array (
261 261
                 'type'     => 'select',
262 262
                 'renderType' => 'selectSingle',
263
-                'items'    => array(
264
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input),
265
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea),
266
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select),
267
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox),
268
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden),
269
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.inputDropdown', \EWW\Dpf\Domain\Model\MetadataObject::INPUTDROPDOWN),
263
+                'items'    => array (
264
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input),
265
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea),
266
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select),
267
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox),
268
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden),
269
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.inputDropdown', \EWW\Dpf\Domain\Model\MetadataObject::INPUTDROPDOWN),
270 270
                 ),
271 271
                 'size'     => 1,
272 272
                 'maxitems' => 1,
273 273
                 'eval'     => '',
274 274
             ),
275 275
         ),
276
-        'deposit_license'       => array(
277
-            'displayCond' => array(
278
-                'OR' => array(
276
+        'deposit_license'       => array (
277
+            'displayCond' => array (
278
+                'OR' => array (
279 279
                     'FIELD:input_field:REQ:false',
280
-                    'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::checkbox,
280
+                    'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::checkbox,
281 281
                 ),
282 282
             ),
283 283
             'exclude'   => 1,
284 284
             'l10n_mode' => 'exclude',
285 285
             'label'     => 'Checkbox Value',
286
-            'config'    => array(
286
+            'config'    => array (
287 287
                 'type'     => 'select',
288 288
                 'renderType' => 'selectSingle',
289 289
                 'foreign_table' => 'tx_dpf_domain_model_depositlicense',
290
-                'items'    => array(
291
-                    array('', 0),
290
+                'items'    => array (
291
+                    array ('', 0),
292 292
                 ),
293 293
                 'size'     => 1,
294 294
                 'maxitems' => 1,
295 295
                 'eval'     => '',
296 296
             ),
297 297
         ),
298
-        'max_input_length'       => array(
299
-            'displayCond' => array(
300
-                'OR' => array(
298
+        'max_input_length'       => array (
299
+            'displayCond' => array (
300
+                'OR' => array (
301 301
                     'FIELD:input_field:REQ:false',
302
-                    'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::input,
303
-                    'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::textarea,
302
+                    'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::input,
303
+                    'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::textarea,
304 304
                 ),
305 305
             ),
306 306
             'exclude'   => 1,
307 307
             'l10n_mode' => 'exclude',
308 308
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_input_length',
309
-            'config'    => array(
309
+            'config'    => array (
310 310
                 'type' => 'input',
311 311
                 'size' => 4,
312 312
                 'eval' => 'trim,number',
313 313
             ),
314 314
         ),
315
-        'input_option_list' => array(
315
+        'input_option_list' => array (
316 316
             'exclude' => 1,
317 317
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_option_list',
318
-            'config'  => array(
318
+            'config'  => array (
319 319
                 'type'                => 'select',
320 320
                 'renderType'          => 'selectSingle',
321
-                'items'               => array(
322
-                    array('', 0),
321
+                'items'               => array (
322
+                    array ('', 0),
323 323
                 ),
324 324
                 'foreign_table'       => 'tx_dpf_domain_model_inputoptionlist',
325 325
                 'foreign_table_where' => ' AND (tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID###) AND (tx_dpf_domain_model_inputoptionlist.sys_language_uid = 0)',
@@ -327,27 +327,27 @@  discard block
 block discarded – undo
327 327
                 'maxitems'            => 1,
328 328
             ),
329 329
         ),
330
-        'default_value'     => array(
330
+        'default_value'     => array (
331 331
             'exclude' => 1,
332 332
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.default_value',
333
-            'config'  => array(
333
+            'config'  => array (
334 334
                 'type' => 'text',
335 335
                 'cols' => 20,
336 336
                 'rows' => 3,
337 337
                 'eval' => 'trim',
338 338
             ),
339 339
         ),
340
-        'fill_out_service'  => array(
340
+        'fill_out_service'  => array (
341 341
             'exclude'   => 1,
342 342
             'l10n_mode' => 'exclude',
343 343
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service',
344
-            'config'    => array(
344
+            'config'    => array (
345 345
                 'type'     => 'select',
346 346
                 'renderType' => 'selectSingle',
347
-                'items'    => array(
348
-                    array('', 0),
349
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.urn', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_URN),
350
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.gnd', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND),
347
+                'items'    => array (
348
+                    array ('', 0),
349
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.urn', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_URN),
350
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.gnd', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND),
351 351
                 ),
352 352
                 'size'     => 1,
353 353
                 'maxitems' => 1,
@@ -355,26 +355,26 @@  discard block
 block discarded – undo
355 355
             ),
356 356
             'onChange' => 'reload',
357 357
         ),
358
-        'gnd_field_uid' => array(
359
-            'displayCond' => 'FIELD:fill_out_service:=:'.\EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND,
358
+        'gnd_field_uid' => array (
359
+            'displayCond' => 'FIELD:fill_out_service:=:' . \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND,
360 360
             'exclude'   => 0,
361 361
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.gnd_field_uid',
362
-            'config'  => array(
362
+            'config'  => array (
363 363
                 'type' => 'input',
364 364
                 'size' => 30,
365 365
                 'eval' => 'trim',
366 366
             ),
367 367
         ),
368
-        'metadatagroup'     => array(
369
-            'config' => array(
368
+        'metadatagroup'     => array (
369
+            'config' => array (
370 370
                 'type' => 'passthrough',
371 371
             ),
372 372
         ),
373
-        'embargo'    => array(
373
+        'embargo'    => array (
374 374
             'exclude'   => 1,
375 375
             'l10n_mode' => 'exclude',
376 376
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.embargo',
377
-            'config'    => array(
377
+            'config'    => array (
378 378
                 'type'    => 'check',
379 379
                 'default' => 0,
380 380
             ),
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_documenttype.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         'tstamp'                   => 'tstamp',
23 23
         'crdate'                   => 'crdate',
24 24
         'cruser_id'                => 'cruser_id',
25
-        'versioningWS'             => true,
25
+        'versioningWS'             => TRUE,
26 26
         'languageField'            => 'sys_language_uid',
27 27
         'transOrigPointerField'    => 'l10n_parent',
28 28
         'transOrigDiffSourceField' => 'l10n_diffsource',
Please login to merge, or discard this patch.
Spacing   +73 added lines, -73 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,131 +38,131 @@  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/tx_dpf_domain_model_documenttype.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, 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, 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
             ),
72 72
         ),
73
-        'l10n_parent'      => array(
73
+        'l10n_parent'      => array (
74 74
             'displayCond' => 'FIELD:sys_language_uid:>:0',
75 75
             'exclude'     => 1,
76 76
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
77
-            'config'      => array(
77
+            'config'      => array (
78 78
                 'type'                => 'select',
79 79
                 'renderType'          => 'selectSingle',
80
-                'items'               => array(
81
-                    array('', 0),
80
+                'items'               => array (
81
+                    array ('', 0),
82 82
                 ),
83 83
                 'foreign_table'       => 'tx_dpf_domain_model_documenttype',
84 84
                 'foreign_table_where' => 'AND tx_dpf_domain_model_documenttype.pid=###CURRENT_PID### AND tx_dpf_domain_model_documenttype.sys_language_uid IN (-1,0)',
85 85
             ),
86 86
         ),
87
-        'l10n_diffsource'  => array(
88
-            'config' => array(
87
+        'l10n_diffsource'  => array (
88
+            'config' => array (
89 89
                 'type' => 'passthrough',
90 90
             ),
91 91
         ),
92 92
 
93
-        't3ver_label'      => array(
93
+        't3ver_label'      => array (
94 94
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
95
-            'config' => array(
95
+            'config' => array (
96 96
                 'type' => 'input',
97 97
                 'size' => 30,
98 98
                 'max'  => 255,
99 99
             ),
100 100
         ),
101 101
 
102
-        'hidden'           => array(
102
+        'hidden'           => array (
103 103
             'exclude'   => 1,
104 104
             'l10n_mode' => 'exclude',
105 105
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
106
-            'config'    => array(
106
+            'config'    => array (
107 107
                 'type' => 'check',
108 108
             ),
109 109
         ),
110
-        'starttime'        => array(
110
+        'starttime'        => array (
111 111
             'exclude'   => 1,
112 112
             'l10n_mode' => 'mergeIfNotBlank',
113 113
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
114
-            'config'    => array(
114
+            'config'    => array (
115 115
                 'type'     => 'input',
116 116
                 'renderType' => 'inputDateTime',
117 117
                 'size'     => 13,
118 118
                 'eval'     => 'datetime',
119 119
                 'checkbox' => 0,
120 120
                 'default'  => 0,
121
-                'range'    => array(
121
+                'range'    => array (
122 122
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
123 123
                 ),
124 124
             ),
125 125
         ),
126
-        'endtime'          => array(
126
+        'endtime'          => array (
127 127
             'exclude'   => 1,
128 128
             'l10n_mode' => 'mergeIfNotBlank',
129 129
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
130
-            'config'    => array(
130
+            'config'    => array (
131 131
                 'type'     => 'input',
132 132
                 'renderType' => 'inputDateTime',
133 133
                 'size'     => 13,
134 134
                 'eval'     => 'datetime',
135 135
                 'checkbox' => 0,
136 136
                 'default'  => 0,
137
-                'range'    => array(
137
+                'range'    => array (
138 138
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
139 139
                 ),
140 140
             ),
141 141
         ),
142
-        'name'             => array(
142
+        'name'             => array (
143 143
             'exclude'   => 1,
144 144
             'l10n_mode' => 'exclude',
145 145
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.name',
146
-            'config'    => array(
146
+            'config'    => array (
147 147
                 'type' => 'input',
148 148
                 'size' => 30,
149 149
                 'eval' => 'trim,uniqueInPid',
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_documenttype.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
-        'virtual'          => array(
161
+        'virtual'          => 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_documenttype.virtual',
165
-            'config'    => array(
165
+            'config'    => array (
166 166
                 'type'    => 'check',
167 167
                 'default' => 0,
168 168
             ),
@@ -172,8 +172,8 @@  discard block
 block discarded – undo
172 172
             'l10n_mode' => 'exclude',
173 173
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.transformation_file_output',
174 174
             'config'    => [
175
-                'items' => array(
176
-                    array(' --- Bitte wählen --- ',0)
175
+                'items' => array (
176
+                    array (' --- Bitte wählen --- ', 0)
177 177
                 ),
178 178
                 'type'           => 'select',
179 179
                 'foreign_table'  => 'tx_dpf_domain_model_transformationfile',
@@ -186,8 +186,8 @@  discard block
 block discarded – undo
186 186
             'l10n_mode' => 'exclude',
187 187
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.transformation_file_input',
188 188
             'config'    => [
189
-                'items' => array(
190
-                    array(' --- Bitte wählen --- ',0)
189
+                'items' => array (
190
+                    array (' --- Bitte wählen --- ', 0)
191 191
                 ),
192 192
                 'type'           => 'select',
193 193
                 'foreign_table'  => 'tx_dpf_domain_model_transformationfile',
@@ -195,21 +195,21 @@  discard block
 block discarded – undo
195 195
                 'minitems' => 0,
196 196
             ],
197 197
         ],
198
-        'metadata_page'    => array(
198
+        'metadata_page'    => array (
199 199
             'exclude'   => 1,
200 200
             'l10n_mode' => 'exclude',
201 201
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.metadata_page',
202
-            'config'    => array(
202
+            'config'    => array (
203 203
                 'type'           => 'inline',
204 204
                 'foreign_table'  => 'tx_dpf_domain_model_metadatapage',
205 205
                 'foreign_field'  => 'documenttype',
206 206
                 'foreign_label'  => 'display_name',
207 207
                 'foreign_sortby' => 'page_number',
208
-                'behaviour'      => array(
208
+                'behaviour'      => array (
209 209
                     'disableMovingChildrenWithParent' => 1,
210 210
                 ),
211 211
                 'maxitems'       => 9999,
212
-                'appearance'     => array(
212
+                'appearance'     => array (
213 213
                     'collapseAll'                     => 0,
214 214
                     'levelLinksPosition'              => 'top',
215 215
                     'showSynchronizationLink'         => 1,
@@ -223,8 +223,8 @@  discard block
 block discarded – undo
223 223
             'l10n_mode' => 'exclude',
224 224
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.crossref_transformation',
225 225
             'config'    => [
226
-                'items' => array(
227
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
226
+                'items' => array (
227
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
228 228
                 ),
229 229
                 'type'           => 'select',
230 230
                 'foreign_table'  => 'tx_dpf_domain_model_transformationfile',
@@ -232,11 +232,11 @@  discard block
 block discarded – undo
232 232
                 'minitems' => 0,
233 233
             ],
234 234
         ],
235
-        'crossref_types'         => array(
235
+        'crossref_types'         => array (
236 236
             'exclude'   => 1,
237 237
             'l10n_mode' => 'exclude',
238 238
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.crossref_types',
239
-            'config'    => array(
239
+            'config'    => array (
240 240
                 'type' => 'select',
241 241
                 'size' => 10,
242 242
                 'maxitems' => 100,
@@ -250,8 +250,8 @@  discard block
 block discarded – undo
250 250
             'l10n_mode' => 'exclude',
251 251
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.datacite_transformation',
252 252
             'config'    => [
253
-                'items' => array(
254
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
253
+                'items' => array (
254
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
255 255
                 ),
256 256
                 'type'           => 'select',
257 257
                 'foreign_table'  => 'tx_dpf_domain_model_transformationfile',
@@ -259,15 +259,15 @@  discard block
 block discarded – undo
259 259
                 'minitems' => 0,
260 260
             ],
261 261
         ],
262
-        'datacite_types'         => array(
262
+        'datacite_types'         => array (
263 263
             'exclude'   => 1,
264 264
             'l10n_mode' => 'exclude',
265 265
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.datacite_types',
266
-            'config'    => array(
266
+            'config'    => array (
267 267
                 'type' => 'select',
268 268
                 'size' => 10,
269 269
                 'maxitems' => 100,
270
-                'items' => array(
270
+                'items' => array (
271 271
                 ),
272 272
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\DataCiteImporter::typeItems(
273 273
                     \EWW\Dpf\Services\ImportExternalMetadata\DataCiteImporter::types()
@@ -279,8 +279,8 @@  discard block
 block discarded – undo
279 279
             'l10n_mode' => 'exclude',
280 280
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.k10plus_transformation',
281 281
             'config'    => [
282
-                'items' => array(
283
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
282
+                'items' => array (
283
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
284 284
                 ),
285 285
                 'type'           => 'select',
286 286
                 'foreign_table'  => 'tx_dpf_domain_model_transformationfile',
@@ -288,15 +288,15 @@  discard block
 block discarded – undo
288 288
                 'minitems' => 0,
289 289
             ],
290 290
         ],
291
-        'k10plus_types'         => array(
291
+        'k10plus_types'         => array (
292 292
             'exclude'   => 1,
293 293
             'l10n_mode' => 'exclude',
294 294
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.k10plus_types',
295
-            'config'    => array(
295
+            'config'    => array (
296 296
                 'type' => 'select',
297 297
                 'size' => 10,
298 298
                 'maxitems' => 100,
299
-                'items' => array(
299
+                'items' => array (
300 300
                 ),
301 301
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\K10plusImporter::typeItems(
302 302
                     \EWW\Dpf\Services\ImportExternalMetadata\K10plusImporter::types()
@@ -308,8 +308,8 @@  discard block
 block discarded – undo
308 308
             'l10n_mode' => 'exclude',
309 309
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.pubmed_transformation',
310 310
             'config'    => [
311
-                'items' => array(
312
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
311
+                'items' => array (
312
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
313 313
                 ),
314 314
                 'type'           => 'select',
315 315
                 'foreign_table'  => 'tx_dpf_domain_model_transformationfile',
@@ -317,15 +317,15 @@  discard block
 block discarded – undo
317 317
                 'minitems' => 0,
318 318
             ],
319 319
         ],
320
-        'pubmed_types'         => array(
320
+        'pubmed_types'         => array (
321 321
             'exclude'   => 1,
322 322
             'l10n_mode' => 'exclude',
323 323
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.pubmed_types',
324
-            'config'    => array(
324
+            'config'    => array (
325 325
                 'type' => 'select',
326 326
                 'size' => 10,
327 327
                 'maxitems' => 100,
328
-                'items' => array(
328
+                'items' => array (
329 329
                 ),
330 330
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\PubMedImporter::typeItems(
331 331
                     \EWW\Dpf\Services\ImportExternalMetadata\PubMedImporter::types()
@@ -337,8 +337,8 @@  discard block
 block discarded – undo
337 337
             'l10n_mode' => 'exclude',
338 338
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.bibtex_transformation',
339 339
             'config'    => [
340
-                'items' => array(
341
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
340
+                'items' => array (
341
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
342 342
                 ),
343 343
                 'type'           => 'select',
344 344
                 'foreign_table'  => 'tx_dpf_domain_model_transformationfile',
@@ -346,15 +346,15 @@  discard block
 block discarded – undo
346 346
                 'minitems' => 0,
347 347
             ],
348 348
         ],
349
-        'bibtex_types'         => array(
349
+        'bibtex_types'         => array (
350 350
             'exclude'   => 1,
351 351
             'l10n_mode' => 'exclude',
352 352
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.bibtex_types',
353
-            'config'    => array(
353
+            'config'    => array (
354 354
                 'type' => 'select',
355 355
                 'size' => 10,
356 356
                 'maxitems' => 100,
357
-                'items' => array(
357
+                'items' => array (
358 358
                 ),
359 359
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\BibTexFileImporter::typeItems(
360 360
                     \EWW\Dpf\Services\ImportExternalMetadata\BibTexFileImporter::types()
@@ -366,8 +366,8 @@  discard block
 block discarded – undo
366 366
             'l10n_mode' => 'exclude',
367 367
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.riswos_transformation',
368 368
             'config'    => [
369
-                'items' => array(
370
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0)
369
+                'items' => array (
370
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0)
371 371
                 ),
372 372
                 'type'           => 'select',
373 373
                 'foreign_table'  => 'tx_dpf_domain_model_transformationfile',
@@ -375,15 +375,15 @@  discard block
 block discarded – undo
375 375
                 'minitems' => 0,
376 376
             ],
377 377
         ],
378
-        'riswos_types'         => array(
378
+        'riswos_types'         => array (
379 379
             'exclude'   => 1,
380 380
             'l10n_mode' => 'exclude',
381 381
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.ris_types',
382
-            'config'    => array(
382
+            'config'    => array (
383 383
                 'type' => 'select',
384 384
                 'size' => 10,
385 385
                 'maxitems' => 100,
386
-                'items' => array(
386
+                'items' => array (
387 387
                 ),
388 388
                 'items' => \EWW\Dpf\Services\ImportExternalMetadata\RisWosFileImporter::typeItems(
389 389
                     \EWW\Dpf\Services\ImportExternalMetadata\RisWosFileImporter::types()
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_inputoptionlist.php 2 patches
Spacing   +40 added lines, -40 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,146 +37,146 @@  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/tx_dpf_domain_model_inputoptionlist.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
             ),
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_inputoptionlist',
76 76
                 'foreign_table_where' => 'AND tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID### AND tx_dpf_domain_model_inputoptionlist.sys_language_uid IN (-1,0)',
77 77
             ),
78 78
         ),
79
-        'l10n_diffsource'  => array(
80
-            'config' => array(
79
+        'l10n_diffsource'  => array (
80
+            'config' => array (
81 81
                 'type' => 'passthrough',
82 82
             ),
83 83
         ),
84 84
 
85
-        't3ver_label'      => array(
85
+        't3ver_label'      => array (
86 86
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
87
-            'config' => array(
87
+            'config' => array (
88 88
                 'type' => 'input',
89 89
                 'size' => 30,
90 90
                 'max'  => 255,
91 91
             ),
92 92
         ),
93 93
 
94
-        'hidden'           => array(
94
+        'hidden'           => array (
95 95
             'exclude'   => 1,
96 96
             'l10n_mode' => 'exclude',
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
             'l10n_mode' => 'mergeIfNotBlank',
105 105
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
106
-            'config'    => array(
106
+            'config'    => array (
107 107
                 'type'     => 'input',
108 108
                 'renderType' => 'inputDateTime',
109 109
                 'size'     => 13,
110 110
                 'eval'     => 'datetime',
111 111
                 'checkbox' => 0,
112 112
                 'default'  => 0,
113
-                'range'    => array(
113
+                'range'    => array (
114 114
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
115 115
                 ),
116 116
             ),
117 117
         ),
118
-        'endtime'          => array(
118
+        'endtime'          => array (
119 119
             'exclude'   => 1,
120 120
             'l10n_mode' => 'mergeIfNotBlank',
121 121
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
122
-            'config'    => array(
122
+            'config'    => array (
123 123
                 'type'     => 'input',
124 124
                 'renderType' => 'inputDateTime',
125 125
                 'size'     => 13,
126 126
                 'eval'     => 'datetime',
127 127
                 'checkbox' => 0,
128 128
                 'default'  => 0,
129
-                'range'    => array(
129
+                'range'    => array (
130 130
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
131 131
                 ),
132 132
             ),
133 133
         ),
134 134
 
135
-        'name'             => array(
135
+        'name'             => array (
136 136
             'exclude'   => 1,
137 137
             'l10n_mode' => 'exclude',
138 138
             'l10n_mode' => 'exclude',
139 139
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.name',
140
-            'config'    => array(
140
+            'config'    => array (
141 141
                 'type' => 'input',
142 142
                 'size' => 30,
143 143
                 'eval' => 'trim',
144 144
             ),
145 145
         ),
146
-        'display_name'     => array(
146
+        'display_name'     => array (
147 147
             'exclude' => 1,
148 148
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.display_name',
149
-            'config'  => array(
149
+            'config'  => array (
150 150
                 'type' => 'input',
151 151
                 'size' => 30,
152 152
                 'eval' => 'trim',
153 153
             ),
154 154
         ),
155
-        'value_list'       => array(
155
+        'value_list'       => array (
156 156
             'exclude'   => 1,
157 157
             'l10n_mode' => 'exclude',
158 158
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.value_list',
159
-            'config'    => array(
159
+            'config'    => array (
160 160
                 'type' => 'text',
161 161
                 'cols' => 20,
162 162
                 'rows' => 3,
163 163
                 'eval' => 'trim',
164 164
             ),
165 165
         ),
166
-        'value_label_list' => array(
166
+        'value_label_list' => array (
167 167
             'exclude' => 1,
168 168
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.value_label_list',
169
-            'config'  => array(
169
+            'config'  => array (
170 170
                 'type' => 'text',
171 171
                 'cols' => 20,
172 172
                 'rows' => 3,
173 173
                 'eval' => 'trim',
174 174
             ),
175 175
         ),
176
-        'default_value'    => array(
176
+        'default_value'    => array (
177 177
             'exclude' => 1,
178 178
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.default_value',
179
-            'config'  => array(
179
+            'config'  => array (
180 180
                 'type' => 'text',
181 181
                 'cols' => 20,
182 182
                 'rows' => 3,
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         'crdate'                   => 'crdate',
25 25
         'cruser_id'                => 'cruser_id',
26 26
         'sortby'                   => 'sorting',
27
-        'versioningWS'             => true,
27
+        'versioningWS'             => TRUE,
28 28
         'languageField'            => 'sys_language_uid',
29 29
         'transOrigPointerField'    => 'l10n_parent',
30 30
         'transOrigDiffSourceField' => 'l10n_diffsource',
Please login to merge, or discard this patch.
src/Configuration/TCA/Overrides/tt_content.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dpf_metatags'] = 'pi_flexform';
55 55
 
56 56
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
57
-    array('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_metatags',
57
+    array ('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_metatags',
58 58
         'dpf_metatags'),
59 59
     'list_type',
60 60
     'dpf'
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dpf_downloadtool'] = 'pi_flexform';
67 67
 
68 68
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
69
-    array('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_downloadtool',
69
+    array ('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_downloadtool',
70 70
         'dpf_downloadtool'),
71 71
     'list_type',
72 72
     'dpf'
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dpf_relatedlisttool'] = 'pi_flexform';
79 79
 
80 80
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
81
-    array('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_relatedlisttool',
81
+    array ('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_relatedlisttool',
82 82
         'dpf_relatedlisttool'),
83 83
     'list_type',
84 84
     'dpf'
Please login to merge, or discard this patch.
src/Configuration/TCA/Overrides/fe_groups.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@
 block discarded – undo
23 23
         'config' => array (
24 24
         'type' => 'select',
25 25
         'items' => array (
26
-            array('', ''),
27
-            array(
26
+            array ('', ''),
27
+            array (
28 28
                 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher',
29 29
                 \EWW\Dpf\Security\Security::ROLE_RESEARCHER
30 30
             ),
31
-            array(
31
+            array (
32 32
                 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian',
33 33
                 \EWW\Dpf\Security\Security::ROLE_LIBRARIAN
34 34
             ),
Please login to merge, or discard this patch.