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