Passed
Pull Request — master (#207)
by
unknown
16:03 queued 05:02
created
Configuration/TCA/tx_dpf_domain_model_metadatagroup.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
             'exclude'   => 1,
184 184
             'l10n_mode' => 'exclude',
185 185
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mapping',
186
-           // 'displayCond' => 'FIELD:group_type:!IN:file',
186
+            // 'displayCond' => 'FIELD:group_type:!IN:file',
187 187
             'config'    => array(
188 188
                 'type' => 'input',
189 189
                 'size' => 30,
Please login to merge, or discard this patch.
Spacing   +64 added lines, -64 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,74 +36,74 @@  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, optional_groups, required_groups',
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, optional_groups, required_groups',
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, optional_groups, required_groups, --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, optional_groups, required_groups, --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
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
105
-            'config'    => array(
106
-                'behaviour' => array(
105
+            'config'    => array (
106
+                'behaviour' => array (
107 107
                     'allowLanguageSynchronization' => true
108 108
                 ),
109 109
                 'type'     => 'input',
@@ -112,144 +112,144 @@  discard block
 block discarded – undo
112 112
                 'eval'     => 'datetime',
113 113
                 'checkbox' => 0,
114 114
                 'default'  => 0,
115
-                'range'    => array(
115
+                'range'    => array (
116 116
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
117 117
                 ),
118 118
             ),
119 119
         ),
120
-        'endtime'                  => array(
120
+        'endtime'                  => array (
121 121
             'exclude'   => 1,
122 122
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
123
-            'config'    => array(
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
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.name',
140
-            'config'    => array(
140
+            'config'    => array (
141 141
                 'type' => 'input',
142 142
                 'size' => 30,
143 143
                 'eval' => 'trim,uniqueInPid',
144 144
             ),
145 145
         ),
146
-        'display_name'             => array(
146
+        'display_name'             => array (
147 147
             'exclude' => 1,
148 148
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.display_name',
149
-            'config'  => array(
149
+            'config'  => array (
150 150
                 'type' => 'input',
151 151
                 'size' => 30,
152 152
                 'eval' => 'trim',
153 153
             ),
154 154
         ),
155
-        'mandatory'                => array(
155
+        'mandatory'                => array (
156 156
             'exclude'   => 1,
157 157
             'l10n_mode' => 'exclude',
158 158
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory',
159
-            'config'    => array(
159
+            'config'    => array (
160 160
                 'type' => 'select',
161 161
                 'renderType' => 'selectSingle',
162 162
                 'size' => 1,
163 163
                 'maxitems' => 1,
164
-                'items' => array(
165
-                    array('',''),
166
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY),
167
-                    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),
164
+                'items' => array (
165
+                    array ('', ''),
166
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY),
167
+                    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),
168 168
                 ),
169 169
             ),
170 170
         ),
171
-        'mapping_for_reading'      => array(
171
+        'mapping_for_reading'      => array (
172 172
             'exclude'   => 1,
173 173
             'l10n_mode' => 'exclude',
174 174
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mapping_for_reading',
175 175
             'displayCond' => 'FIELD:group_type:!IN:file',
176
-            'config'    => array(
176
+            'config'    => array (
177 177
                 'type' => 'input',
178 178
                 'size' => 30,
179 179
                 'eval' => 'trim',
180 180
             ),
181 181
         ),
182
-        'mapping'                  => array(
182
+        'mapping'                  => array (
183 183
             'exclude'   => 1,
184 184
             'l10n_mode' => 'exclude',
185 185
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mapping',
186 186
            // 'displayCond' => 'FIELD:group_type:!IN:file',
187
-            'config'    => array(
187
+            'config'    => array (
188 188
                 'type' => 'input',
189 189
                 'size' => 30,
190 190
                 'eval' => 'trim',
191 191
             ),
192 192
         ),
193
-        'mods_extension_mapping'   => array(
193
+        'mods_extension_mapping'   => array (
194 194
             'exclude'   => 1,
195 195
             'l10n_mode' => 'exclude',
196 196
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mods_extension_mapping',
197 197
             'displayCond' => 'FIELD:group_type:!IN:file',
198
-            'config'    => array(
198
+            'config'    => array (
199 199
                 'type' => 'input',
200 200
                 'size' => 30,
201 201
                 'eval' => 'trim',
202 202
             ),
203 203
         ),
204
-        'mods_extension_reference' => array(
204
+        'mods_extension_reference' => array (
205 205
             'exclude'   => 1,
206 206
             'l10n_mode' => 'exclude',
207 207
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mods_extension_reference',
208 208
             'displayCond' => 'FIELD:group_type:!IN:file',
209
-            'config'    => array(
209
+            'config'    => array (
210 210
                 'type' => 'input',
211 211
                 'size' => 30,
212 212
                 'eval' => 'trim',
213 213
             ),
214 214
         ),
215
-        'json_mapping'                  => array(
215
+        'json_mapping'                  => array (
216 216
             'exclude'   => 1,
217 217
             'l10n_mode' => 'exclude',
218 218
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.json_mapping',
219 219
             'displayCond' => 'FIELD:group_type:!IN:file',
220
-            'config'    => array(
220
+            'config'    => array (
221 221
                 'type' => 'input',
222 222
                 'size' => 30,
223 223
                 'eval' => 'trim',
224 224
             ),
225 225
         ),
226
-        'max_iteration'            => array(
226
+        'max_iteration'            => 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_metadatagroup.max_iteration',
230
-            'config'    => array(
230
+            'config'    => array (
231 231
                 'type' => 'input',
232 232
                 'size' => 4,
233 233
                 'eval' => 'int',
234 234
             ),
235 235
         ),
236
-        'access_restriction_roles' => array(
236
+        'access_restriction_roles' => array (
237 237
             'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.access_restriction_roles',
238
-            'config' => array(
238
+            'config' => array (
239 239
                 'type' => 'select',
240 240
                 'renderType' => 'selectMultipleSideBySide',
241 241
                 'size' => 2,
242 242
                 'maxitems' => 2,
243
-                'items' => array(
244
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
245
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
243
+                'items' => array (
244
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
245
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
246 246
                 ),
247 247
             ),
248 248
         ),
249
-        'info_text'                => array(
249
+        'info_text'                => array (
250 250
             'exclude' => 1,
251 251
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.info_text',
252
-            'config'  => array(
252
+            'config'  => array (
253 253
                 'type' => 'text',
254 254
                 'cols' => 40,
255 255
                 'rows' => 15,
@@ -257,24 +257,24 @@  discard block
 block discarded – undo
257 257
                 'enableRichtext' => true,
258 258
             ),
259 259
         ),
260
-        'metadata_object'          => array(
260
+        'metadata_object'          => array (
261 261
             'exclude'   => 1,
262 262
             'l10n_mode' => 'exclude',
263 263
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.metadata_object',
264
-            'config'    => array(
264
+            'config'    => array (
265 265
                 'type'           => 'inline',
266 266
                 'foreign_table'  => 'tx_dpf_domain_model_metadataobject',
267 267
                 'foreign_field'  => 'metadatagroup',
268 268
                 'foreign_label'  => 'display_name',
269 269
                 'foreign_sortby' => 'sorting',
270
-                'behaviour'      => array(
270
+                'behaviour'      => array (
271 271
                     'disableMovingChildrenWithParent' => 1,
272 272
                 ),
273 273
                 'size'           => 10,
274 274
                 'autoSizeMax'    => 30,
275 275
                 'maxitems'       => 9999,
276 276
                 'multiple'       => 0,
277
-                'appearance'     => array(
277
+                'appearance'     => array (
278 278
                     'collapseAll'                     => 1,
279 279
                     'levelLinksPosition'              => 'top',
280 280
                     'showSynchronizationLink'         => 1,
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_client.php 1 patch
Spacing   +242 added lines, -242 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@  discard block
 block discarded – undo
15 15
 if (!defined('TYPO3_MODE')) {
16 16
     die('Access denied.');
17 17
 }
18
-return array(
19
-    'ctrl' => array(
18
+return array (
19
+    'ctrl' => array (
20 20
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client',
21 21
         'label'                    => 'project',
22 22
         'tstamp'                   => 'tstamp',
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         'transOrigPointerField'    => 'l10n_parent',
28 28
         'transOrigDiffSourceField' => 'l10n_diffsource',
29 29
         'delete'                   => 'deleted',
30
-        'enablecolumns'            => array(
30
+        'enablecolumns'            => array (
31 31
             'disabled'  => 'hidden',
32 32
             'starttime' => 'starttime',
33 33
             'endtime'   => 'endtime',
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             validation_xpath, fis_id_xpath, source_details_xpaths',
62 62
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
63 63
     ),
64
-    'interface' => array(
64
+    'interface' => array (
65 65
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, client, owner_id,
66 66
         network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace,
67 67
         sword_host, sword_user, sword_password, sword_collection_namespace, fedora_host, fedora_user, fedora_password,
@@ -90,8 +90,8 @@  discard block
 block discarded – undo
90 90
         person_author_role, person_publisher_role,
91 91
         validation_xpath, fis_id_xpath, source_details_xpaths'
92 92
     ),
93
-    'types'     => array(
94
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1,
93
+    'types'     => array (
94
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1,
95 95
         client, owner_id, network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace,
96 96
         --div--;Static XML, namespaces, file_xpath,  file_id_xpath, file_mimetype_xpath,
97 97
         file_href_xpath, file_download_xpath, file_archive_xpath, file_deleted_xpath ,file_title_xpath,
@@ -116,64 +116,64 @@  discard block
 block discarded – undo
116 116
         --div--;Default internal format XSLT, input_transformation, output_transformation,  elastic_search_transformation,
117 117
         --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
118 118
     ),
119
-    'palettes'  => array(
120
-        '1' => array('showitem' => ''),
119
+    'palettes'  => array (
120
+        '1' => array ('showitem' => ''),
121 121
     ),
122
-    'columns'   => array(
123
-        'sys_language_uid'   => array(
122
+    'columns'   => array (
123
+        'sys_language_uid'   => array (
124 124
             'exclude' => 1,
125 125
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
126
-            'config'  => array(
126
+            'config'  => array (
127 127
                 'type'                => 'select',
128 128
                 'renderType'          => 'selectSingle',
129 129
                 'foreign_table'       => 'sys_language',
130 130
                 'foreign_table_where' => 'ORDER BY sys_language.title',
131
-                'items'               => array(
132
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
133
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
131
+                'items'               => array (
132
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
133
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
134 134
                 ),
135 135
                 'default' => 0,
136 136
             ),
137 137
         ),
138
-        'l10n_parent'        => array(
138
+        'l10n_parent'        => array (
139 139
             'displayCond' => 'FIELD:sys_language_uid:>:0',
140 140
             'exclude'     => 1,
141 141
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
142
-            'config'      => array(
142
+            'config'      => array (
143 143
                 'type'                => 'select',
144 144
                 'renderType'          => 'selectSingle',
145
-                'items'               => array(
146
-                    array('', 0),
145
+                'items'               => array (
146
+                    array ('', 0),
147 147
                 ),
148 148
                 'foreign_table'       => 'tx_dpf_domain_model_client',
149 149
                 'foreign_table_where' => 'AND tx_dpf_domain_model_client.pid=###CURRENT_PID### AND tx_dpf_domain_model_client.sys_language_uid IN (-1,0)',
150 150
             ),
151 151
         ),
152
-        'l10n_diffsource'    => array(
153
-            'config' => array(
152
+        'l10n_diffsource'    => array (
153
+            'config' => array (
154 154
                 'type' => 'passthrough',
155 155
             ),
156 156
         ),
157
-        't3ver_label'        => array(
157
+        't3ver_label'        => array (
158 158
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
159
-            'config' => array(
159
+            'config' => array (
160 160
                 'type' => 'input',
161 161
                 'size' => 30,
162 162
                 'max'  => 255,
163 163
             ),
164 164
         ),
165
-        'hidden'             => array(
165
+        'hidden'             => array (
166 166
             'exclude' => 1,
167 167
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
168
-            'config'  => array(
168
+            'config'  => array (
169 169
                 'type' => 'check',
170 170
             ),
171 171
         ),
172
-        'starttime'          => array(
172
+        'starttime'          => array (
173 173
             'exclude'   => 1,
174 174
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
175
-            'config'    => array(
176
-                'behaviour' => array(
175
+            'config'    => array (
176
+                'behaviour' => array (
177 177
                     'allowLanguageSynchronization' => true
178 178
                 ),
179 179
                 'type'     => 'input',
@@ -182,16 +182,16 @@  discard block
 block discarded – undo
182 182
                 'eval'     => 'datetime',
183 183
                 'checkbox' => 0,
184 184
                 'default'  => 0,
185
-                'range'    => array(
185
+                'range'    => array (
186 186
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
187 187
                 ),
188 188
             ),
189 189
         ),
190
-        'endtime'            => array(
190
+        'endtime'            => array (
191 191
             'exclude'   => 1,
192 192
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
193
-            'config'    => array(
194
-                'behaviour' => array(
193
+            'config'    => array (
194
+                'behaviour' => array (
195 195
                     'allowLanguageSynchronization' => true
196 196
                 ),
197 197
                 'type'     => 'input',
@@ -200,238 +200,238 @@  discard block
 block discarded – undo
200 200
                 'eval'     => 'datetime',
201 201
                 'checkbox' => 0,
202 202
                 'default'  => 0,
203
-                'range'    => array(
203
+                'range'    => array (
204 204
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
205 205
                 ),
206 206
             ),
207 207
         ),
208
-        'project'            => array(
208
+        'project'            => array (
209 209
             'exclude'   => 1,
210 210
             'l10n_mode' => 'exclude',
211 211
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.project',
212
-            'config'    => array(
212
+            'config'    => array (
213 213
                 'type' => 'input',
214 214
                 'size' => 30,
215 215
                 'eval' => 'trim',
216 216
             ),
217 217
         ),
218
-        'client'             => array(
218
+        'client'             => array (
219 219
             'exclude'      => 1,
220 220
             'l10n_mode'    => 'exclude',
221 221
             'l10n_display' => 'defaultAsReadonly',
222 222
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.client',
223
-            'config'       => array(
223
+            'config'       => array (
224 224
                 'type' => 'input',
225 225
                 'size' => 30,
226 226
                 'eval' => 'trim',
227 227
             ),
228 228
         ),
229
-        'network_initial'    => array(
229
+        'network_initial'    => array (
230 230
             'exclude'   => 1,
231 231
             'l10n_mode' => 'exclude',
232 232
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.network_initial',
233
-            'config'    => array(
233
+            'config'    => array (
234 234
                 'type' => 'input',
235 235
                 'size' => 30,
236 236
                 'eval' => 'trim',
237 237
             ),
238 238
         ),
239
-        'library_identifier' => array(
239
+        'library_identifier' => 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_client.library_identifier',
243
-            'config'    => array(
243
+            'config'    => array (
244 244
                 'type' => 'input',
245 245
                 'size' => 30,
246 246
                 'eval' => 'trim',
247 247
             ),
248 248
         ),
249
-        'owner_id'           => array(
249
+        'owner_id'           => array (
250 250
             'exclude'   => 1,
251 251
             'l10n_mode' => 'exclude',
252 252
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.owner_id',
253
-            'config'    => array(
253
+            'config'    => array (
254 254
                 'type' => 'input',
255 255
                 'size' => 30,
256 256
                 'eval' => 'trim,required',
257 257
             ),
258 258
         ),
259
-        'admin_email'        => array(
259
+        'admin_email'        => array (
260 260
             'exclude'   => 1,
261 261
             'l10n_mode' => 'exclude',
262 262
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_email',
263
-            'config'    => array(
263
+            'config'    => array (
264 264
                 'type' => 'input',
265 265
                 'size' => 30,
266 266
                 'eval' => 'trim',
267 267
             ),
268 268
         ),
269
-        'replace_niss_part'  => array(
269
+        'replace_niss_part'  => array (
270 270
             'exclude'   => 1,
271 271
             'l10n_mode' => 'exclude',
272 272
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.replace_niss_part',
273
-            'config'    => array(
273
+            'config'    => array (
274 274
                 'type'    => 'check',
275 275
                 'default' => 0,
276 276
             ),
277 277
             'onChange' => 'reload',
278 278
         ),
279
-        'niss_part_search'   => array(
279
+        'niss_part_search'   => array (
280 280
             'exclude'     => 1,
281 281
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_search',
282 282
             'displayCond' => 'FIELD:replace_niss_part:=:1',
283
-            'config'      => array(
283
+            'config'      => array (
284 284
                 'type' => 'input',
285 285
                 'size' => 30,
286 286
                 'eval' => 'trim,required',
287 287
                 'default' => '',
288 288
             ),
289 289
         ),
290
-        'niss_part_replace'  => array(
290
+        'niss_part_replace'  => array (
291 291
             'exclude'     => 1,
292 292
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_replace',
293 293
             'displayCond' => 'FIELD:replace_niss_part:=:1',
294
-            'config'      => array(
294
+            'config'      => array (
295 295
                 'type' => 'input',
296 296
                 'size' => 30,
297 297
                 'eval' => 'trim,required',
298 298
                 'default' => '',
299 299
             ),
300 300
         ),
301
-        'sword_host' => array(
301
+        'sword_host' => array (
302 302
             'exclude'      => 1,
303 303
             'l10n_mode'    => 'exclude',
304 304
             'l10n_display' => 'defaultAsReadonly',
305 305
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_host',
306
-            'config'       => array(
306
+            'config'       => array (
307 307
                 'type' => 'input',
308 308
                 'size' => 30,
309 309
                 'eval' => 'trim',
310 310
             ),
311 311
         ),
312
-        'sword_user' => array(
312
+        'sword_user' => array (
313 313
             'exclude'      => 1,
314 314
             'l10n_mode'    => 'exclude',
315 315
             'l10n_display' => 'defaultAsReadonly',
316 316
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_user',
317
-            'config'       => array(
317
+            'config'       => array (
318 318
                 'type' => 'input',
319 319
                 'size' => 30,
320 320
                 'eval' => 'trim',
321 321
             ),
322 322
         ),
323
-        'sword_password' => array(
323
+        'sword_password' => array (
324 324
             'exclude'      => 1,
325 325
             'l10n_mode'    => 'exclude',
326 326
             'l10n_display' => 'defaultAsReadonly',
327 327
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_password',
328
-            'config'       => array(
328
+            'config'       => array (
329 329
                 'type' => 'input',
330 330
                 'size' => 30,
331 331
                 'eval' => 'trim',
332 332
             ),
333 333
         ),
334
-        'sword_collection_namespace' => array(
334
+        'sword_collection_namespace' => array (
335 335
             'exclude'      => 1,
336 336
             'l10n_mode'    => 'exclude',
337 337
             'l10n_display' => 'defaultAsReadonly',
338 338
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_collection_namespace',
339
-            'config'       => array(
339
+            'config'       => array (
340 340
                 'type' => 'input',
341 341
                 'size' => 30,
342 342
                 'eval' => 'trim',
343 343
             ),
344 344
         ),
345
-        'fedora_host' => array(
345
+        'fedora_host' => array (
346 346
             'exclude'      => 1,
347 347
             'l10n_mode'    => 'exclude',
348 348
             'l10n_display' => 'defaultAsReadonly',
349 349
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_host',
350
-            'config'       => array(
350
+            'config'       => array (
351 351
                 'type' => 'input',
352 352
                 'size' => 30,
353 353
                 'eval' => 'trim',
354 354
             ),
355 355
         ),
356
-        'fedora_user' => array(
356
+        'fedora_user' => array (
357 357
             'exclude'      => 1,
358 358
             'l10n_mode'    => 'exclude',
359 359
             'l10n_display' => 'defaultAsReadonly',
360 360
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_user',
361
-            'config'       => array(
361
+            'config'       => array (
362 362
                 'type' => 'input',
363 363
                 'size' => 30,
364 364
                 'eval' => 'trim',
365 365
             ),
366 366
         ),
367
-        'fedora_password' => array(
367
+        'fedora_password' => array (
368 368
             'exclude'      => 1,
369 369
             'l10n_mode'    => 'exclude',
370 370
             'l10n_display' => 'defaultAsReadonly',
371 371
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_password',
372
-            'config'       => array(
372
+            'config'       => array (
373 373
                 'type' => 'input',
374 374
                 'size' => 30,
375 375
                 'eval' => 'trim',
376 376
             ),
377 377
         ),
378
-        'elastic_search_host' => array(
378
+        'elastic_search_host' => array (
379 379
             'exclude'      => 1,
380 380
             'l10n_mode'    => 'exclude',
381 381
             'l10n_display' => 'defaultAsReadonly',
382 382
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_host',
383
-            'config'       => array(
383
+            'config'       => array (
384 384
                 'type' => 'input',
385 385
                 'size' => 30,
386 386
                 'eval' => 'trim',
387 387
             ),
388 388
         ),
389
-        'elastic_search_port' => array(
389
+        'elastic_search_port' => array (
390 390
             'exclude'      => 1,
391 391
             'l10n_mode'    => 'exclude',
392 392
             'l10n_display' => 'defaultAsReadonly',
393 393
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_port',
394
-            'config'       => array(
394
+            'config'       => array (
395 395
                 'type' => 'input',
396 396
                 'size' => 30,
397 397
                 'eval' => 'trim',
398 398
             ),
399 399
         ),
400
-        'upload_directory' => array(
400
+        'upload_directory' => array (
401 401
             'exclude'      => 1,
402 402
             'l10n_mode'    => 'exclude',
403 403
             'l10n_display' => 'defaultAsReadonly',
404 404
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_directory',
405
-            'config'       => array(
405
+            'config'       => array (
406 406
                 'type' => 'input',
407 407
                 'size' => 30,
408 408
                 'eval' => 'trim',
409 409
             ),
410 410
         ),
411
-        'upload_domain' => array(
411
+        'upload_domain' => array (
412 412
             'exclude'      => 1,
413 413
             'l10n_mode'    => 'exclude',
414 414
             'l10n_display' => 'defaultAsReadonly',
415 415
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_domain',
416
-            'config'       => array(
416
+            'config'       => array (
417 417
                 'type' => 'input',
418 418
                 'size' => 30,
419 419
                 'eval' => 'trim',
420 420
             ),
421 421
         ),
422
-        'admin_new_document_notification_subject' => array(
422
+        'admin_new_document_notification_subject' => array (
423 423
             'exclude' => 1,
424 424
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_subject',
425
-            'config'  => array(
425
+            'config'  => array (
426 426
                 'type' => 'input',
427 427
                 'size' => 50,
428 428
                 'eval' => 'trim',
429 429
             ),
430 430
         ),
431
-        'admin_new_document_notification_body' => array(
431
+        'admin_new_document_notification_body' => array (
432 432
             'exclude' => 1,
433 433
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_body',
434
-            'config'  => array(
434
+            'config'  => array (
435 435
                 'type' => 'text',
436 436
                 'cols' => 40,
437 437
                 'rows' => 15,
@@ -439,19 +439,19 @@  discard block
 block discarded – undo
439 439
                 'enableRichtext' => true,
440 440
             ),
441 441
         ),
442
-        'admin_register_document_notification_subject' => array(
442
+        'admin_register_document_notification_subject' => array (
443 443
             'exclude' => 1,
444 444
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_subject',
445
-            'config'  => array(
445
+            'config'  => array (
446 446
                 'type' => 'input',
447 447
                 'size' => 50,
448 448
                 'eval' => 'trim',
449 449
             ),
450 450
         ),
451
-        'admin_register_document_notification_body' => array(
451
+        'admin_register_document_notification_body' => array (
452 452
             'exclude' => 1,
453 453
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_body',
454
-            'config'  => array(
454
+            'config'  => array (
455 455
                 'type' => 'text',
456 456
                 'cols' => 40,
457 457
                 'rows' => 15,
@@ -459,19 +459,19 @@  discard block
 block discarded – undo
459 459
                 'enableRichtext' => true,
460 460
             ),
461 461
         ),
462
-        'submitter_new_document_notification_subject' => array(
462
+        'submitter_new_document_notification_subject' => array (
463 463
             'exclude' => 1,
464 464
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_subject',
465
-            'config'  => array(
465
+            'config'  => array (
466 466
                 'type' => 'input',
467 467
                 'size' => 50,
468 468
                 'eval' => 'trim',
469 469
             ),
470 470
         ),
471
-        'submitter_new_document_notification_body' => array(
471
+        'submitter_new_document_notification_body' => array (
472 472
             'exclude' => 1,
473 473
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_body',
474
-            'config'  => array(
474
+            'config'  => array (
475 475
                 'type' => 'text',
476 476
                 'cols' => 40,
477 477
                 'rows' => 15,
@@ -479,19 +479,19 @@  discard block
 block discarded – undo
479 479
                 'enableRichtext' => true,
480 480
             ),
481 481
         ),
482
-        'submitter_ingest_notification_subject' => array(
482
+        'submitter_ingest_notification_subject' => array (
483 483
             'exclude' => 1,
484 484
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_subject',
485
-            'config'  => array(
485
+            'config'  => array (
486 486
                 'type' => 'input',
487 487
                 'size' => 50,
488 488
                 'eval' => 'trim',
489 489
             ),
490 490
         ),
491
-        'submitter_ingest_notification_body' => array(
491
+        'submitter_ingest_notification_body' => array (
492 492
             'exclude' => 1,
493 493
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_body',
494
-            'config'  => array(
494
+            'config'  => array (
495 495
                 'type' => 'text',
496 496
                 'cols' => 40,
497 497
                 'rows' => 15,
@@ -499,19 +499,19 @@  discard block
 block discarded – undo
499 499
                 'enableRichtext' => true,
500 500
             ),
501 501
         ),
502
-        'admin_new_suggestion_subject' => array(
502
+        'admin_new_suggestion_subject' => array (
503 503
             'exclude' => 1,
504 504
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_subject',
505
-            'config'  => array(
505
+            'config'  => array (
506 506
                 'type' => 'input',
507 507
                 'size' => 50,
508 508
                 'eval' => 'trim',
509 509
             ),
510 510
         ),
511
-        'admin_new_suggestion_body' => array(
511
+        'admin_new_suggestion_body' => array (
512 512
             'exclude' => 1,
513 513
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_body',
514
-            'config'  => array(
514
+            'config'  => array (
515 515
                 'type' => 'text',
516 516
                 'cols' => 40,
517 517
                 'rows' => 15,
@@ -519,19 +519,19 @@  discard block
 block discarded – undo
519 519
                 'enableRichtext' => true,
520 520
             ),
521 521
         ),
522
-        'admin_embargo_subject' => array(
522
+        'admin_embargo_subject' => array (
523 523
             'exclude' => 1,
524 524
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_subject',
525
-            'config'  => array(
525
+            'config'  => array (
526 526
                 'type' => 'input',
527 527
                 'size' => 50,
528 528
                 'eval' => 'trim',
529 529
             ),
530 530
         ),
531
-        'admin_embargo_body' => array(
531
+        'admin_embargo_body' => array (
532 532
             'exclude' => 1,
533 533
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_body',
534
-            'config'  => array(
534
+            'config'  => array (
535 535
                 'type' => 'text',
536 536
                 'cols' => 40,
537 537
                 'rows' => 15,
@@ -539,448 +539,448 @@  discard block
 block discarded – undo
539 539
                 'enableRichtext' => true,
540 540
             ),
541 541
         ),
542
-        'suggestion_flashmessage' => array(
542
+        'suggestion_flashmessage' => array (
543 543
             'exclude' => 1,
544 544
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.suggestion_flashmessage',
545
-            'config'  => array(
545
+            'config'  => array (
546 546
                 'type' => 'input',
547 547
                 'size' => 50,
548 548
                 'eval' => 'trim',
549 549
             ),
550 550
         ),
551
-        'file_xpath' => array(
551
+        'file_xpath' => array (
552 552
             'exclude'   => 1,
553 553
             'l10n_mode' => 'exclude',
554 554
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_xpath',
555
-            'config'    => array(
555
+            'config'    => array (
556 556
                 'type' => 'input',
557 557
                 'size' => 80,
558 558
                 'eval' => 'trim',
559 559
             ),
560 560
         ),
561
-        'file_id_xpath' => array(
561
+        'file_id_xpath' => array (
562 562
             'exclude'   => 1,
563 563
             'l10n_mode' => 'exclude',
564 564
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_id_xpath',
565
-            'config'    => array(
565
+            'config'    => array (
566 566
                 'type' => 'input',
567 567
                 'size' => 80,
568 568
                 'eval' => 'trim',
569 569
             ),
570 570
         ),
571
-        'file_mimetype_xpath' => array(
571
+        'file_mimetype_xpath' => array (
572 572
             'exclude'   => 1,
573 573
             'l10n_mode' => 'exclude',
574 574
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_mimetype_xpath',
575
-            'config'    => array(
575
+            'config'    => array (
576 576
                 'type' => 'input',
577 577
                 'size' => 80,
578 578
                 'eval' => 'trim',
579 579
             ),
580 580
         ),
581
-        'file_href_xpath' => array(
581
+        'file_href_xpath' => array (
582 582
             'exclude'   => 1,
583 583
             'l10n_mode' => 'exclude',
584 584
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_href_xpath',
585
-            'config'    => array(
585
+            'config'    => array (
586 586
                 'type' => 'input',
587 587
                 'size' => 80,
588 588
                 'eval' => 'trim',
589 589
             ),
590 590
         ),
591
-        'file_download_xpath' => array(
591
+        'file_download_xpath' => array (
592 592
             'exclude'   => 1,
593 593
             'l10n_mode' => 'exclude',
594 594
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_download_xpath',
595
-            'config'    => array(
595
+            'config'    => array (
596 596
                 'type' => 'input',
597 597
                 'size' => 80,
598 598
                 'eval' => 'trim',
599 599
             ),
600 600
         ),
601
-        'file_archive_xpath' => array(
601
+        'file_archive_xpath' => array (
602 602
             'exclude'   => 1,
603 603
             'l10n_mode' => 'exclude',
604 604
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_archive_xpath',
605
-            'config'    => array(
605
+            'config'    => array (
606 606
                 'type' => 'input',
607 607
                 'size' => 80,
608 608
                 'eval' => 'trim',
609 609
             ),
610 610
         ),
611
-        'file_deleted_xpath' => array(
611
+        'file_deleted_xpath' => array (
612 612
             'exclude'   => 1,
613 613
             'l10n_mode' => 'exclude',
614 614
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_deleted_xpath',
615
-            'config'    => array(
615
+            'config'    => array (
616 616
                 'type' => 'input',
617 617
                 'size' => 80,
618 618
                 'eval' => 'trim',
619 619
             ),
620 620
         ),
621
-        'file_title_xpath' => array(
621
+        'file_title_xpath' => array (
622 622
             'exclude'   => 1,
623 623
             'l10n_mode' => 'exclude',
624 624
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_title_xpath',
625
-            'config'    => array(
625
+            'config'    => array (
626 626
                 'type' => 'input',
627 627
                 'size' => 80,
628 628
                 'eval' => 'trim',
629 629
             ),
630 630
         ),
631
-        'state_xpath' => array(
631
+        'state_xpath' => array (
632 632
             'exclude'   => 1,
633 633
             'l10n_mode' => 'exclude',
634 634
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.state_xpath',
635
-            'config'    => array(
635
+            'config'    => array (
636 636
                 'type' => 'input',
637 637
                 'size' => 80,
638 638
                 'eval' => 'trim',
639 639
             ),
640 640
         ),
641
-        'type_xpath' => array(
641
+        'type_xpath' => array (
642 642
             'exclude'   => 1,
643 643
             'l10n_mode' => 'exclude',
644 644
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.type_xpath',
645
-            'config'    => array(
645
+            'config'    => array (
646 646
                 'type' => 'input',
647 647
                 'size' => 80,
648 648
                 'eval' => 'trim',
649 649
             ),
650 650
         ),
651
-        'type_xpath_input' => array(
651
+        'type_xpath_input' => array (
652 652
             'exclude'   => 1,
653 653
             'l10n_mode' => 'exclude',
654 654
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.type_xpath_input',
655
-            'config'    => array(
655
+            'config'    => array (
656 656
                 'type' => 'input',
657 657
                 'size' => 80,
658 658
                 'eval' => 'trim',
659 659
             ),
660 660
         ),
661
-        'date_xpath' => array(
661
+        'date_xpath' => array (
662 662
             'exclude'   => 1,
663 663
             'l10n_mode' => 'exclude',
664 664
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.date_xpath',
665
-            'config'    => array(
665
+            'config'    => array (
666 666
                 'type' => 'input',
667 667
                 'size' => 80,
668 668
                 'eval' => 'trim',
669 669
             ),
670 670
         ),
671
-        'publishing_year_xpath' => array(
671
+        'publishing_year_xpath' => array (
672 672
             'exclude'   => 1,
673 673
             'l10n_mode' => 'exclude',
674 674
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.publishing_year_xpath',
675
-            'config'    => array(
675
+            'config'    => array (
676 676
                 'type' => 'input',
677 677
                 'size' => 80,
678 678
                 'eval' => 'trim',
679 679
             ),
680 680
         ),
681
-        'urn_xpath' => array(
681
+        'urn_xpath' => array (
682 682
             'exclude'   => 1,
683 683
             'l10n_mode' => 'exclude',
684 684
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.urn_xpath',
685
-            'config'    => array(
685
+            'config'    => array (
686 686
                 'type' => 'input',
687 687
                 'size' => 80,
688 688
                 'eval' => 'trim',
689 689
             ),
690 690
         ),
691
-        'primary_urn_xpath' => array(
691
+        'primary_urn_xpath' => array (
692 692
             'exclude'   => 1,
693 693
             'l10n_mode' => 'exclude',
694 694
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.primary_urn_xpath',
695
-            'config'    => array(
695
+            'config'    => array (
696 696
                 'type' => 'input',
697 697
                 'size' => 80,
698 698
                 'eval' => 'trim',
699 699
             ),
700 700
         ),
701
-        'namespaces' => array(
701
+        'namespaces' => array (
702 702
             'exclude'   => 1,
703 703
             'l10n_mode' => 'exclude',
704 704
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.namespaces',
705
-            'config'    => array(
705
+            'config'    => array (
706 706
                 'type' => 'input',
707 707
                 'size' => 80,
708 708
                 'eval' => 'trim',
709 709
             ),
710 710
         ),
711
-        'title_xpath' => array(
711
+        'title_xpath' => array (
712 712
             'exclude'   => 1,
713 713
             'l10n_mode' => 'exclude',
714 714
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.title_xpath',
715
-            'config'    => array(
715
+            'config'    => array (
716 716
                 'type' => 'input',
717 717
                 'size' => 30,
718 718
                 'eval' => 'trim',
719 719
             ),
720 720
         ),
721
-        'process_number_xpath' => array(
721
+        'process_number_xpath' => array (
722 722
             'exclude'   => 1,
723 723
             'l10n_mode' => 'exclude',
724 724
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.process_number_xpath',
725
-            'config'    => array(
725
+            'config'    => array (
726 726
                 'type' => 'input',
727 727
                 'size' => 80,
728 728
                 'eval' => 'trim',
729 729
             ),
730 730
         ),
731
-        'submitter_name_xpath' => array(
731
+        'submitter_name_xpath' => array (
732 732
             'exclude'   => 1,
733 733
             'l10n_mode' => 'exclude',
734 734
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_name',
735
-            'config'    => array(
735
+            'config'    => array (
736 736
                 'type' => 'input',
737 737
                 'size' => 80,
738 738
                 'eval' => 'trim',
739 739
             ),
740 740
         ),
741
-        'submitter_email_xpath' => array(
741
+        'submitter_email_xpath' => array (
742 742
             'exclude'   => 1,
743 743
             'l10n_mode' => 'exclude',
744 744
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_email',
745
-            'config'    => array(
745
+            'config'    => array (
746 746
                 'type' => 'input',
747 747
                 'size' => 80,
748 748
                 'eval' => 'trim',
749 749
             ),
750 750
         ),
751
-        'submitter_notice_xpath' => array(
751
+        'submitter_notice_xpath' => array (
752 752
             'exclude'   => 1,
753 753
             'l10n_mode' => 'exclude',
754 754
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_notice',
755
-            'config'    => array(
755
+            'config'    => array (
756 756
                 'type' => 'input',
757 757
                 'size' => 80,
758 758
                 'eval' => 'trim',
759 759
             ),
760 760
         ),
761
-        'original_source_title_xpath' => array(
761
+        'original_source_title_xpath' => array (
762 762
             'exclude'   => 1,
763 763
             'l10n_mode' => 'exclude',
764 764
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.original_source_title_xpath',
765
-            'config'    => array(
765
+            'config'    => array (
766 766
                 'type' => 'input',
767 767
                 'size' => 80,
768 768
                 'eval' => 'trim',
769 769
             ),
770 770
         ),
771
-        'creator_xpath' => array(
771
+        'creator_xpath' => array (
772 772
             'exclude'   => 1,
773 773
             'l10n_mode' => 'exclude',
774 774
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.creator_xpath',
775
-            'config'    => array(
775
+            'config'    => array (
776 776
                 'type' => 'input',
777 777
                 'size' => 80,
778 778
                 'eval' => 'trim',
779 779
             ),
780 780
         ),
781
-        'creation_date_xpath' => array(
781
+        'creation_date_xpath' => array (
782 782
             'exclude'   => 1,
783 783
             'l10n_mode' => 'exclude',
784 784
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.creation_date_xpath',
785
-            'config'    => array(
785
+            'config'    => array (
786 786
                 'type' => 'input',
787 787
                 'size' => 80,
788 788
                 'eval' => 'trim',
789 789
             ),
790 790
         ),
791 791
 
792
-        'repository_creation_date_xpath' => array(
792
+        'repository_creation_date_xpath' => array (
793 793
             'exclude'   => 1,
794 794
             'l10n_mode' => 'exclude',
795 795
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.repository_creation_date_xpath',
796
-            'config'    => array(
796
+            'config'    => array (
797 797
                 'type' => 'input',
798 798
                 'size' => 80,
799 799
                 'eval' => 'trim',
800 800
             ),
801 801
         ),
802
-        'repository_last_mod_date_xpath' => array(
802
+        'repository_last_mod_date_xpath' => array (
803 803
             'exclude'   => 1,
804 804
             'l10n_mode' => 'exclude',
805 805
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.repository_last_mod_date_xpath',
806
-            'config'    => array(
806
+            'config'    => array (
807 807
                 'type' => 'input',
808 808
                 'size' => 80,
809 809
                 'eval' => 'trim',
810 810
             ),
811 811
         ),
812
-        'deposit_license_xpath' => array(
812
+        'deposit_license_xpath' => array (
813 813
             'exclude'   => 1,
814 814
             'l10n_mode' => 'exclude',
815 815
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.deposit_license_xpath',
816
-            'config'    => array(
816
+            'config'    => array (
817 817
                 'type' => 'input',
818 818
                 'size' => 80,
819 819
                 'eval' => 'trim',
820 820
             ),
821 821
         ),
822
-        'all_notes_xpath' => array(
822
+        'all_notes_xpath' => array (
823 823
             'exclude'   => 1,
824 824
             'l10n_mode' => 'exclude',
825 825
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.all_notes_xpath',
826
-            'config'    => array(
826
+            'config'    => array (
827 827
                 'type' => 'input',
828 828
                 'size' => 80,
829 829
                 'eval' => 'trim',
830 830
             ),
831 831
         ),
832
-        'private_notes_xpath' => array(
832
+        'private_notes_xpath' => array (
833 833
             'exclude'   => 1,
834 834
             'l10n_mode' => 'exclude',
835 835
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.private_notes_xpath',
836
-            'config'    => array(
836
+            'config'    => array (
837 837
                 'type' => 'input',
838 838
                 'size' => 80,
839 839
                 'eval' => 'trim',
840 840
             ),
841 841
         ),
842
-        'person_xpath' => array(
842
+        'person_xpath' => array (
843 843
             'exclude'   => 1,
844 844
             'l10n_mode' => 'exclude',
845 845
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_xpath',
846
-            'config'    => array(
846
+            'config'    => array (
847 847
                 'type' => 'input',
848 848
                 'size' => 80,
849 849
                 'eval' => 'trim',
850 850
             ),
851 851
         ),
852
-        'person_family_xpath' => array(
852
+        'person_family_xpath' => array (
853 853
             'exclude'   => 1,
854 854
             'l10n_mode' => 'exclude',
855 855
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_family_xpath',
856
-            'config'    => array(
856
+            'config'    => array (
857 857
                 'type' => 'input',
858 858
                 'size' => 80,
859 859
                 'eval' => 'trim',
860 860
             ),
861 861
         ),
862
-        'person_given_xpath' => array(
862
+        'person_given_xpath' => array (
863 863
             'exclude'   => 1,
864 864
             'l10n_mode' => 'exclude',
865 865
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_given_xpath',
866
-            'config'    => array(
866
+            'config'    => array (
867 867
                 'type' => 'input',
868 868
                 'size' => 80,
869 869
                 'eval' => 'trim',
870 870
             ),
871 871
         ),
872
-        'person_role_xpath' => array(
872
+        'person_role_xpath' => array (
873 873
             'exclude'   => 1,
874 874
             'l10n_mode' => 'exclude',
875 875
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_role_xpath',
876
-            'config'    => array(
876
+            'config'    => array (
877 877
                 'type' => 'input',
878 878
                 'size' => 80,
879 879
                 'eval' => 'trim',
880 880
             ),
881 881
         ),
882
-        'person_fis_identifier_xpath' => array(
882
+        'person_fis_identifier_xpath' => array (
883 883
             'exclude'   => 1,
884 884
             'l10n_mode' => 'exclude',
885 885
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_fis_identifier_xpath',
886
-            'config'    => array(
886
+            'config'    => array (
887 887
                 'type' => 'input',
888 888
                 'size' => 80,
889 889
                 'eval' => 'trim',
890 890
             ),
891 891
         ),
892
-        'person_affiliation_xpath' => array(
892
+        'person_affiliation_xpath' => array (
893 893
             'exclude'   => 1,
894 894
             'l10n_mode' => 'exclude',
895 895
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_affiliation_xpath',
896
-            'config'    => array(
896
+            'config'    => array (
897 897
                 'type' => 'input',
898 898
                 'size' => 80,
899 899
                 'eval' => 'trim',
900 900
             ),
901 901
         ),
902
-        'person_affiliation_identifier_xpath' => array(
902
+        'person_affiliation_identifier_xpath' => array (
903 903
             'exclude'   => 1,
904 904
             'l10n_mode' => 'exclude',
905 905
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_affiliation_identifier_xpath',
906
-            'config'    => array(
906
+            'config'    => array (
907 907
                 'type' => 'input',
908 908
                 'size' => 80,
909 909
                 'eval' => 'trim',
910 910
             ),
911 911
         ),
912
-        'person_author_role' => array(
912
+        'person_author_role' => array (
913 913
             'exclude'   => 1,
914 914
             'l10n_mode' => 'exclude',
915 915
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_author_role',
916
-            'config'    => array(
916
+            'config'    => array (
917 917
                 'type' => 'input',
918 918
                 'size' => 30,
919 919
                 'eval' => 'trim',
920 920
             ),
921 921
         ),
922
-        'person_publisher_role' => array(
922
+        'person_publisher_role' => array (
923 923
             'exclude'   => 1,
924 924
             'l10n_mode' => 'exclude',
925 925
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_publisher_role',
926
-            'config'    => array(
926
+            'config'    => array (
927 927
                 'type' => 'input',
928 928
                 'size' => 30,
929 929
                 'eval' => 'trim',
930 930
             ),
931 931
         ),
932
-        'validation_xpath' => array(
932
+        'validation_xpath' => array (
933 933
             'exclude'   => 1,
934 934
             'l10n_mode' => 'exclude',
935 935
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.validation_xpath',
936
-            'config'    => array(
936
+            'config'    => array (
937 937
                 'type' => 'input',
938 938
                 'size' => 80,
939 939
                 'eval' => 'trim',
940 940
             ),
941 941
         ),
942
-        'fis_id_xpath' => array(
942
+        'fis_id_xpath' => array (
943 943
             'exclude'   => 1,
944 944
             'l10n_mode' => 'exclude',
945 945
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fis_id_xpath',
946
-            'config'    => array(
946
+            'config'    => array (
947 947
                 'type' => 'input',
948 948
                 'size' => 80,
949 949
                 'eval' => 'trim',
950 950
             ),
951 951
         ),
952
-        'source_details_xpaths' => array(
952
+        'source_details_xpaths' => array (
953 953
             'exclude'   => 1,
954 954
             'l10n_mode' => 'exclude',
955 955
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.source_details_xpaths',
956
-            'config'    => array(
956
+            'config'    => array (
957 957
                 'type' => 'input',
958 958
                 'size' => 80,
959 959
                 'eval' => 'trim',
960 960
             ),
961 961
         ),
962
-        'mypublications_update_notification_subject' => array(
962
+        'mypublications_update_notification_subject' => array (
963 963
             'exclude' => 1,
964 964
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_update_notification_subject',
965
-            'config'  => array(
965
+            'config'  => array (
966 966
                 'type' => 'input',
967 967
                 'size' => 50,
968 968
                 'eval' => 'trim',
969 969
             ),
970 970
         ),
971
-        'admin_deposit_license_notification_subject' => array(
971
+        'admin_deposit_license_notification_subject' => array (
972 972
             'exclude' => 1,
973 973
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_deposit_license_notification_subject',
974
-            'config'  => array(
974
+            'config'  => array (
975 975
                 'type' => 'input',
976 976
                 'size' => 50,
977 977
                 'eval' => 'trim',
978 978
             ),
979 979
         ),
980
-        'mypublications_update_notification_body' => array(
980
+        'mypublications_update_notification_body' => array (
981 981
             'exclude' => 1,
982 982
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_update_notification_body',
983
-            'config'  => array(
983
+            'config'  => array (
984 984
                 'type' => 'text',
985 985
                 'cols' => 40,
986 986
                 'rows' => 15,
@@ -988,10 +988,10 @@  discard block
 block discarded – undo
988 988
                 'enableRichtext' => true,
989 989
             ),
990 990
         ),
991
-        'admin_deposit_license_notification_body' => array(
991
+        'admin_deposit_license_notification_body' => array (
992 992
             'exclude' => 1,
993 993
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_deposit_license_notification_body',
994
-            'config'  => array(
994
+            'config'  => array (
995 995
                 'type' => 'text',
996 996
                 'cols' => 40,
997 997
                 'rows' => 15,
@@ -999,19 +999,19 @@  discard block
 block discarded – undo
999 999
                 'enableRichtext' => true,
1000 1000
             ),
1001 1001
         ),
1002
-        'mypublications_new_notification_subject' => array(
1002
+        'mypublications_new_notification_subject' => array (
1003 1003
             'exclude' => 1,
1004 1004
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_new_notification_subject',
1005
-            'config'  => array(
1005
+            'config'  => array (
1006 1006
                 'type' => 'input',
1007 1007
                 'size' => 50,
1008 1008
                 'eval' => 'trim',
1009 1009
             ),
1010 1010
         ),
1011
-        'mypublications_new_notification_body' => array(
1011
+        'mypublications_new_notification_body' => array (
1012 1012
             'exclude' => 1,
1013 1013
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_new_notification_body',
1014
-            'config'  => array(
1014
+            'config'  => array (
1015 1015
                 'type' => 'text',
1016 1016
                 'cols' => 40,
1017 1017
                 'rows' => 15,
@@ -1024,8 +1024,8 @@  discard block
 block discarded – undo
1024 1024
             'l10n_mode' => 'exclude',
1025 1025
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.output_transformation',
1026 1026
             'config'    => [
1027
-                'items' => array(
1028
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1027
+                'items' => array (
1028
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1029 1029
                 ),
1030 1030
                 'type'           => 'select',
1031 1031
                 'renderType'     => 'selectSingle',
@@ -1040,8 +1040,8 @@  discard block
 block discarded – undo
1040 1040
             'l10n_mode' => 'exclude',
1041 1041
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.input_transformation',
1042 1042
             'config'    => [
1043
-                'items' => array(
1044
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1043
+                'items' => array (
1044
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1045 1045
                 ),
1046 1046
                 'type'           => 'select',
1047 1047
                 'renderType'     => 'selectSingle',
@@ -1056,8 +1056,8 @@  discard block
 block discarded – undo
1056 1056
             'l10n_mode' => 'exclude',
1057 1057
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_transformation',
1058 1058
             'config'    => [
1059
-                'items' => array(
1060
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1059
+                'items' => array (
1060
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1061 1061
                 ),
1062 1062
                 'type'           => 'select',
1063 1063
                 'renderType'     => 'selectSingle',
@@ -1067,13 +1067,13 @@  discard block
 block discarded – undo
1067 1067
                 'default' => 0,
1068 1068
             ],
1069 1069
         ],
1070
-        'crossref_transformation' => array(
1070
+        'crossref_transformation' => array (
1071 1071
             'exclude' => 1,
1072 1072
             'l10n_mode' => 'exclude',
1073 1073
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.crossref_transformation',
1074
-            'config'    => array(
1075
-                'items' => array(
1076
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1074
+            'config'    => array (
1075
+                'items' => array (
1076
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1077 1077
                 ),
1078 1078
                 'type'           => 'select',
1079 1079
                 'renderType'     => 'selectSingle',
@@ -1083,13 +1083,13 @@  discard block
 block discarded – undo
1083 1083
                 'default' => 0,
1084 1084
             ),
1085 1085
         ),
1086
-        'datacite_transformation' => array(
1086
+        'datacite_transformation' => array (
1087 1087
             'exclude' => 1,
1088 1088
             'l10n_mode' => 'exclude',
1089 1089
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.datacite_transformation',
1090
-            'config'    => array(
1091
-                'items' => array(
1092
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1090
+            'config'    => array (
1091
+                'items' => array (
1092
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1093 1093
                 ),
1094 1094
                 'type'           => 'select',
1095 1095
                 'renderType'     => 'selectSingle',
@@ -1099,13 +1099,13 @@  discard block
 block discarded – undo
1099 1099
                 'default' => 0,
1100 1100
             ),
1101 1101
         ),
1102
-        'k10plus_transformation' => array(
1102
+        'k10plus_transformation' => array (
1103 1103
             'exclude' => 1,
1104 1104
             'l10n_mode' => 'exclude',
1105 1105
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.k10plus_transformation',
1106
-            'config'    => array(
1107
-                'items' => array(
1108
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1106
+            'config'    => array (
1107
+                'items' => array (
1108
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1109 1109
                 ),
1110 1110
                 'type'           => 'select',
1111 1111
                 'renderType'     => 'selectSingle',
@@ -1115,13 +1115,13 @@  discard block
 block discarded – undo
1115 1115
                 'default' => 0,
1116 1116
             ),
1117 1117
         ),
1118
-        'pubmed_transformation' => array(
1118
+        'pubmed_transformation' => array (
1119 1119
             'exclude' => 1,
1120 1120
             'l10n_mode' => 'exclude',
1121 1121
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.pubmed_transformation',
1122
-            'config'    => array(
1123
-                'items' => array(
1124
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1122
+            'config'    => array (
1123
+                'items' => array (
1124
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1125 1125
                 ),
1126 1126
                 'type'           => 'select',
1127 1127
                 'renderType'     => 'selectSingle',
@@ -1131,13 +1131,13 @@  discard block
 block discarded – undo
1131 1131
                 'default' => 0,
1132 1132
             ),
1133 1133
         ),
1134
-        'bibtex_transformation' => array(
1134
+        'bibtex_transformation' => array (
1135 1135
             'exclude' => 1,
1136 1136
             'l10n_mode' => 'exclude',
1137 1137
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.bibtex_transformation',
1138
-            'config'    => array(
1139
-                'items' => array(
1140
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1138
+            'config'    => array (
1139
+                'items' => array (
1140
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1141 1141
                 ),
1142 1142
                 'type'           => 'select',
1143 1143
                 'renderType'     => 'selectSingle',
@@ -1147,13 +1147,13 @@  discard block
 block discarded – undo
1147 1147
                 'default' => 0,
1148 1148
             ),
1149 1149
         ),
1150
-        'riswos_transformation' => array(
1150
+        'riswos_transformation' => array (
1151 1151
             'exclude' => 1,
1152 1152
             'l10n_mode' => 'exclude',
1153 1153
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.riswos_transformation',
1154
-            'config'    => array(
1155
-                'items' => array(
1156
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1154
+            'config'    => array (
1155
+                'items' => array (
1156
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1157 1157
                 ),
1158 1158
                 'type'           => 'select',
1159 1159
                 'renderType'     => 'selectSingle',
@@ -1163,95 +1163,95 @@  discard block
 block discarded – undo
1163 1163
                 'default' => 0,
1164 1164
             ),
1165 1165
         ),
1166
-        'send_admin_deposit_license_notification'  => array(
1166
+        'send_admin_deposit_license_notification'  => array (
1167 1167
             'exclude'   => 1,
1168 1168
             'l10n_mode' => 'exclude',
1169 1169
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.send_admin_deposit_license_notification',
1170
-            'config'    => array(
1170
+            'config'    => array (
1171 1171
                 'type'    => 'check',
1172 1172
                 'default' => 0,
1173 1173
             ),
1174 1174
         ),
1175
-        'active_messaging_suggestion_accept_url' => array(
1175
+        'active_messaging_suggestion_accept_url' => array (
1176 1176
             'exclude' => 1,
1177 1177
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_accept_url',
1178
-            'config'  => array(
1178
+            'config'  => array (
1179 1179
                 'type' => 'input',
1180 1180
                 'size' => 50,
1181 1181
                 'eval' => 'trim',
1182 1182
             ),
1183 1183
         ),
1184
-        'active_messaging_suggestion_decline_url' => array(
1184
+        'active_messaging_suggestion_decline_url' => array (
1185 1185
             'exclude' => 1,
1186 1186
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_decline_url',
1187
-            'config'  => array(
1187
+            'config'  => array (
1188 1188
                 'type' => 'input',
1189 1189
                 'size' => 50,
1190 1190
                 'eval' => 'trim',
1191 1191
             ),
1192 1192
         ),
1193
-        'active_messaging_new_document_url' => array(
1193
+        'active_messaging_new_document_url' => array (
1194 1194
             'exclude' => 1,
1195 1195
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_new_document_url',
1196
-            'config'  => array(
1196
+            'config'  => array (
1197 1197
                 'type' => 'input',
1198 1198
                 'size' => 50,
1199 1199
                 'eval' => 'trim',
1200 1200
             ),
1201 1201
         ),
1202
-        'active_messaging_changed_document_url' => array(
1202
+        'active_messaging_changed_document_url' => array (
1203 1203
             'exclude' => 1,
1204 1204
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_changed_document_url',
1205
-            'config'  => array(
1205
+            'config'  => array (
1206 1206
                 'type' => 'input',
1207 1207
                 'size' => 50,
1208 1208
                 'eval' => 'trim',
1209 1209
             ),
1210 1210
         ),
1211
-        'active_messaging_suggestion_accept_url_body' => array(
1211
+        'active_messaging_suggestion_accept_url_body' => array (
1212 1212
             'exclude' => 1,
1213 1213
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_accept_url_body',
1214
-            'config'  => array(
1214
+            'config'  => array (
1215 1215
                 'type' => 'text',
1216 1216
                 'cols' => 40,
1217 1217
                 'rows' => 15,
1218 1218
                 'eval' => 'trim',
1219 1219
             ),
1220 1220
         ),
1221
-        'active_messaging_suggestion_decline_url_body' => array(
1221
+        'active_messaging_suggestion_decline_url_body' => array (
1222 1222
             'exclude' => 1,
1223 1223
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_decline_url_body',
1224
-            'config'  => array(
1224
+            'config'  => array (
1225 1225
                 'type' => 'text',
1226 1226
                 'cols' => 40,
1227 1227
                 'rows' => 15,
1228 1228
                 'eval' => 'trim',
1229 1229
             ),
1230 1230
         ),
1231
-        'active_messaging_new_document_url_body' => array(
1231
+        'active_messaging_new_document_url_body' => array (
1232 1232
             'exclude' => 1,
1233 1233
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_new_document_url_body',
1234
-            'config'  => array(
1234
+            'config'  => array (
1235 1235
                 'type' => 'text',
1236 1236
                 'cols' => 40,
1237 1237
                 'rows' => 15,
1238 1238
                 'eval' => 'trim',
1239 1239
             ),
1240 1240
         ),
1241
-        'active_messaging_changed_document_url_body' => array(
1241
+        'active_messaging_changed_document_url_body' => array (
1242 1242
             'exclude' => 1,
1243 1243
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_changed_document_url_body',
1244
-            'config'  => array(
1244
+            'config'  => array (
1245 1245
                 'type' => 'text',
1246 1246
                 'cols' => 40,
1247 1247
                 'rows' => 15,
1248 1248
                 'eval' => 'trim',
1249 1249
             ),
1250 1250
         ),
1251
-        'fis_mapping' => array(
1251
+        'fis_mapping' => array (
1252 1252
             'exclude' => 1,
1253 1253
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fis_mapping',
1254
-            'config'  => array(
1254
+            'config'  => array (
1255 1255
                 'type' => 'text',
1256 1256
                 'cols' => 40,
1257 1257
                 'rows' => 15,
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_file.php 1 patch
Spacing   +56 added lines, -56 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_file',
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',
@@ -36,73 +36,73 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, file_identifier, document',
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, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, file_identifier, document',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, file_identifier, document, --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, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, file_identifier, document, --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_file',
76 76
                 'foreign_table_where' => 'AND tx_dpf_domain_model_file.pid=###CURRENT_PID### AND tx_dpf_domain_model_file.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
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
97
-            'config'  => array(
97
+            'config'  => array (
98 98
                 'type' => 'check',
99 99
             ),
100 100
         ),
101
-        'starttime'             => array(
101
+        'starttime'             => array (
102 102
             'exclude'   => 1,
103 103
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
104
-            'config'    => array(
105
-                'behaviour' => array(
104
+            'config'    => array (
105
+                'behaviour' => array (
106 106
                     'allowLanguageSynchronization' => true
107 107
                 ),
108 108
                 'type'     => 'input',
@@ -111,16 +111,16 @@  discard block
 block discarded – undo
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
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
122
-            'config'    => array(
123
-                'behaviour' => array(
122
+            'config'    => array (
123
+                'behaviour' => array (
124 124
                     'allowLanguageSynchronization' => true
125 125
                 ),
126 126
                 'type'     => 'input',
@@ -129,115 +129,115 @@  discard block
 block discarded – undo
129 129
                 'eval'     => 'datetime',
130 130
                 'checkbox' => 0,
131 131
                 'default'  => 0,
132
-                'range'    => array(
132
+                'range'    => array (
133 133
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
134 134
                 ),
135 135
             ),
136 136
         ),
137 137
 
138
-        'title'                 => array(
138
+        'title'                 => array (
139 139
             'exclude' => 1,
140 140
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.title',
141
-            'config'  => array(
141
+            'config'  => array (
142 142
                 'type' => 'input',
143 143
                 'size' => 30,
144 144
                 'eval' => 'trim',
145 145
             ),
146 146
         ),
147 147
 
148
-        'label'                 => array(
148
+        'label'                 => array (
149 149
             'exclude' => 1,
150 150
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.label',
151
-            'config'  => array(
151
+            'config'  => array (
152 152
                 'type' => 'input',
153 153
                 'size' => 30,
154 154
                 'eval' => 'trim',
155 155
             ),
156 156
         ),
157
-        'download'              => array(
157
+        'download'              => array (
158 158
             'exclude'   => 1,
159 159
             'l10n_mode' => 'exclude',
160 160
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.download',
161
-            'config'    => array(
161
+            'config'    => array (
162 162
                 'type'    => 'check',
163 163
                 'default' => 0,
164 164
             ),
165 165
         ),
166
-        'archive'               => array(
166
+        'archive'               => array (
167 167
             'exclude'   => 1,
168 168
             'l10n_mode' => 'exclude',
169 169
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.archive',
170
-            'config'    => array(
170
+            'config'    => array (
171 171
                 'type'    => 'check',
172 172
                 'default' => 0,
173 173
             ),
174 174
         ),
175
-        'file_group_deleted'               => array(
175
+        'file_group_deleted'               => array (
176 176
             'exclude'   => 1,
177 177
             'l10n_mode' => 'exclude',
178 178
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.file_group_deleted',
179
-            'config'    => array(
179
+            'config'    => array (
180 180
                 'type'    => 'check',
181 181
                 'default' => 0,
182 182
             ),
183 183
         ),
184
-        'content_type'          => array(
184
+        'content_type'          => array (
185 185
             'exclude' => 1,
186 186
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.content_type',
187
-            'config'  => array(
187
+            'config'  => array (
188 188
                 'type' => 'input',
189 189
                 'size' => 30,
190 190
                 'eval' => 'trim',
191 191
             ),
192 192
         ),
193
-        'link'                  => array(
193
+        'link'                  => array (
194 194
             'exclude' => 1,
195 195
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.link',
196
-            'config'  => array(
196
+            'config'  => array (
197 197
                 'type' => 'input',
198 198
                 'size' => 30,
199 199
                 'eval' => 'trim',
200 200
             ),
201 201
         ),
202
-        'status'                => array(
202
+        'status'                => array (
203 203
             'exclude' => 1,
204 204
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.status',
205
-            'config'  => array(
205
+            'config'  => array (
206 206
                 'type' => 'input',
207 207
                 'size' => 30,
208 208
                 'eval' => 'trim',
209 209
             ),
210 210
         ),
211
-        'datastream_identifier' => array(
211
+        'datastream_identifier' => array (
212 212
             'exclude' => 1,
213 213
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.datastream_identifier',
214
-            'config'  => array(
214
+            'config'  => array (
215 215
                 'type' => 'input',
216 216
                 'size' => 30,
217 217
                 'eval' => 'trim',
218 218
             ),
219 219
         ),
220
-        'primary_file'          => array(
220
+        'primary_file'          => array (
221 221
             'exclude' => 1,
222 222
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.primary_file',
223
-            'config'  => array(
223
+            'config'  => array (
224 224
                 'type'    => 'check',
225 225
                 'default' => 0,
226 226
             ),
227 227
         ),
228
-        'file_identifier'                  => array(
228
+        'file_identifier'                  => array (
229 229
             'exclude' => 1,
230 230
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.link',
231
-            'config'  => array(
231
+            'config'  => array (
232 232
                 'type' => 'input',
233 233
                 'size' => 30,
234 234
                 'eval' => 'trim',
235 235
             ),
236 236
         ),
237
-        'document'              => array(
237
+        'document'              => array (
238 238
             'exclude' => 1,
239 239
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.document',
240
-            'config'  => array(
240
+            'config'  => array (
241 241
                 'type'          => 'select',
242 242
                 'renderType'    => 'selectSingle',
243 243
                 'foreign_table' => 'tx_dpf_domain_model_document',
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_metadataobject.php 1 patch
Spacing   +108 added lines, -108 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,74 +36,74 @@  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
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
105
-            'config'    => array(
106
-                'behaviour' => array(
105
+            'config'    => array (
106
+                'behaviour' => array (
107 107
                     'allowLanguageSynchronization' => true
108 108
                 ),
109 109
                 'type'     => 'input',
@@ -112,16 +112,16 @@  discard block
 block discarded – undo
112 112
                 'eval'     => 'datetime',
113 113
                 'checkbox' => 0,
114 114
                 'default'  => 0,
115
-                'range'    => array(
115
+                'range'    => array (
116 116
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
117 117
                 ),
118 118
             ),
119 119
         ),
120
-        'endtime'           => array(
120
+        'endtime'           => array (
121 121
             'exclude'   => 1,
122 122
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
123
-            'config'    => array(
124
-                'behaviour' => array(
123
+            'config'    => array (
124
+                'behaviour' => array (
125 125
                     'allowLanguageSynchronization' => true
126 126
                 ),
127 127
                 'type'     => 'input',
@@ -130,175 +130,175 @@  discard block
 block discarded – undo
130 130
                 'eval'     => 'datetime',
131 131
                 'checkbox' => 0,
132 132
                 'default'  => 0,
133
-                'range'    => array(
133
+                'range'    => array (
134 134
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
135 135
                 ),
136 136
             ),
137 137
         ),
138 138
 
139
-        'name'              => array(
139
+        'name'              => array (
140 140
             'exclude'   => 1,
141 141
             'l10n_mode' => 'exclude',
142 142
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.name',
143
-            'config'    => array(
143
+            'config'    => array (
144 144
                 'type' => 'input',
145 145
                 'size' => 30,
146 146
                 'eval' => 'trim',
147 147
             ),
148 148
         ),
149
-        'display_name'      => array(
149
+        'display_name'      => array (
150 150
             'exclude' => 1,
151 151
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.display_name',
152
-            'config'  => array(
152
+            'config'  => array (
153 153
                 'type' => 'input',
154 154
                 'size' => 30,
155 155
                 'eval' => 'trim',
156 156
             ),
157 157
         ),
158
-        'max_iteration'     => array(
158
+        'max_iteration'     => array (
159 159
             'exclude'   => 1,
160 160
             'l10n_mode' => 'exclude',
161 161
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_iteration',
162
-            'config'    => array(
162
+            'config'    => array (
163 163
                 'type' => 'input',
164 164
                 'size' => 4,
165 165
                 'eval' => 'int',
166 166
             ),
167 167
         ),
168
-        'mandatory'         => array(
168
+        'mandatory'         => array (
169 169
             'exclude'   => 1,
170 170
             'l10n_mode' => 'exclude',
171 171
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory',
172
-            'config'    => array(
172
+            'config'    => array (
173 173
                 'type' => 'select',
174 174
                 'renderType' => 'selectSingle',
175 175
                 'size' => 1,
176 176
                 'maxitems' => 1,
177
-                'items' => array(
178
-                    array('',''),
179
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY),
180
-                    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),
177
+                'items' => array (
178
+                    array ('', ''),
179
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY),
180
+                    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),
181 181
                 ),
182 182
             ),
183 183
         ),
184
-        'mapping'           => array(
184
+        'mapping'           => array (
185 185
             'exclude'   => 1,
186 186
             'l10n_mode' => 'exclude',
187 187
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mapping',
188
-            'config'    => array(
188
+            'config'    => array (
189 189
                 'type' => 'input',
190 190
                 'size' => 30,
191 191
                 'eval' => 'trim',
192 192
             ),
193 193
         ),
194
-        'json_mapping'           => array(
194
+        'json_mapping'           => array (
195 195
             'exclude'   => 1,
196 196
             'l10n_mode' => 'exclude',
197 197
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.json_mapping',
198
-            'config'    => array(
198
+            'config'    => array (
199 199
                 'type' => 'input',
200 200
                 'size' => 30,
201 201
                 'eval' => 'trim',
202 202
             ),
203 203
         ),
204
-        'data_type'         => array(
204
+        'data_type'         => array (
205 205
             'exclude'   => 1,
206 206
             'l10n_mode' => 'exclude',
207 207
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type',
208
-            'config'    => array(
208
+            'config'    => array (
209 209
                 'type'     => 'select',
210 210
                 'renderType' => 'selectSingle',
211
-                'items'    => array(
212
-                    array('', ''),
213
-                    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),
214
-                    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),
211
+                'items'    => array (
212
+                    array ('', ''),
213
+                    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),
214
+                    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),
215 215
                 ),
216 216
                 'size'     => 1,
217 217
                 'maxitems' => 1,
218 218
                 'eval'     => '',
219 219
             ),
220 220
         ),
221
-        'validation'        => array(
221
+        'validation'        => array (
222 222
             'exclude'   => 1,
223 223
             'l10n_mode' => 'exclude',
224 224
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.validation',
225
-            'config'    => array(
225
+            'config'    => array (
226 226
                 'type' => 'input',
227 227
                 'size' => 30,
228 228
                 'eval' => 'trim',
229 229
             ),
230 230
         ),
231
-        'mods_extension'    => array(
231
+        'mods_extension'    => array (
232 232
             'exclude'   => 1,
233 233
             'l10n_mode' => 'exclude',
234 234
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mods_extension',
235
-            'config'    => array(
235
+            'config'    => array (
236 236
                 'type'    => 'check',
237 237
                 'default' => 0,
238 238
             ),
239 239
         ),
240
-        'access_restriction_roles' => array(
240
+        'access_restriction_roles' => array (
241 241
             'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.access_restriction_roles',
242
-            'config' => array(
242
+            'config' => array (
243 243
                 'type' => 'select',
244 244
                 'renderType' => 'selectMultipleSideBySide',
245 245
                 'size' => 2,
246 246
                 'maxitems' => 2,
247
-                'items' => array(
248
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
249
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
247
+                'items' => array (
248
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
249
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
250 250
                 ),
251 251
             ),
252 252
         ),
253
-        'consent'           => array(
253
+        'consent'           => array (
254 254
             'exclude'   => 1,
255 255
             'l10n_mode' => 'exclude',
256 256
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.consent',
257
-            'config'    => array(
257
+            'config'    => array (
258 258
                 'type'    => 'check',
259 259
                 'default' => 0,
260 260
             ),
261 261
         ),
262
-        'input_field'       => array(
262
+        'input_field'       => array (
263 263
             'onChange' => 'reload',
264 264
             'exclude'   => 1,
265 265
             'l10n_mode' => 'exclude',
266 266
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_field',
267
-            'config'    => array(
267
+            'config'    => array (
268 268
                 'onChange' => 'reload',
269 269
                 'type'     => 'select',
270 270
                 'renderType' => 'selectSingle',
271
-                'items'    => array(
272
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input),
273
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea),
274
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select),
275
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox),
276
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden),
277
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.inputDropdown', \EWW\Dpf\Domain\Model\MetadataObject::INPUTDROPDOWN),
278
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.markdownTextarea', \EWW\Dpf\Domain\Model\MetadataObject::textareaMarkdown),
279
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.fileUpload', \EWW\Dpf\Domain\Model\MetadataObject::FILE_UPLOAD)
271
+                'items'    => array (
272
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input),
273
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea),
274
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select),
275
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox),
276
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden),
277
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.inputDropdown', \EWW\Dpf\Domain\Model\MetadataObject::INPUTDROPDOWN),
278
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.markdownTextarea', \EWW\Dpf\Domain\Model\MetadataObject::textareaMarkdown),
279
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.fileUpload', \EWW\Dpf\Domain\Model\MetadataObject::FILE_UPLOAD)
280 280
                 ),
281 281
                 'size'     => 1,
282 282
                 'maxitems' => 1,
283 283
                 'eval'     => '',
284 284
             ),
285 285
         ),
286
-        'deposit_license'       => array(
287
-            'displayCond' => array(
288
-                'OR' => array(
286
+        'deposit_license'       => array (
287
+            'displayCond' => array (
288
+                'OR' => array (
289 289
                     'FIELD:input_field:REQ:false',
290
-                    'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::checkbox,
290
+                    'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::checkbox,
291 291
                 ),
292 292
             ),
293 293
             'exclude'   => 1,
294 294
             'l10n_mode' => 'exclude',
295 295
             'label'     => 'Checkbox Value',
296
-            'config'    => array(
296
+            'config'    => array (
297 297
                 'type'     => 'select',
298 298
                 'renderType' => 'selectSingle',
299 299
                 'foreign_table' => 'tx_dpf_domain_model_depositlicense',
300
-                'items'    => array(
301
-                    array('', 0),
300
+                'items'    => array (
301
+                    array ('', 0),
302 302
                 ),
303 303
                 'size'     => 1,
304 304
                 'maxitems' => 1,
@@ -306,32 +306,32 @@  discard block
 block discarded – undo
306 306
                 'default'  => 0,
307 307
             ),
308 308
         ),
309
-        'max_input_length'       => array(
310
-            'displayCond' => array(
311
-                'OR' => array(
309
+        'max_input_length'       => array (
310
+            'displayCond' => array (
311
+                'OR' => array (
312 312
                     'FIELD:input_field:REQ:false',
313
-                    'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::input,
314
-                    'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::textarea,
313
+                    'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::input,
314
+                    'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::textarea,
315 315
                 ),
316 316
             ),
317 317
             'exclude'   => 1,
318 318
             'l10n_mode' => 'exclude',
319 319
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_input_length',
320
-            'config'    => array(
320
+            'config'    => array (
321 321
                 'type' => 'input',
322 322
                 'size' => 4,
323 323
                 'eval' => 'trim,number',
324 324
                 'default' => 0,
325 325
             ),
326 326
         ),
327
-        'input_option_list' => array(
327
+        'input_option_list' => array (
328 328
             'exclude' => 1,
329 329
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_option_list',
330
-            'config'  => array(
330
+            'config'  => array (
331 331
                 'type'                => 'select',
332 332
                 'renderType'          => 'selectSingle',
333
-                'items'               => array(
334
-                    array('', 0),
333
+                'items'               => array (
334
+                    array ('', 0),
335 335
                 ),
336 336
                 'foreign_table'       => 'tx_dpf_domain_model_inputoptionlist',
337 337
                 'foreign_table_where' => ' AND (tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID###) AND (tx_dpf_domain_model_inputoptionlist.sys_language_uid = 0)',
@@ -340,27 +340,27 @@  discard block
 block discarded – undo
340 340
                 'default'             => 0,
341 341
             ),
342 342
         ),
343
-        'default_value'     => array(
343
+        'default_value'     => array (
344 344
             'exclude' => 1,
345 345
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.default_value',
346
-            'config'  => array(
346
+            'config'  => array (
347 347
                 'type' => 'text',
348 348
                 'cols' => 20,
349 349
                 'rows' => 3,
350 350
                 'eval' => 'trim',
351 351
             ),
352 352
         ),
353
-        'fill_out_service'  => array(
353
+        'fill_out_service'  => array (
354 354
             'exclude'   => 1,
355 355
             'l10n_mode' => 'exclude',
356 356
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service',
357
-            'config'    => array(
357
+            'config'    => array (
358 358
                 'type'     => 'select',
359 359
                 'renderType' => 'selectSingle',
360
-                'items'    => array(
361
-                    array('', 0),
362
-                    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),
363
-                    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),
360
+                'items'    => array (
361
+                    array ('', 0),
362
+                    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),
363
+                    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),
364 364
                 ),
365 365
                 'size'     => 1,
366 366
                 'maxitems' => 1,
@@ -368,26 +368,26 @@  discard block
 block discarded – undo
368 368
             ),
369 369
             'onChange' => 'reload',
370 370
         ),
371
-        'gnd_field_uid' => array(
372
-            'displayCond' => 'FIELD:fill_out_service:=:'.\EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND,
371
+        'gnd_field_uid' => array (
372
+            'displayCond' => 'FIELD:fill_out_service:=:' . \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND,
373 373
             'exclude'   => 0,
374 374
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.gnd_field_uid',
375
-            'config'  => array(
375
+            'config'  => array (
376 376
                 'type' => 'input',
377 377
                 'size' => 30,
378 378
                 'eval' => 'trim',
379 379
             ),
380 380
         ),
381
-        'metadatagroup'     => array(
382
-            'config' => array(
381
+        'metadatagroup'     => array (
382
+            'config' => array (
383 383
                 'type' => 'passthrough',
384 384
             ),
385 385
         ),
386
-        'embargo'    => array(
386
+        '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_metadataobject.embargo',
390
-            'config'    => array(
390
+            'config'    => array (
391 391
                 'type'    => 'check',
392 392
                 'default' => 0,
393 393
             ),
Please login to merge, or discard this patch.
Classes/Domain/Repository/FileRepository.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,6 +17,5 @@
 block discarded – undo
17 17
 /**
18 18
  * The repository for Files
19 19
  */
20
-class FileRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
21
-{
20
+class FileRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {
22 21
 }
Please login to merge, or discard this patch.
Classes/Domain/Model/DocumentFormField.php 1 patch
Braces   +18 added lines, -36 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
  * The TYPO3 project - inspiring people to share!
15 15
  */
16 16
 
17
-class DocumentFormField extends AbstractFormElement
18
-{
17
+class DocumentFormField extends AbstractFormElement {
19 18
     protected $file;
20 19
 
21 20
     protected $value;
@@ -63,13 +62,11 @@  discard block
 block discarded – undo
63 62
      */
64 63
     protected $objectType = '';
65 64
 
66
-    public function getValue()
67
-    {
65
+    public function getValue() {
68 66
         return $this->value;
69 67
     }
70 68
 
71
-    public function setValue($value, $defaultValue = '')
72
-    {
69
+    public function setValue($value, $defaultValue = '') {
73 70
 
74 71
         $this->hasDefaultValue = !empty($defaultValue);
75 72
 
@@ -100,13 +97,11 @@  discard block
 block discarded – undo
100 97
         }
101 98
     }
102 99
 
103
-    public function getInputField()
104
-    {
100
+    public function getInputField() {
105 101
         return $this->inputField;
106 102
     }
107 103
 
108
-    public function setInputField($inputField)
109
-    {
104
+    public function setInputField($inputField) {
110 105
         $this->inputField = $inputField;
111 106
     }
112 107
 
@@ -114,8 +109,7 @@  discard block
 block discarded – undo
114 109
      *
115 110
      * @return array
116 111
      */
117
-    public function getInputOptions()
118
-    {
112
+    public function getInputOptions() {
119 113
         return $this->inputOptions;
120 114
     }
121 115
 
@@ -123,8 +117,7 @@  discard block
 block discarded – undo
123 117
      *
124 118
      * @param \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList
125 119
      */
126
-    public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null)
127
-    {
120
+    public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) {
128 121
 
129 122
         $this->inputOptions = array();
130 123
 
@@ -144,8 +137,7 @@  discard block
 block discarded – undo
144 137
      *
145 138
      * @return string $fillOutService
146 139
      */
147
-    public function getFillOutService()
148
-    {
140
+    public function getFillOutService() {
149 141
         return $this->fillOutService;
150 142
     }
151 143
 
@@ -155,8 +147,7 @@  discard block
 block discarded – undo
155 147
      * @param string $fillOutService
156 148
      * @return void
157 149
      */
158
-    public function setFillOutService($fillOutService)
159
-    {
150
+    public function setFillOutService($fillOutService) {
160 151
         $this->fillOutService = $fillOutService;
161 152
     }
162 153
 
@@ -165,8 +156,7 @@  discard block
 block discarded – undo
165 156
      *
166 157
      * @return boolean $consent
167 158
      */
168
-    public function getConsent()
169
-    {
159
+    public function getConsent() {
170 160
         return $this->consent;
171 161
     }
172 162
 
@@ -176,23 +166,19 @@  discard block
 block discarded – undo
176 166
      * @param boolean $consent
177 167
      * @return void
178 168
      */
179
-    public function setConsent($consent)
180
-    {
169
+    public function setConsent($consent) {
181 170
         $this->consent = boolval($consent);
182 171
     }
183 172
 
184
-    public function getHasDefaultValue()
185
-    {
173
+    public function getHasDefaultValue() {
186 174
         return $this->hasDefaultValue;
187 175
     }
188 176
 
189
-    public function getValidation()
190
-    {
177
+    public function getValidation() {
191 178
         return $this->validation;
192 179
     }
193 180
 
194
-    public function setValidation($validation)
195
-    {
181
+    public function setValidation($validation) {
196 182
         $this->validation = $validation;
197 183
     }
198 184
 
@@ -201,8 +187,7 @@  discard block
 block discarded – undo
201 187
      *
202 188
      * @return string
203 189
      */
204
-    public function getDataType()
205
-    {
190
+    public function getDataType() {
206 191
         return $this->dataType;
207 192
     }
208 193
 
@@ -212,8 +197,7 @@  discard block
 block discarded – undo
212 197
      * @param string $dataType
213 198
      * @return void
214 199
      */
215
-    public function setDataType($dataType)
216
-    {
200
+    public function setDataType($dataType) {
217 201
         $this->dataType = $dataType;
218 202
     }
219 203
 
@@ -275,8 +259,7 @@  discard block
 block discarded – undo
275 259
     /**
276 260
      * @return mixed
277 261
      */
278
-    public function getDepositLicense()
279
-    {
262
+    public function getDepositLicense() {
280 263
         return $this->depositLicense;
281 264
     }
282 265
 
@@ -291,8 +274,7 @@  discard block
 block discarded – undo
291 274
     /**
292 275
      * @return mixed
293 276
      */
294
-    public function getFile()
295
-    {
277
+    public function getFile() {
296 278
         return $this->file;
297 279
     }
298 280
 
Please login to merge, or discard this patch.
Classes/Domain/Model/MetadataObject.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
         if ($this->accessRestrictionRoles) {
461 461
             return array_map('trim', explode(',', $this->accessRestrictionRoles));
462 462
         } else {
463
-            return array();
463
+            return array ();
464 464
         }
465 465
     }
466 466
 
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     }
828 828
 
829 829
     protected function isRepeatable() {
830
-        return !in_array($this->getObjectType(), ['fileDownload','fileArchive','fileLabel'])
830
+        return !in_array($this->getObjectType(), ['fileDownload', 'fileArchive', 'fileLabel'])
831 831
             && $this->getInputField() != self::FILE_UPLOAD;
832 832
     }
833 833
 }
Please login to merge, or discard this patch.
Braces   +42 added lines, -84 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
 /**
18 18
  * MetadataObject
19 19
  */
20
-class MetadataObject extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity implements MetadataMandatoryInterface
21
-{
20
+class MetadataObject extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity implements MetadataMandatoryInterface {
22 21
 
23 22
     /**
24 23
      * name
@@ -229,8 +228,7 @@  discard block
 block discarded – undo
229 228
      *
230 229
      * @return string $name
231 230
      */
232
-    public function getName()
233
-    {
231
+    public function getName() {
234 232
         return $this->name;
235 233
     }
236 234
 
@@ -240,8 +238,7 @@  discard block
 block discarded – undo
240 238
      * @param string $name
241 239
      * @return void
242 240
      */
243
-    public function setName($name)
244
-    {
241
+    public function setName($name) {
245 242
         $this->name = $name;
246 243
     }
247 244
 
@@ -250,8 +247,7 @@  discard block
 block discarded – undo
250 247
      *
251 248
      * @return string $displayName
252 249
      */
253
-    public function getDisplayName()
254
-    {
250
+    public function getDisplayName() {
255 251
         return $this->displayName;
256 252
     }
257 253
 
@@ -261,8 +257,7 @@  discard block
 block discarded – undo
261 257
      * @param string $displayName
262 258
      * @return void
263 259
      */
264
-    public function setDisplayName($displayName)
265
-    {
260
+    public function setDisplayName($displayName) {
266 261
         $this->displayName = $displayName;
267 262
     }
268 263
 
@@ -271,8 +266,7 @@  discard block
 block discarded – undo
271 266
      *
272 267
      * @return integer $maxIteration
273 268
      */
274
-    public function getMaxIteration()
275
-    {
269
+    public function getMaxIteration() {
276 270
         if ($this->isRepeatable()) {
277 271
             return $this->maxIteration;
278 272
         }
@@ -285,8 +279,7 @@  discard block
 block discarded – undo
285 279
      * @param integer $maxIteration
286 280
      * @return void
287 281
      */
288
-    public function setMaxIteration($maxIteration)
289
-    {
282
+    public function setMaxIteration($maxIteration) {
290 283
         if ($this->isRepeatable()) {
291 284
             $this->maxIteration = $maxIteration;
292 285
         } else {
@@ -299,8 +292,7 @@  discard block
 block discarded – undo
299 292
      *
300 293
      * @return string $mandatory
301 294
      */
302
-    public function getMandatory()
303
-    {
295
+    public function getMandatory() {
304 296
         return $this->mandatory;
305 297
     }
306 298
 
@@ -310,8 +302,7 @@  discard block
 block discarded – undo
310 302
      * @param string $mandatory
311 303
      * @return void
312 304
      */
313
-    public function setMandatory($mandatory)
314
-    {
305
+    public function setMandatory($mandatory) {
315 306
         $this->mandatory = $mandatory;
316 307
     }
317 308
 
@@ -320,8 +311,7 @@  discard block
 block discarded – undo
320 311
      *
321 312
      * @return boolean $modsExtension
322 313
      */
323
-    public function getModsExtension()
324
-    {
314
+    public function getModsExtension() {
325 315
         return $this->modsExtension;
326 316
     }
327 317
 
@@ -331,8 +321,7 @@  discard block
 block discarded – undo
331 321
      * @param boolean $modsExtension
332 322
      * @return void
333 323
      */
334
-    public function setModsExtension($modsExtension)
335
-    {
324
+    public function setModsExtension($modsExtension) {
336 325
         $this->modsExtension = boolval($modsExtension);
337 326
     }
338 327
 
@@ -341,8 +330,7 @@  discard block
 block discarded – undo
341 330
      *
342 331
      * @return boolean
343 332
      */
344
-    public function isModsExtension()
345
-    {
333
+    public function isModsExtension() {
346 334
         return $this->modsExtension;
347 335
     }
348 336
 
@@ -351,8 +339,7 @@  discard block
 block discarded – undo
351 339
      *
352 340
      * @return string $mapping
353 341
      */
354
-    public function getMapping()
355
-    {
342
+    public function getMapping() {
356 343
         return $this->mapping;
357 344
     }
358 345
 
@@ -362,8 +349,7 @@  discard block
 block discarded – undo
362 349
      * @param string $mapping
363 350
      * @return void
364 351
      */
365
-    public function setMapping($mapping)
366
-    {
352
+    public function setMapping($mapping) {
367 353
         $this->mapping = $mapping;
368 354
     }
369 355
 
@@ -372,8 +358,7 @@  discard block
 block discarded – undo
372 358
      *
373 359
      * @return string $relativeMapping
374 360
      */
375
-    public function getRelativeMapping()
376
-    {
361
+    public function getRelativeMapping() {
377 362
         return trim($this->mapping, " /");
378 363
     }
379 364
 
@@ -382,8 +367,7 @@  discard block
 block discarded – undo
382 367
      *
383 368
      * @return integer $inputField
384 369
      */
385
-    public function getInputField()
386
-    {
370
+    public function getInputField() {
387 371
         return $this->inputField;
388 372
     }
389 373
 
@@ -393,8 +377,7 @@  discard block
 block discarded – undo
393 377
      * @param integer $inputField
394 378
      * @return void
395 379
      */
396
-    public function setInputField($inputField)
397
-    {
380
+    public function setInputField($inputField) {
398 381
         $this->inputField = $inputField;
399 382
     }
400 383
 
@@ -403,8 +386,7 @@  discard block
 block discarded – undo
403 386
      *
404 387
      * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\MetadataObject> $metadataObject
405 388
      */
406
-    public function getChildren()
407
-    {
389
+    public function getChildren() {
408 390
         return null;
409 391
     }
410 392
 
@@ -413,8 +395,7 @@  discard block
 block discarded – undo
413 395
      *
414 396
      * @return \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList
415 397
      */
416
-    public function getInputOptionList()
417
-    {
398
+    public function getInputOptionList() {
418 399
         return $this->inputOptionList;
419 400
     }
420 401
 
@@ -424,8 +405,7 @@  discard block
 block discarded – undo
424 405
      * @param \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList
425 406
      * @return void
426 407
      */
427
-    public function setInputOptionList(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList)
428
-    {
408
+    public function setInputOptionList(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList) {
429 409
         $this->inputOptionList = $inputOptionList;
430 410
     }
431 411
 
@@ -434,8 +414,7 @@  discard block
 block discarded – undo
434 414
      *
435 415
      * @return string $fillOutService
436 416
      */
437
-    public function getFillOutService()
438
-    {
417
+    public function getFillOutService() {
439 418
         return $this->fillOutService;
440 419
     }
441 420
 
@@ -445,8 +424,7 @@  discard block
 block discarded – undo
445 424
      * @param string $fillOutService
446 425
      * @return void
447 426
      */
448
-    public function setFillOutService($fillOutService)
449
-    {
427
+    public function setFillOutService($fillOutService) {
450 428
         $this->fillOutService = $fillOutService;
451 429
     }
452 430
 
@@ -455,8 +433,7 @@  discard block
 block discarded – undo
455 433
      *
456 434
      * @return array $accessRestrictionRoles
457 435
      */
458
-    public function getAccessRestrictionRoles()
459
-    {
436
+    public function getAccessRestrictionRoles() {
460 437
         if ($this->accessRestrictionRoles) {
461 438
             return array_map('trim', explode(',', $this->accessRestrictionRoles));
462 439
         } else {
@@ -470,8 +447,7 @@  discard block
 block discarded – undo
470 447
      * @param array $accessRestrictionRoles
471 448
      * @return void
472 449
      */
473
-    public function setAccessRestrictionRoles($accessRestrictionRoles)
474
-    {
450
+    public function setAccessRestrictionRoles($accessRestrictionRoles) {
475 451
         $this->accessRestrictionRoles = implode(',', $accessRestrictionRoles);
476 452
     }
477 453
 
@@ -480,8 +456,7 @@  discard block
 block discarded – undo
480 456
      *
481 457
      * @return boolean $consent
482 458
      */
483
-    public function getConsent()
484
-    {
459
+    public function getConsent() {
485 460
         return $this->consent;
486 461
     }
487 462
 
@@ -491,8 +466,7 @@  discard block
 block discarded – undo
491 466
      * @param boolean $consent
492 467
      * @return void
493 468
      */
494
-    public function setConsent($consent)
495
-    {
469
+    public function setConsent($consent) {
496 470
         $this->consent = boolval($consent);
497 471
     }
498 472
 
@@ -501,8 +475,7 @@  discard block
 block discarded – undo
501 475
      *
502 476
      * @return string $defaultValue
503 477
      */
504
-    public function getDefaultValue()
505
-    {
478
+    public function getDefaultValue() {
506 479
         return $this->defaultValue;
507 480
     }
508 481
 
@@ -512,8 +485,7 @@  discard block
 block discarded – undo
512 485
      * @param string $defaultValue
513 486
      * @return void
514 487
      */
515
-    public function setDefaultValue($defaultValue)
516
-    {
488
+    public function setDefaultValue($defaultValue) {
517 489
         $this->defaultValue = $defaultValue;
518 490
     }
519 491
 
@@ -522,8 +494,7 @@  discard block
 block discarded – undo
522 494
      *
523 495
      * @return string $validation
524 496
      */
525
-    public function getValidation()
526
-    {
497
+    public function getValidation() {
527 498
         return $this->validation;
528 499
     }
529 500
 
@@ -533,8 +504,7 @@  discard block
 block discarded – undo
533 504
      * @param string $validation
534 505
      * @return void
535 506
      */
536
-    public function setValidation($validation)
537
-    {
507
+    public function setValidation($validation) {
538 508
         $this->validation = $validation;
539 509
     }
540 510
 
@@ -543,8 +513,7 @@  discard block
 block discarded – undo
543 513
      *
544 514
      * @return string $dataType
545 515
      */
546
-    public function getDataType()
547
-    {
516
+    public function getDataType() {
548 517
         return $this->dataType;
549 518
     }
550 519
 
@@ -554,32 +523,28 @@  discard block
 block discarded – undo
554 523
      * @param string $dataType
555 524
      * @return void
556 525
      */
557
-    public function setDataType($dataType)
558
-    {
526
+    public function setDataType($dataType) {
559 527
         $this->dataType = $dataType;
560 528
     }
561 529
 
562 530
     /**
563 531
      * @return string
564 532
      */
565
-    public function getGndFieldUid()
566
-    {
533
+    public function getGndFieldUid() {
567 534
         return $this->gndFieldUid;
568 535
     }
569 536
 
570 537
     /**
571 538
      * @param string $gndFieldUid
572 539
      */
573
-    public function setGndFieldUid($gndFieldUid)
574
-    {
540
+    public function setGndFieldUid($gndFieldUid) {
575 541
         $this->gndFieldUid = $gndFieldUid;
576 542
     }
577 543
 
578 544
     /**
579 545
      * @return integer
580 546
      */
581
-    public function getMaxInputLength()
582
-    {
547
+    public function getMaxInputLength() {
583 548
         if ($this->maxInputLength == 0) {
584 549
             if ($this->inputField == self::input) {
585 550
                 return 255;
@@ -594,8 +559,7 @@  discard block
 block discarded – undo
594 559
     /**
595 560
      * @return integer
596 561
      */
597
-    public function setMaxInputLength($maxInputLength)
598
-    {
562
+    public function setMaxInputLength($maxInputLength) {
599 563
         $this->maxInputLength = $maxInputLength;
600 564
     }
601 565
 
@@ -610,8 +574,7 @@  discard block
 block discarded – undo
610 574
     /**
611 575
      * @param bool $embargo
612 576
      */
613
-    public function setEmbargo(bool $embargo)
614
-    {
577
+    public function setEmbargo(bool $embargo) {
615 578
         $this->embargo = boolval($embargo);
616 579
     }
617 580
 
@@ -658,8 +621,7 @@  discard block
 block discarded – undo
658 621
     /**
659 622
      * @param string $rorMapping
660 623
      */
661
-    public function setRorMapping(string $rorMapping)
662
-    {
624
+    public function setRorMapping(string $rorMapping) {
663 625
         $this->rorMapping = $rorMapping;
664 626
     }
665 627
 
@@ -797,32 +759,28 @@  discard block
 block discarded – undo
797 759
     /**
798 760
      * @return bool
799 761
      */
800
-    public function isUploadField()
801
-    {
762
+    public function isUploadField() {
802 763
         return $this->getInputField() == self::FILE_UPLOAD;
803 764
     }
804 765
 
805 766
     /**
806 767
      * @return bool
807 768
      */
808
-    public function isFileLabelField()
809
-    {
769
+    public function isFileLabelField() {
810 770
         return $this->getObjectType() == 'fileLabel';
811 771
     }
812 772
 
813 773
     /**
814 774
      * @return bool
815 775
      */
816
-    public function isFileDownloadField()
817
-    {
776
+    public function isFileDownloadField() {
818 777
         return $this->getObjectType() == 'fileDownload';
819 778
     }
820 779
 
821 780
     /**
822 781
      * @return bool
823 782
      */
824
-    public function isFileArchiveField()
825
-    {
783
+    public function isFileArchiveField() {
826 784
         return $this->getObjectType() == 'fileArchive';
827 785
     }
828 786
 
Please login to merge, or discard this patch.
Classes/Domain/Model/Document.php 3 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
     public function setObjectIdentifier($objectIdentifier)
379 379
     {
380 380
         // Due to uniqe key uc_object_identifier, which should ignore empty object identifiers.
381
-        $this->objectIdentifier = empty($objectIdentifier)? null : $objectIdentifier;
381
+        $this->objectIdentifier = empty($objectIdentifier) ? null : $objectIdentifier;
382 382
     }
383 383
 
384 384
     /**
@@ -714,7 +714,7 @@  discard block
 block discarded – undo
714 714
      */
715 715
     public function getCreator()
716 716
     {
717
-        return $this->creator? $this->creator : 0;
717
+        return $this->creator ? $this->creator : 0;
718 718
     }
719 719
 
720 720
     /**
@@ -869,7 +869,7 @@  discard block
 block discarded – undo
869 869
 
870 870
         foreach ($availableProperties as $propertyName) {
871 871
             if (\TYPO3\CMS\Extbase\Reflection\ObjectAccess::isPropertySettable($newDocument, $propertyName)
872
-                && !in_array($propertyName, array('uid','pid', 'file', 'comment', 'linkedUid', 'suggestion', 'creator'))) {
872
+                && !in_array($propertyName, array ('uid', 'pid', 'file', 'comment', 'linkedUid', 'suggestion', 'creator'))) {
873 873
 
874 874
                 $propertyValue = \TYPO3\CMS\Extbase\Reflection\ObjectAccess::getProperty($documentToCopy, $propertyName);
875 875
                 \TYPO3\CMS\Extbase\Reflection\ObjectAccess::setProperty($newDocument, $propertyName, $propertyValue);
@@ -891,7 +891,7 @@  discard block
 block discarded – undo
891 891
      */
892 892
     public function getDocumentIdentifier()
893 893
     {
894
-        return $this->getObjectIdentifier()? $this->getObjectIdentifier() : $this->getUid();
894
+        return $this->getObjectIdentifier() ? $this->getObjectIdentifier() : $this->getUid();
895 895
     }
896 896
 
897 897
     /**
@@ -924,8 +924,8 @@  discard block
 block discarded – undo
924 924
     public function getPublicationYear()
925 925
     {
926 926
         $internalFormat = new InternalFormat($this->getXmlData());
927
-        $year =  $internalFormat->getPublishingYear();
928
-        return $year? $year : "";
927
+        $year = $internalFormat->getPublishingYear();
928
+        return $year ? $year : "";
929 929
     }
930 930
 
931 931
 
Please login to merge, or discard this patch.
Braces   +62 added lines, -124 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@  discard block
 block discarded – undo
22 22
 /**
23 23
  * Document
24 24
  */
25
-class Document extends AbstractEntity
26
-{
25
+class Document extends AbstractEntity {
27 26
     // xml data size ist limited to 64 KB
28 27
     const XML_DATA_SIZE_LIMIT = 64 * 1024;
29 28
 
@@ -214,8 +213,7 @@  discard block
 block discarded – undo
214 213
     /**
215 214
      * __construct
216 215
      */
217
-    public function __construct()
218
-    {
216
+    public function __construct() {
219 217
         //Do not remove the next line: It would break the functionality
220 218
         $this->initStorageObjects();
221 219
     }
@@ -225,8 +223,7 @@  discard block
 block discarded – undo
225 223
      *
226 224
      * @return void
227 225
      */
228
-    protected function initStorageObjects()
229
-    {
226
+    protected function initStorageObjects() {
230 227
         $this->file = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
231 228
         $this->initCreationDate();
232 229
     }
@@ -236,8 +233,7 @@  discard block
 block discarded – undo
236 233
      *
237 234
      * @return string $title
238 235
      */
239
-    public function getTitle()
240
-    {
236
+    public function getTitle() {
241 237
         return $this->title;
242 238
     }
243 239
 
@@ -247,8 +243,7 @@  discard block
 block discarded – undo
247 243
      * @param string $title
248 244
      * @return void
249 245
      */
250
-    public function setTitle($title)
251
-    {
246
+    public function setTitle($title) {
252 247
         $this->title = $title ?? '';
253 248
         //htmlspecialchars_decode($title,ENT_QUOTES);
254 249
     }
@@ -258,8 +253,7 @@  discard block
 block discarded – undo
258 253
      *
259 254
      * @return array $authors
260 255
      */
261
-    public function getAuthors()
262
-    {
256
+    public function getAuthors() {
263 257
         $authors = @unserialize($this->authors);
264 258
         if (is_array($authors)) {
265 259
             return $authors;
@@ -274,8 +268,7 @@  discard block
 block discarded – undo
274 268
      * @param array $authors
275 269
      * @return void
276 270
      */
277
-    public function setAuthors($authors)
278
-    {
271
+    public function setAuthors($authors) {
279 272
         $this->authors = serialize($authors);
280 273
     }
281 274
 
@@ -284,8 +277,7 @@  discard block
 block discarded – undo
284 277
      *
285 278
      * @return string $xmlData
286 279
      */
287
-    public function getXmlData()
288
-    {
280
+    public function getXmlData() {
289 281
         return $this->xmlData;
290 282
     }
291 283
 
@@ -295,8 +287,7 @@  discard block
 block discarded – undo
295 287
      * @param string $xmlData
296 288
      * @return void
297 289
      */
298
-    public function setXmlData($xmlData)
299
-    {
290
+    public function setXmlData($xmlData) {
300 291
         $this->xmlData = $xmlData;
301 292
     }
302 293
 
@@ -323,8 +314,7 @@  discard block
 block discarded – undo
323 314
      *
324 315
      * @return string $slubInfoData
325 316
      */
326
-    public function getSlubInfoData()
327
-    {
317
+    public function getSlubInfoData() {
328 318
         return $this->slubInfoData;
329 319
     }
330 320
 
@@ -333,8 +323,7 @@  discard block
 block discarded – undo
333 323
      *
334 324
      * @return string $slubInfoData
335 325
      */
336
-    public function setSlubInfoData($slubInfoData)
337
-    {
326
+    public function setSlubInfoData($slubInfoData) {
338 327
         $this->slubInfoData = $slubInfoData;
339 328
     }
340 329
 
@@ -343,8 +332,7 @@  discard block
 block discarded – undo
343 332
      *
344 333
      * @return \EWW\Dpf\Domain\Model\DocumentType $documentType
345 334
      */
346
-    public function getDocumentType()
347
-    {
335
+    public function getDocumentType() {
348 336
         return $this->documentType;
349 337
     }
350 338
 
@@ -354,8 +342,7 @@  discard block
 block discarded – undo
354 342
      * @param \EWW\Dpf\Domain\Model\DocumentType $documentType
355 343
      * @return void
356 344
      */
357
-    public function setDocumentType(\EWW\Dpf\Domain\Model\DocumentType $documentType)
358
-    {
345
+    public function setDocumentType(\EWW\Dpf\Domain\Model\DocumentType $documentType) {
359 346
         $this->documentType = $documentType;
360 347
     }
361 348
 
@@ -364,8 +351,7 @@  discard block
 block discarded – undo
364 351
      *
365 352
      * @return string
366 353
      */
367
-    public function getObjectIdentifier()
368
-    {
354
+    public function getObjectIdentifier() {
369 355
         return $this->objectIdentifier;
370 356
     }
371 357
 
@@ -375,8 +361,7 @@  discard block
 block discarded – undo
375 361
      * @param string $objectIdentifier
376 362
      * @return void
377 363
      */
378
-    public function setObjectIdentifier($objectIdentifier)
379
-    {
364
+    public function setObjectIdentifier($objectIdentifier) {
380 365
         // Due to uniqe key uc_object_identifier, which should ignore empty object identifiers.
381 366
         $this->objectIdentifier = empty($objectIdentifier)? null : $objectIdentifier;
382 367
     }
@@ -386,8 +371,7 @@  discard block
 block discarded – undo
386 371
      *
387 372
      * @return string
388 373
      */
389
-    public function getReservedObjectIdentifier()
390
-    {
374
+    public function getReservedObjectIdentifier() {
391 375
         return $this->reservedObjectIdentifier;
392 376
     }
393 377
 
@@ -397,8 +381,7 @@  discard block
 block discarded – undo
397 381
      * @param string $reservedObjectIdentifier
398 382
      * @return void
399 383
      */
400
-    public function setReservedObjectIdentifier($reservedObjectIdentifier)
401
-    {
384
+    public function setReservedObjectIdentifier($reservedObjectIdentifier) {
402 385
         $this->reservedObjectIdentifier = $reservedObjectIdentifier;
403 386
     }
404 387
 
@@ -407,8 +390,7 @@  discard block
 block discarded – undo
407 390
      *
408 391
      * @return string
409 392
      */
410
-    public function getTransferStatus()
411
-    {
393
+    public function getTransferStatus() {
412 394
         return $this->transferStatus;
413 395
     }
414 396
 
@@ -418,8 +400,7 @@  discard block
 block discarded – undo
418 400
      * @param string
419 401
      * @return void
420 402
      */
421
-    public function setTransferStatus($transferStatus)
422
-    {
403
+    public function setTransferStatus($transferStatus) {
423 404
         $this->transferStatus = $transferStatus;
424 405
     }
425 406
 
@@ -428,8 +409,7 @@  discard block
 block discarded – undo
428 409
      *
429 410
      * @return integer
430 411
      */
431
-    public function getTransferDate()
432
-    {
412
+    public function getTransferDate() {
433 413
         return $this->transferDate;
434 414
     }
435 415
 
@@ -439,8 +419,7 @@  discard block
 block discarded – undo
439 419
      * @param integer $transferDate
440 420
      * @return void
441 421
      */
442
-    public function setTransferDate($transferDate)
443
-    {
422
+    public function setTransferDate($transferDate) {
444 423
         $this->transferDate = $transferDate;
445 424
     }
446 425
 
@@ -449,8 +428,7 @@  discard block
 block discarded – undo
449 428
      *
450 429
      * @var integer
451 430
      */
452
-    public function getTransferErrorCode()
453
-    {
431
+    public function getTransferErrorCode() {
454 432
         return $this->transferErrorCode;
455 433
     }
456 434
 
@@ -460,8 +438,7 @@  discard block
 block discarded – undo
460 438
      * @param integer $transferErrorCode
461 439
      * @return void
462 440
      */
463
-    public function setTransferErrorCode($transferErrorCode)
464
-    {
441
+    public function setTransferErrorCode($transferErrorCode) {
465 442
         $this->transferErrorCode = $transferErrorCode;
466 443
     }
467 444
 
@@ -470,8 +447,7 @@  discard block
 block discarded – undo
470 447
      *
471 448
      * @var string
472 449
      */
473
-    public function getTransferResponse()
474
-    {
450
+    public function getTransferResponse() {
475 451
         return $this->transferResponse;
476 452
     }
477 453
 
@@ -481,8 +457,7 @@  discard block
 block discarded – undo
481 457
      * @param string $transferResponse
482 458
      * @return void
483 459
      */
484
-    public function setTransferResponse($transferResponse)
485
-    {
460
+    public function setTransferResponse($transferResponse) {
486 461
         $this->transferResponse = $transferResponse;
487 462
     }
488 463
 
@@ -491,8 +466,7 @@  discard block
 block discarded – undo
491 466
      *
492 467
      * @var integer
493 468
      */
494
-    public function getTransferHttpStatus()
495
-    {
469
+    public function getTransferHttpStatus() {
496 470
         return $this->transferHttpStatus;
497 471
     }
498 472
 
@@ -502,8 +476,7 @@  discard block
 block discarded – undo
502 476
      * @param integer $transferHttpStatus
503 477
      * @return void
504 478
      */
505
-    public function setTransferHttpStatus($transferHttpStatus)
506
-    {
479
+    public function setTransferHttpStatus($transferHttpStatus) {
507 480
         $this->transferHttpStatus = $transferHttpStatus;
508 481
     }
509 482
 
@@ -513,8 +486,7 @@  discard block
 block discarded – undo
513 486
      * @param \EWW\Dpf\Domain\Model\File $file
514 487
      * @return void
515 488
      */
516
-    public function addFile(\EWW\Dpf\Domain\Model\File $file)
517
-    {
489
+    public function addFile(\EWW\Dpf\Domain\Model\File $file) {
518 490
         $this->file->attach($file);
519 491
     }
520 492
 
@@ -524,8 +496,7 @@  discard block
 block discarded – undo
524 496
      * @param \EWW\Dpf\Domain\Model\File $fileToRemove The File to be removed
525 497
      * @return void
526 498
      */
527
-    public function removeFile(\EWW\Dpf\Domain\Model\File $fileToRemove)
528
-    {
499
+    public function removeFile(\EWW\Dpf\Domain\Model\File $fileToRemove) {
529 500
         $this->file->detach($fileToRemove);
530 501
     }
531 502
 
@@ -534,8 +505,7 @@  discard block
 block discarded – undo
534 505
      *
535 506
      * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\File> $file
536 507
      */
537
-    public function getFile()
538
-    {
508
+    public function getFile() {
539 509
         return $this->file;
540 510
     }
541 511
 
@@ -545,8 +515,7 @@  discard block
 block discarded – undo
545 515
      * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\File> $file
546 516
      * @return void
547 517
      */
548
-    public function setFile(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $file)
549
-    {
518
+    public function setFile(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $file) {
550 519
         $this->file = $file;
551 520
     }
552 521
 
@@ -581,8 +550,7 @@  discard block
 block discarded – undo
581 550
     /**
582 551
      * Has files
583 552
      */
584
-    public function hasFiles()
585
-    {
553
+    public function hasFiles() {
586 554
         if (is_a($this->getFile(), '\TYPO3\CMS\Extbase\Persistence\ObjectStorage')) {
587 555
             foreach ($this->getFile() as $file) {
588 556
                 /** @var File $file */
@@ -600,8 +568,7 @@  discard block
 block discarded – undo
600 568
      *
601 569
      * @return boolean $changed
602 570
      */
603
-    public function getChanged()
604
-    {
571
+    public function getChanged() {
605 572
         return $this->changed;
606 573
     }
607 574
 
@@ -611,8 +578,7 @@  discard block
 block discarded – undo
611 578
      * @param boolean $changed
612 579
      * @return void
613 580
      */
614
-    public function setChanged($changed)
615
-    {
581
+    public function setChanged($changed) {
616 582
         $this->changed = boolval($changed);
617 583
     }
618 584
 
@@ -621,8 +587,7 @@  discard block
 block discarded – undo
621 587
      *
622 588
      * @return boolean $valid
623 589
      */
624
-    public function getValid()
625
-    {
590
+    public function getValid() {
626 591
         return $this->valid;
627 592
     }
628 593
 
@@ -632,8 +597,7 @@  discard block
 block discarded – undo
632 597
      * @param boolean $valid
633 598
      * @return void
634 599
      */
635
-    public function setValid($valid)
636
-    {
600
+    public function setValid($valid) {
637 601
         $this->valid = boolval($valid);
638 602
     }
639 603
 
@@ -642,8 +606,7 @@  discard block
 block discarded – undo
642 606
      *
643 607
      * @return string
644 608
      */
645
-    public function getDateIssued()
646
-    {
609
+    public function getDateIssued() {
647 610
         return empty($this->dateIssued) ? '' : $this->dateIssued;
648 611
     }
649 612
 
@@ -653,8 +616,7 @@  discard block
 block discarded – undo
653 616
      * @param string $dateIssued
654 617
      * @return void
655 618
      */
656
-    public function setDateIssued($dateIssued)
657
-    {
619
+    public function setDateIssued($dateIssued) {
658 620
         $this->dateIssued = empty($dateIssued) ? '' : $dateIssued;
659 621
     }
660 622
 
@@ -664,8 +626,7 @@  discard block
 block discarded – undo
664 626
      *
665 627
      * @return string
666 628
      */
667
-    public function getProcessNumber()
668
-    {
629
+    public function getProcessNumber() {
669 630
         return $this->processNumber;
670 631
     }
671 632
 
@@ -675,8 +636,7 @@  discard block
 block discarded – undo
675 636
      * @param string $processNumber
676 637
      * @return void
677 638
      */
678
-    public function setProcessNumber($processNumber)
679
-    {
639
+    public function setProcessNumber($processNumber) {
680 640
         $this->processNumber = trim($processNumber);
681 641
     }
682 642
 
@@ -686,8 +646,7 @@  discard block
 block discarded – undo
686 646
      *
687 647
      * @return string
688 648
      */
689
-    public function getSubmitterName()
690
-    {
649
+    public function getSubmitterName() {
691 650
         try {
692 651
             $internalFormat = new InternalFormat($this->getXmlData());
693 652
             return $internalFormat->getSubmitterName();
@@ -701,8 +660,7 @@  discard block
 block discarded – undo
701 660
      *
702 661
      * @return string
703 662
      */
704
-    public function getPrimaryUrn()
705
-    {
663
+    public function getPrimaryUrn() {
706 664
         $internalFormat = new InternalFormat($this->getXmlData());
707 665
         return $internalFormat->getPrimaryUrn();
708 666
     }
@@ -712,8 +670,7 @@  discard block
 block discarded – undo
712 670
      *
713 671
      * @return int
714 672
      */
715
-    public function getCreator()
716
-    {
673
+    public function getCreator() {
717 674
         return $this->creator? $this->creator : 0;
718 675
     }
719 676
 
@@ -723,24 +680,20 @@  discard block
 block discarded – undo
723 680
      * @param int $creator
724 681
      * @return void
725 682
      */
726
-    public function setCreator($creator)
727
-    {
683
+    public function setCreator($creator) {
728 684
         $this->creator = $creator;
729 685
     }
730 686
 
731
-    public function getState()
732
-    {
687
+    public function getState() {
733 688
         return $this->state;
734 689
     }
735 690
 
736
-    public function setState($state)
737
-    {
691
+    public function setState($state) {
738 692
         $this->stateChange = $this->state != $state;
739 693
         $this->state = $state;
740 694
     }
741 695
 
742
-    public function getRemoteState()
743
-    {
696
+    public function getRemoteState() {
744 697
         $state = explode(':', $this->state);
745 698
         if (is_array($state) && array_key_exists(1, $state)) {
746 699
             return $state[1];
@@ -778,8 +731,7 @@  discard block
 block discarded – undo
778 731
     /**
779 732
      * @return string
780 733
      */
781
-    public function getRemoteLastModDate()
782
-    {
734
+    public function getRemoteLastModDate() {
783 735
         return $this->remoteLastModDate;
784 736
     }
785 737
 
@@ -787,24 +739,21 @@  discard block
 block discarded – undo
787 739
      * @param string $remoteLastModDate
788 740
      * @return void
789 741
      */
790
-    public function setRemoteLastModDate($remoteLastModDate)
791
-    {
742
+    public function setRemoteLastModDate($remoteLastModDate) {
792 743
         $this->remoteLastModDate = $remoteLastModDate;
793 744
     }
794 745
 
795 746
     /**
796 747
      * @return integer
797 748
      */
798
-    public function getTstamp()
799
-    {
749
+    public function getTstamp() {
800 750
         return $this->tstamp;
801 751
     }
802 752
 
803 753
     /**
804 754
      * @return integer
805 755
      */
806
-    public function getCrdate()
807
-    {
756
+    public function getCrdate() {
808 757
         return $this->crdate;
809 758
     }
810 759
 
@@ -819,8 +768,7 @@  discard block
 block discarded – undo
819 768
     /**
820 769
      * @param bool $suggestion
821 770
      */
822
-    public function setSuggestion(bool $suggestion)
823
-    {
771
+    public function setSuggestion(bool $suggestion) {
824 772
         $this->suggestion = boolval($suggestion);
825 773
     }
826 774
 
@@ -835,8 +783,7 @@  discard block
 block discarded – undo
835 783
     /**
836 784
      * @param string $linkedUid
837 785
      */
838
-    public function setLinkedUid(string $linkedUid)
839
-    {
786
+    public function setLinkedUid(string $linkedUid) {
840 787
         $this->linkedUid = $linkedUid;
841 788
     }
842 789
 
@@ -851,8 +798,7 @@  discard block
 block discarded – undo
851 798
     /**
852 799
      * @param string $comment
853 800
      */
854
-    public function setComment(string $comment)
855
-    {
801
+    public function setComment(string $comment) {
856 802
         $this->comment = $comment;
857 803
     }
858 804
 
@@ -889,8 +835,7 @@  discard block
 block discarded – undo
889 835
      *
890 836
      * @return string|int
891 837
      */
892
-    public function getDocumentIdentifier()
893
-    {
838
+    public function getDocumentIdentifier() {
894 839
         return $this->getObjectIdentifier()? $this->getObjectIdentifier() : $this->getUid();
895 840
     }
896 841
 
@@ -899,8 +844,7 @@  discard block
 block discarded – undo
899 844
      *
900 845
      * @return bool
901 846
      */
902
-    public function isWorkingCopy()
903
-    {
847
+    public function isWorkingCopy() {
904 848
         return $this->getObjectIdentifier() && !$this->isTemporary() && !$this->isSuggestion();
905 849
     }
906 850
 
@@ -910,8 +854,7 @@  discard block
 block discarded – undo
910 854
      *
911 855
      * @return bool
912 856
      */
913
-    public function isTemporaryCopy()
914
-    {
857
+    public function isTemporaryCopy() {
915 858
         return $this->getObjectIdentifier() && $this->isTemporary() && !$this->isSuggestion();
916 859
     }
917 860
 
@@ -921,8 +864,7 @@  discard block
 block discarded – undo
921 864
      *
922 865
      * @return string|null
923 866
      */
924
-    public function getPublicationYear()
925
-    {
867
+    public function getPublicationYear() {
926 868
         $internalFormat = new InternalFormat($this->getXmlData());
927 869
         $year =  $internalFormat->getPublishingYear();
928 870
         return $year? $year : "";
@@ -934,8 +876,7 @@  discard block
 block discarded – undo
934 876
      *
935 877
      * @return string|null
936 878
      */
937
-    public function getSourceDetails()
938
-    {
879
+    public function getSourceDetails() {
939 880
         $internalFormat = new InternalFormat($this->getXmlData());
940 881
         $data = $internalFormat->getSourceDetails();
941 882
         return $data;
@@ -952,8 +893,7 @@  discard block
 block discarded – undo
952 893
     /**
953 894
      * @param \DateTime|null $embargoDate
954 895
      */
955
-    public function setEmbargoDate(?\DateTime $embargoDate)
956
-    {
896
+    public function setEmbargoDate(?\DateTime $embargoDate) {
957 897
         $this->embargoDate = $embargoDate;
958 898
     }
959 899
 
@@ -976,8 +916,7 @@  discard block
 block discarded – undo
976 916
     /**
977 917
      * @return array
978 918
      */
979
-    public function getPreviouslyAssignedFobIdentifiers()
980
-    {
919
+    public function getPreviouslyAssignedFobIdentifiers() {
981 920
         return array_diff(
982 921
             $this->getAssignedFobIdentifiers(), $this->getNewlyAssignedFobIdentifiers()
983 922
         );
@@ -1003,8 +942,7 @@  discard block
 block discarded – undo
1003 942
     /**
1004 943
      * @return mixed
1005 944
      */
1006
-    public function getDepositLicense()
1007
-    {
945
+    public function getDepositLicense() {
1008 946
         $internalFormat = new InternalFormat($this->getXmlData());
1009 947
         $data = $internalFormat->getDepositLicense();
1010 948
         return $data;
Please login to merge, or discard this patch.
Upper-Lower-Casing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @var \EWW\Dpf\Domain\Model\DocumentType
62 62
      */
63
-    protected $documentType = null;
63
+    protected $documentType = NULL;
64 64
 
65 65
     /**
66 66
      * objectIdentifier
@@ -95,14 +95,14 @@  discard block
 block discarded – undo
95 95
      *
96 96
      * @var boolean
97 97
      */
98
-    protected $changed = false;
98
+    protected $changed = FALSE;
99 99
 
100 100
     /**
101 101
      * valid
102 102
      *
103 103
      * @var boolean
104 104
      */
105
-    protected $valid = false;
105
+    protected $valid = FALSE;
106 106
 
107 107
     /**
108 108
      *
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * @var bool $suggestion
121 121
      */
122
-    protected $suggestion = false;
122
+    protected $suggestion = FALSE;
123 123
 
124 124
     /**
125 125
      * creator
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      *
186 186
      * @var \DateTime
187 187
      */
188
-    protected $embargoDate = null;
188
+    protected $embargoDate = NULL;
189 189
 
190 190
     /**
191 191
      * newlyAssignedFobIdentifiers
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * @var bool
199 199
      */
200
-    protected $stateChange = false;
200
+    protected $stateChange = FALSE;
201 201
 
202 202
     /**
203 203
      * file
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\File>
206 206
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
207 207
      */
208
-    protected $file = null;
208
+    protected $file = NULL;
209 209
 
210 210
     const TRANSFER_ERROR = "ERROR";
211 211
     const TRANSFER_QUEUED = "QUEUED";
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
     public function setObjectIdentifier($objectIdentifier)
379 379
     {
380 380
         // Due to uniqe key uc_object_identifier, which should ignore empty object identifiers.
381
-        $this->objectIdentifier = empty($objectIdentifier)? null : $objectIdentifier;
381
+        $this->objectIdentifier = empty($objectIdentifier)? NULL : $objectIdentifier;
382 382
     }
383 383
 
384 384
     /**
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
                 return $file;
562 562
             }
563 563
         }
564
-        return null;
564
+        return NULL;
565 565
     }
566 566
 
567 567
     /**
@@ -575,7 +575,7 @@  discard block
 block discarded – undo
575 575
                 return $file;
576 576
             }
577 577
         }
578
-        return null;
578
+        return NULL;
579 579
     }
580 580
 
581 581
     /**
@@ -587,12 +587,12 @@  discard block
 block discarded – undo
587 587
             foreach ($this->getFile() as $file) {
588 588
                 /** @var File $file */
589 589
                 if (!$file->isFileGroupDeleted()) {
590
-                    return true;
590
+                    return TRUE;
591 591
                 }
592 592
             }
593 593
         }
594 594
 
595
-        return false;
595
+        return FALSE;
596 596
     }
597 597
 
598 598
     /**
Please login to merge, or discard this patch.
Classes/Domain/Model/DocumentForm.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
 
220 220
     public function getFileNames()
221 221
     {
222
-        $fileNames = array();
222
+        $fileNames = array ();
223 223
         foreach ($this->getFiles() as $file) {
224 224
             $fileNames[] = $file->getTitle();
225 225
         }
Please login to merge, or discard this patch.
Braces   +24 added lines, -48 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@  discard block
 block discarded – undo
19 19
  * The TYPO3 project - inspiring people to share!
20 20
  */
21 21
 
22
-class DocumentForm extends AbstractFormElement
23
-{
22
+class DocumentForm extends AbstractFormElement {
24 23
 
25 24
     /**
26 25
      * @var string CSRF token for this form
@@ -84,8 +83,7 @@  discard block
 block discarded – undo
84 83
      *
85 84
      * @param string $csrfToken
86 85
      */
87
-    public function generateCsrfToken()
88
-    {
86
+    public function generateCsrfToken() {
89 87
         $formProtection = FormProtectionFactory::get();
90 88
         $this->csrfToken = $formProtection->generateToken('DocumentForm', 'construct', 'DocumentForm');
91 89
         $formProtection->persistSessionToken();
@@ -100,10 +98,8 @@  discard block
 block discarded – undo
100 98
      * @throws Exception if the given string is empty.
101 99
      * @throws TypeError if the given string is null
102 100
      */
103
-    public function setCsrfToken(string $csrfToken)
104
-    {
105
-        if ($csrfToken === "")
106
-        {
101
+    public function setCsrfToken(string $csrfToken) {
102
+        if ($csrfToken === "") {
107 103
             throw new Exception("A forms CSRF token cannot be empty");
108 104
         }
109 105
         $this->csrfToken = $csrfToken;
@@ -115,8 +111,7 @@  discard block
 block discarded – undo
115 111
      *
116 112
      * @return string CSRF token for this form
117 113
      */
118
-    public function getCsrfToken()
119
-    {
114
+    public function getCsrfToken() {
120 115
         return $this->csrfToken;
121 116
     }
122 117
 
@@ -126,8 +121,7 @@  discard block
 block discarded – undo
126 121
      *
127 122
      * @return bool True, is CSRF token is considered valid. False if the token is invalid or missing.
128 123
      */
129
-    public function hasValidCsrfToken()
130
-    {
124
+    public function hasValidCsrfToken() {
131 125
         $formProtection = FormProtectionFactory::get();
132 126
         return $formProtection->validateToken($this->csrfToken, 'DocumentForm', 'construct', 'DocumentForm');
133 127
     }
@@ -136,8 +130,7 @@  discard block
 block discarded – undo
136 130
      *
137 131
      * @return integer
138 132
      */
139
-    public function getDocumentUid()
140
-    {
133
+    public function getDocumentUid() {
141 134
         return $this->documentUid;
142 135
     }
143 136
 
@@ -145,8 +138,7 @@  discard block
 block discarded – undo
145 138
      *
146 139
      * @param integer $documentUid
147 140
      */
148
-    public function setDocumentUid($documentUid)
149
-    {
141
+    public function setDocumentUid($documentUid) {
150 142
         $this->documentUid = $documentUid;
151 143
     }
152 144
 
@@ -154,8 +146,7 @@  discard block
 block discarded – undo
154 146
      *
155 147
      * @return boolean
156 148
      */
157
-    public function getPrimaryFileMandatory()
158
-    {
149
+    public function getPrimaryFileMandatory() {
159 150
         return $this->primaryFileMandatory;
160 151
     }
161 152
 
@@ -163,8 +154,7 @@  discard block
 block discarded – undo
163 154
      *
164 155
      * @param boolean $primaryFileMandatory
165 156
      */
166
-    public function setPrimaryFileMandatory($primaryFileMandatory)
167
-    {
157
+    public function setPrimaryFileMandatory($primaryFileMandatory) {
168 158
         $this->primaryFileMandatory = boolval($primaryFileMandatory);
169 159
     }
170 160
 
@@ -172,8 +162,7 @@  discard block
 block discarded – undo
172 162
      *
173 163
      * @return string
174 164
      */
175
-    public function getFedoraPid()
176
-    {
165
+    public function getFedoraPid() {
177 166
         return $this->fedoraPid;
178 167
     }
179 168
 
@@ -181,44 +170,37 @@  discard block
 block discarded – undo
181 170
      *
182 171
      * @param string $fedoraPid
183 172
      */
184
-    public function setFedoraPid($fedoraPid)
185
-    {
173
+    public function setFedoraPid($fedoraPid) {
186 174
         $this->fedoraPid = $fedoraPid;
187 175
     }
188 176
 
189
-    public function getFiles()
190
-    {
177
+    public function getFiles() {
191 178
         return $this->files;
192 179
     }
193 180
 
194
-    public function setFiles($files)
195
-    {
181
+    public function setFiles($files) {
196 182
         $this->files = $files;
197 183
     }
198 184
 
199
-    public function addFile($file)
200
-    {
185
+    public function addFile($file) {
201 186
         $this->files[] = $file;
202 187
     }
203 188
 
204 189
     /**
205 190
      * @return bool
206 191
      */
207
-    public function getValid()
208
-    {
192
+    public function getValid() {
209 193
         return $this->valid;
210 194
     }
211 195
 
212 196
     /**
213 197
      * @param bool $valid
214 198
      */
215
-    public function setValid($valid)
216
-    {
199
+    public function setValid($valid) {
217 200
         $this->valid = boolval($valid);
218 201
     }
219 202
 
220
-    public function getFileNames()
221
-    {
203
+    public function getFileNames() {
222 204
         $fileNames = array();
223 205
         foreach ($this->getFiles() as $file) {
224 206
             $fileNames[] = $file->getTitle();
@@ -231,8 +213,7 @@  discard block
 block discarded – undo
231 213
      *
232 214
      * @return string
233 215
      */
234
-    public function getProcessNumber()
235
-    {
216
+    public function getProcessNumber() {
236 217
         return $this->processNumber;
237 218
     }
238 219
 
@@ -241,8 +222,7 @@  discard block
 block discarded – undo
241 222
      *
242 223
      * @param string $processNumber
243 224
      */
244
-    public function setProcessNumber($processNumber)
245
-    {
225
+    public function setProcessNumber($processNumber) {
246 226
         $this->processNumber = $processNumber;
247 227
     }
248 228
 
@@ -251,8 +231,7 @@  discard block
 block discarded – undo
251 231
      *
252 232
      * @return bool
253 233
      */
254
-    public function isTemporary()
255
-    {
234
+    public function isTemporary() {
256 235
         return $this->temporary;
257 236
     }
258 237
 
@@ -260,24 +239,21 @@  discard block
 block discarded – undo
260 239
      * Sets if a document is a temporary document or not.
261 240
      * @param bool $temporary
262 241
      */
263
-    public function setTemporary($temporary)
264
-    {
242
+    public function setTemporary($temporary) {
265 243
         $this->temporary = boolval($temporary);
266 244
     }
267 245
 
268 246
     /**
269 247
      * @return string
270 248
      */
271
-    public function getComment()
272
-    {
249
+    public function getComment() {
273 250
         return $this->comment;
274 251
     }
275 252
 
276 253
     /**
277 254
      * @param string $comment
278 255
      */
279
-    public function setComment($comment)
280
-    {
256
+    public function setComment($comment) {
281 257
         $this->comment = $comment;
282 258
     }
283 259
 }
Please login to merge, or discard this patch.