Passed
Pull Request — master (#209)
by
unknown
10:39
created
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, 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, 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, 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, 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,107 +129,107 @@  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 228
 
229
-        'document'              => array(
229
+        'document'              => array (
230 230
             'exclude' => 1,
231 231
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.document',
232
-            'config'  => array(
232
+            'config'  => array (
233 233
                 'type'          => 'select',
234 234
                 'renderType'    => 'selectSingle',
235 235
                 'foreign_table' => 'tx_dpf_domain_model_document',
@@ -237,8 +237,8 @@  discard block
 block discarded – undo
237 237
                 'maxitems'      => 1,
238 238
             ),
239 239
         ),
240
-        'pid' => array(
241
-            'config' => array(
240
+        'pid' => array (
241
+            'config' => array (
242 242
                 'type' => 'passthrough',
243 243
             )
244 244
         ),
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_client.php 1 patch
Spacing   +230 added lines, -230 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',
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             validation_xpath, fis_id_xpath, source_details_xpaths',
60 60
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
61 61
     ),
62
-    'interface' => array(
62
+    'interface' => array (
63 63
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, client, owner_id,
64 64
         network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace,
65 65
         sword_host, sword_user, sword_password, sword_collection_namespace, fedora_host, fedora_user, fedora_password,
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
         person_author_role, person_publisher_role,
87 87
         validation_xpath, fis_id_xpath, source_details_xpaths'
88 88
     ),
89
-    'types'     => array(
90
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1,
89
+    'types'     => array (
90
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1,
91 91
         client, owner_id, network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace,
92 92
         --div--;Static XML, namespaces, file_xpath, date_xpath, publishing_year_xpath, urn_xpath, primary_urn_xpath, state_xpath, type_xpath, type_xpath_input, title_xpath, process_number_xpath, submitter_name_xpath, submitter_email_xpath, submitter_notice_xpath,
93 93
         original_source_title_xpath, creator_xpath, creation_date_xpath, repository_creation_date_xpath,
@@ -110,64 +110,64 @@  discard block
 block discarded – undo
110 110
         --div--;Default internal format XSLT, input_transformation, output_transformation,  elastic_search_transformation,
111 111
         --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
112 112
     ),
113
-    'palettes'  => array(
114
-        '1' => array('showitem' => ''),
113
+    'palettes'  => array (
114
+        '1' => array ('showitem' => ''),
115 115
     ),
116
-    'columns'   => array(
117
-        'sys_language_uid'   => array(
116
+    'columns'   => array (
117
+        'sys_language_uid'   => array (
118 118
             'exclude' => 1,
119 119
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
120
-            'config'  => array(
120
+            'config'  => array (
121 121
                 'type'                => 'select',
122 122
                 'renderType'          => 'selectSingle',
123 123
                 'foreign_table'       => 'sys_language',
124 124
                 'foreign_table_where' => 'ORDER BY sys_language.title',
125
-                'items'               => array(
126
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
127
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
125
+                'items'               => array (
126
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
127
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
128 128
                 ),
129 129
                 'default' => 0,
130 130
             ),
131 131
         ),
132
-        'l10n_parent'        => array(
132
+        'l10n_parent'        => array (
133 133
             'displayCond' => 'FIELD:sys_language_uid:>:0',
134 134
             'exclude'     => 1,
135 135
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
136
-            'config'      => array(
136
+            'config'      => array (
137 137
                 'type'                => 'select',
138 138
                 'renderType'          => 'selectSingle',
139
-                'items'               => array(
140
-                    array('', 0),
139
+                'items'               => array (
140
+                    array ('', 0),
141 141
                 ),
142 142
                 'foreign_table'       => 'tx_dpf_domain_model_client',
143 143
                 'foreign_table_where' => 'AND tx_dpf_domain_model_client.pid=###CURRENT_PID### AND tx_dpf_domain_model_client.sys_language_uid IN (-1,0)',
144 144
             ),
145 145
         ),
146
-        'l10n_diffsource'    => array(
147
-            'config' => array(
146
+        'l10n_diffsource'    => array (
147
+            'config' => array (
148 148
                 'type' => 'passthrough',
149 149
             ),
150 150
         ),
151
-        't3ver_label'        => array(
151
+        't3ver_label'        => array (
152 152
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
153
-            'config' => array(
153
+            'config' => array (
154 154
                 'type' => 'input',
155 155
                 'size' => 30,
156 156
                 'max'  => 255,
157 157
             ),
158 158
         ),
159
-        'hidden'             => array(
159
+        'hidden'             => array (
160 160
             'exclude' => 1,
161 161
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
162
-            'config'  => array(
162
+            'config'  => array (
163 163
                 'type' => 'check',
164 164
             ),
165 165
         ),
166
-        'starttime'          => array(
166
+        'starttime'          => array (
167 167
             'exclude'   => 1,
168 168
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
169
-            'config'    => array(
170
-                'behaviour' => array(
169
+            'config'    => array (
170
+                'behaviour' => array (
171 171
                     'allowLanguageSynchronization' => true
172 172
                 ),
173 173
                 'type'     => 'input',
@@ -176,16 +176,16 @@  discard block
 block discarded – undo
176 176
                 'eval'     => 'datetime',
177 177
                 'checkbox' => 0,
178 178
                 'default'  => 0,
179
-                'range'    => array(
179
+                'range'    => array (
180 180
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
181 181
                 ),
182 182
             ),
183 183
         ),
184
-        'endtime'            => array(
184
+        'endtime'            => array (
185 185
             'exclude'   => 1,
186 186
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
187
-            'config'    => array(
188
-                'behaviour' => array(
187
+            'config'    => array (
188
+                'behaviour' => array (
189 189
                     'allowLanguageSynchronization' => true
190 190
                 ),
191 191
                 'type'     => 'input',
@@ -194,249 +194,249 @@  discard block
 block discarded – undo
194 194
                 'eval'     => 'datetime',
195 195
                 'checkbox' => 0,
196 196
                 'default'  => 0,
197
-                'range'    => array(
197
+                'range'    => array (
198 198
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
199 199
                 ),
200 200
             ),
201 201
         ),
202
-        'project'            => array(
202
+        'project'            => array (
203 203
             'exclude'   => 1,
204 204
             'l10n_mode' => 'exclude',
205 205
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.project',
206
-            'config'    => array(
206
+            'config'    => array (
207 207
                 'type' => 'input',
208 208
                 'size' => 30,
209 209
                 'eval' => 'trim',
210 210
             ),
211 211
         ),
212
-        'client'             => array(
212
+        'client'             => array (
213 213
             'exclude'      => 1,
214 214
             'l10n_mode'    => 'exclude',
215 215
             'l10n_display' => 'defaultAsReadonly',
216 216
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.client',
217
-            'config'       => array(
217
+            'config'       => array (
218 218
                 'type' => 'input',
219 219
                 'size' => 30,
220 220
                 'eval' => 'trim',
221 221
             ),
222 222
         ),
223
-        'network_initial'    => array(
223
+        'network_initial'    => array (
224 224
             'exclude'   => 1,
225 225
             'l10n_mode' => 'exclude',
226 226
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.network_initial',
227
-            'config'    => array(
227
+            'config'    => array (
228 228
                 'type' => 'input',
229 229
                 'size' => 30,
230 230
                 'eval' => 'trim',
231 231
             ),
232 232
         ),
233
-        'library_identifier' => array(
233
+        'library_identifier' => array (
234 234
             'exclude'   => 1,
235 235
             'l10n_mode' => 'exclude',
236 236
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.library_identifier',
237
-            'config'    => array(
237
+            'config'    => array (
238 238
                 'type' => 'input',
239 239
                 'size' => 30,
240 240
                 'eval' => 'trim',
241 241
             ),
242 242
         ),
243
-        'owner_id'           => array(
243
+        'owner_id'           => array (
244 244
             'exclude'   => 1,
245 245
             'l10n_mode' => 'exclude',
246 246
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.owner_id',
247
-            'config'    => array(
247
+            'config'    => array (
248 248
                 'type' => 'input',
249 249
                 'size' => 30,
250 250
                 'eval' => 'trim,required',
251 251
             ),
252 252
         ),
253
-        'admin_email'        => array(
253
+        'admin_email'        => 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_client.admin_email',
257
-            'config'    => array(
257
+            'config'    => array (
258 258
                 'type' => 'input',
259 259
                 'size' => 30,
260 260
                 'eval' => 'trim',
261 261
             ),
262 262
         ),
263
-        'replace_niss_part'  => array(
263
+        'replace_niss_part'  => array (
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_client.replace_niss_part',
267
-            'config'    => array(
267
+            'config'    => array (
268 268
                 'type'    => 'check',
269 269
                 'default' => 0,
270 270
             ),
271 271
             'onChange' => 'reload',
272 272
         ),
273
-        'niss_part_search'   => array(
273
+        'niss_part_search'   => array (
274 274
             'exclude'     => 1,
275 275
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_search',
276 276
             'displayCond' => 'FIELD:replace_niss_part:=:1',
277
-            'config'      => array(
277
+            'config'      => array (
278 278
                 'type' => 'input',
279 279
                 'size' => 30,
280 280
                 'eval' => 'trim,required',
281 281
                 'default' => '',
282 282
             ),
283 283
         ),
284
-        'niss_part_replace'  => array(
284
+        'niss_part_replace'  => array (
285 285
             'exclude'     => 1,
286 286
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_replace',
287 287
             'displayCond' => 'FIELD:replace_niss_part:=:1',
288
-            'config'      => array(
288
+            'config'      => array (
289 289
                 'type' => 'input',
290 290
                 'size' => 30,
291 291
                 'eval' => 'trim,required',
292 292
                 'default' => '',
293 293
             ),
294 294
         ),
295
-        'sword_host' => array(
295
+        'sword_host' => array (
296 296
             'exclude'      => 1,
297 297
             'l10n_mode'    => 'exclude',
298 298
             'l10n_display' => 'defaultAsReadonly',
299 299
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_host',
300
-            'config'       => array(
300
+            'config'       => array (
301 301
                 'type' => 'input',
302 302
                 'size' => 30,
303 303
                 'eval' => 'trim',
304 304
             ),
305 305
         ),
306
-        'sword_user' => array(
306
+        'sword_user' => array (
307 307
             'exclude'      => 1,
308 308
             'l10n_mode'    => 'exclude',
309 309
             'l10n_display' => 'defaultAsReadonly',
310 310
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_user',
311
-            'config'       => array(
311
+            'config'       => array (
312 312
                 'type' => 'input',
313 313
                 'size' => 30,
314 314
                 'eval' => 'trim',
315 315
             ),
316 316
         ),
317
-        'sword_password' => array(
317
+        'sword_password' => array (
318 318
             'exclude'      => 1,
319 319
             'l10n_mode'    => 'exclude',
320 320
             'l10n_display' => 'defaultAsReadonly',
321 321
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_password',
322
-            'config'       => array(
322
+            'config'       => array (
323 323
                 'type' => 'input',
324 324
                 'size' => 30,
325 325
                 'eval' => 'trim',
326 326
             ),
327 327
         ),
328
-        'sword_collection_namespace' => array(
328
+        'sword_collection_namespace' => array (
329 329
             'exclude'      => 1,
330 330
             'l10n_mode'    => 'exclude',
331 331
             'l10n_display' => 'defaultAsReadonly',
332 332
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_collection_namespace',
333
-            'config'       => array(
333
+            'config'       => array (
334 334
                 'type' => 'input',
335 335
                 'size' => 30,
336 336
                 'eval' => 'trim',
337 337
             ),
338 338
         ),
339
-        'fedora_host' => array(
339
+        'fedora_host' => array (
340 340
             'exclude'      => 1,
341 341
             'l10n_mode'    => 'exclude',
342 342
             'l10n_display' => 'defaultAsReadonly',
343 343
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_host',
344
-            'config'       => array(
344
+            'config'       => array (
345 345
                 'type' => 'input',
346 346
                 'size' => 30,
347 347
                 'eval' => 'trim',
348 348
             ),
349 349
         ),
350
-        'fedora_user' => array(
350
+        'fedora_user' => array (
351 351
             'exclude'      => 1,
352 352
             'l10n_mode'    => 'exclude',
353 353
             'l10n_display' => 'defaultAsReadonly',
354 354
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_user',
355
-            'config'       => array(
355
+            'config'       => array (
356 356
                 'type' => 'input',
357 357
                 'size' => 30,
358 358
                 'eval' => 'trim',
359 359
             ),
360 360
         ),
361
-        'fedora_password' => array(
361
+        'fedora_password' => array (
362 362
             'exclude'      => 1,
363 363
             'l10n_mode'    => 'exclude',
364 364
             'l10n_display' => 'defaultAsReadonly',
365 365
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_password',
366
-            'config'       => array(
366
+            'config'       => array (
367 367
                 'type' => 'input',
368 368
                 'size' => 30,
369 369
                 'eval' => 'trim',
370 370
             ),
371 371
         ),
372
-        'elastic_search_host' => array(
372
+        'elastic_search_host' => array (
373 373
             'exclude'      => 1,
374 374
             'l10n_mode'    => 'exclude',
375 375
             'l10n_display' => 'defaultAsReadonly',
376 376
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_host',
377
-            'config'       => array(
377
+            'config'       => array (
378 378
                 'type' => 'input',
379 379
                 'size' => 30,
380 380
                 'eval' => 'trim',
381 381
             ),
382 382
         ),
383
-        'elastic_search_port' => array(
383
+        'elastic_search_port' => array (
384 384
             'exclude'      => 1,
385 385
             'l10n_mode'    => 'exclude',
386 386
             'l10n_display' => 'defaultAsReadonly',
387 387
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_port',
388
-            'config'       => array(
388
+            'config'       => array (
389 389
                 'type' => 'input',
390 390
                 'size' => 30,
391 391
                 'eval' => 'trim',
392 392
             ),
393 393
         ),
394
-        'elastic_search_index_name' => array(
394
+        'elastic_search_index_name' => array (
395 395
             'exclude'      => 1,
396 396
             'l10n_mode'    => 'exclude',
397 397
             'l10n_display' => 'defaultAsReadonly',
398 398
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_index_name',
399
-            'config'       => array(
399
+            'config'       => array (
400 400
                 'type' => 'input',
401 401
                 'size' => 30,
402 402
                 'eval' => 'trim',
403 403
             ),
404 404
         ),
405
-        'upload_directory' => array(
405
+        'upload_directory' => array (
406 406
             'exclude'      => 1,
407 407
             'l10n_mode'    => 'exclude',
408 408
             'l10n_display' => 'defaultAsReadonly',
409 409
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_directory',
410
-            'config'       => array(
410
+            'config'       => array (
411 411
                 'type' => 'input',
412 412
                 'size' => 30,
413 413
                 'eval' => 'trim',
414 414
             ),
415 415
         ),
416
-        'upload_domain' => array(
416
+        'upload_domain' => array (
417 417
             'exclude'      => 1,
418 418
             'l10n_mode'    => 'exclude',
419 419
             'l10n_display' => 'defaultAsReadonly',
420 420
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_domain',
421
-            'config'       => array(
421
+            'config'       => array (
422 422
                 'type' => 'input',
423 423
                 'size' => 30,
424 424
                 'eval' => 'trim',
425 425
             ),
426 426
         ),
427
-        'admin_new_document_notification_subject' => array(
427
+        'admin_new_document_notification_subject' => array (
428 428
             'exclude' => 1,
429 429
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_subject',
430
-            'config'  => array(
430
+            'config'  => array (
431 431
                 'type' => 'input',
432 432
                 'size' => 50,
433 433
                 'eval' => 'trim',
434 434
             ),
435 435
         ),
436
-        'admin_new_document_notification_body' => array(
436
+        'admin_new_document_notification_body' => array (
437 437
             'exclude' => 1,
438 438
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_body',
439
-            'config'  => array(
439
+            'config'  => array (
440 440
                 'type' => 'text',
441 441
                 'cols' => 40,
442 442
                 'rows' => 15,
@@ -444,19 +444,19 @@  discard block
 block discarded – undo
444 444
                 'enableRichtext' => true,
445 445
             ),
446 446
         ),
447
-        'admin_register_document_notification_subject' => array(
447
+        'admin_register_document_notification_subject' => array (
448 448
             'exclude' => 1,
449 449
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_subject',
450
-            'config'  => array(
450
+            'config'  => array (
451 451
                 'type' => 'input',
452 452
                 'size' => 50,
453 453
                 'eval' => 'trim',
454 454
             ),
455 455
         ),
456
-        'admin_register_document_notification_body' => array(
456
+        'admin_register_document_notification_body' => array (
457 457
             'exclude' => 1,
458 458
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_body',
459
-            'config'  => array(
459
+            'config'  => array (
460 460
                 'type' => 'text',
461 461
                 'cols' => 40,
462 462
                 'rows' => 15,
@@ -464,19 +464,19 @@  discard block
 block discarded – undo
464 464
                 'enableRichtext' => true,
465 465
             ),
466 466
         ),
467
-        'submitter_new_document_notification_subject' => array(
467
+        'submitter_new_document_notification_subject' => array (
468 468
             'exclude' => 1,
469 469
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_subject',
470
-            'config'  => array(
470
+            'config'  => array (
471 471
                 'type' => 'input',
472 472
                 'size' => 50,
473 473
                 'eval' => 'trim',
474 474
             ),
475 475
         ),
476
-        'submitter_new_document_notification_body' => array(
476
+        'submitter_new_document_notification_body' => array (
477 477
             'exclude' => 1,
478 478
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_body',
479
-            'config'  => array(
479
+            'config'  => array (
480 480
                 'type' => 'text',
481 481
                 'cols' => 40,
482 482
                 'rows' => 15,
@@ -484,19 +484,19 @@  discard block
 block discarded – undo
484 484
                 'enableRichtext' => true,
485 485
             ),
486 486
         ),
487
-        'submitter_ingest_notification_subject' => array(
487
+        'submitter_ingest_notification_subject' => array (
488 488
             'exclude' => 1,
489 489
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_subject',
490
-            'config'  => array(
490
+            'config'  => array (
491 491
                 'type' => 'input',
492 492
                 'size' => 50,
493 493
                 'eval' => 'trim',
494 494
             ),
495 495
         ),
496
-        'submitter_ingest_notification_body' => array(
496
+        'submitter_ingest_notification_body' => array (
497 497
             'exclude' => 1,
498 498
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_body',
499
-            'config'  => array(
499
+            'config'  => array (
500 500
                 'type' => 'text',
501 501
                 'cols' => 40,
502 502
                 'rows' => 15,
@@ -504,19 +504,19 @@  discard block
 block discarded – undo
504 504
                 'enableRichtext' => true,
505 505
             ),
506 506
         ),
507
-        'admin_new_suggestion_subject' => array(
507
+        'admin_new_suggestion_subject' => array (
508 508
             'exclude' => 1,
509 509
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_subject',
510
-            'config'  => array(
510
+            'config'  => array (
511 511
                 'type' => 'input',
512 512
                 'size' => 50,
513 513
                 'eval' => 'trim',
514 514
             ),
515 515
         ),
516
-        'admin_new_suggestion_body' => array(
516
+        'admin_new_suggestion_body' => array (
517 517
             'exclude' => 1,
518 518
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_body',
519
-            'config'  => array(
519
+            'config'  => array (
520 520
                 'type' => 'text',
521 521
                 'cols' => 40,
522 522
                 'rows' => 15,
@@ -524,19 +524,19 @@  discard block
 block discarded – undo
524 524
                 'enableRichtext' => true,
525 525
             ),
526 526
         ),
527
-        'admin_embargo_subject' => array(
527
+        'admin_embargo_subject' => array (
528 528
             'exclude' => 1,
529 529
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_subject',
530
-            'config'  => array(
530
+            'config'  => array (
531 531
                 'type' => 'input',
532 532
                 'size' => 50,
533 533
                 'eval' => 'trim',
534 534
             ),
535 535
         ),
536
-        'admin_embargo_body' => array(
536
+        'admin_embargo_body' => array (
537 537
             'exclude' => 1,
538 538
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_body',
539
-            'config'  => array(
539
+            'config'  => array (
540 540
                 'type' => 'text',
541 541
                 'cols' => 40,
542 542
                 'rows' => 15,
@@ -544,378 +544,378 @@  discard block
 block discarded – undo
544 544
                 'enableRichtext' => true,
545 545
             ),
546 546
         ),
547
-        'suggestion_flashmessage' => array(
547
+        'suggestion_flashmessage' => array (
548 548
             'exclude' => 1,
549 549
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.suggestion_flashmessage',
550
-            'config'  => array(
550
+            'config'  => array (
551 551
                 'type' => 'input',
552 552
                 'size' => 50,
553 553
                 'eval' => 'trim',
554 554
             ),
555 555
         ),
556
-        'file_xpath' => array(
556
+        'file_xpath' => array (
557 557
             'exclude'   => 1,
558 558
             'l10n_mode' => 'exclude',
559 559
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_xpath',
560
-            'config'    => array(
560
+            'config'    => array (
561 561
                 'type' => 'input',
562 562
                 'size' => 80,
563 563
                 'eval' => 'trim',
564 564
             ),
565 565
         ),
566
-        'state_xpath' => array(
566
+        'state_xpath' => array (
567 567
             'exclude'   => 1,
568 568
             'l10n_mode' => 'exclude',
569 569
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.state_xpath',
570
-            'config'    => array(
570
+            'config'    => array (
571 571
                 'type' => 'input',
572 572
                 'size' => 80,
573 573
                 'eval' => 'trim',
574 574
             ),
575 575
         ),
576
-        'type_xpath' => array(
576
+        'type_xpath' => array (
577 577
             'exclude'   => 1,
578 578
             'l10n_mode' => 'exclude',
579 579
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.type_xpath',
580
-            'config'    => array(
580
+            'config'    => array (
581 581
                 'type' => 'input',
582 582
                 'size' => 80,
583 583
                 'eval' => 'trim',
584 584
             ),
585 585
         ),
586
-        'type_xpath_input' => array(
586
+        'type_xpath_input' => array (
587 587
             'exclude'   => 1,
588 588
             'l10n_mode' => 'exclude',
589 589
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.type_xpath_input',
590
-            'config'    => array(
590
+            'config'    => array (
591 591
                 'type' => 'input',
592 592
                 'size' => 80,
593 593
                 'eval' => 'trim',
594 594
             ),
595 595
         ),
596
-        'date_xpath' => array(
596
+        'date_xpath' => array (
597 597
             'exclude'   => 1,
598 598
             'l10n_mode' => 'exclude',
599 599
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.date_xpath',
600
-            'config'    => array(
600
+            'config'    => array (
601 601
                 'type' => 'input',
602 602
                 'size' => 80,
603 603
                 'eval' => 'trim',
604 604
             ),
605 605
         ),
606
-        'publishing_year_xpath' => array(
606
+        'publishing_year_xpath' => array (
607 607
             'exclude'   => 1,
608 608
             'l10n_mode' => 'exclude',
609 609
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.publishing_year_xpath',
610
-            'config'    => array(
610
+            'config'    => array (
611 611
                 'type' => 'input',
612 612
                 'size' => 80,
613 613
                 'eval' => 'trim',
614 614
             ),
615 615
         ),
616
-        'urn_xpath' => array(
616
+        'urn_xpath' => array (
617 617
             'exclude'   => 1,
618 618
             'l10n_mode' => 'exclude',
619 619
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.urn_xpath',
620
-            'config'    => array(
620
+            'config'    => array (
621 621
                 'type' => 'input',
622 622
                 'size' => 80,
623 623
                 'eval' => 'trim',
624 624
             ),
625 625
         ),
626
-        'primary_urn_xpath' => array(
626
+        'primary_urn_xpath' => array (
627 627
             'exclude'   => 1,
628 628
             'l10n_mode' => 'exclude',
629 629
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.primary_urn_xpath',
630
-            'config'    => array(
630
+            'config'    => array (
631 631
                 'type' => 'input',
632 632
                 'size' => 80,
633 633
                 'eval' => 'trim',
634 634
             ),
635 635
         ),
636
-        'namespaces' => array(
636
+        'namespaces' => array (
637 637
             'exclude'   => 1,
638 638
             'l10n_mode' => 'exclude',
639 639
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.namespaces',
640
-            'config'    => array(
640
+            'config'    => array (
641 641
                 'type' => 'input',
642 642
                 'size' => 80,
643 643
                 'eval' => 'trim',
644 644
             ),
645 645
         ),
646
-        'title_xpath' => array(
646
+        'title_xpath' => array (
647 647
             'exclude'   => 1,
648 648
             'l10n_mode' => 'exclude',
649 649
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.title_xpath',
650
-            'config'    => array(
650
+            'config'    => array (
651 651
                 'type' => 'input',
652 652
                 'size' => 30,
653 653
                 'eval' => 'trim',
654 654
             ),
655 655
         ),
656
-        'process_number_xpath' => array(
656
+        'process_number_xpath' => array (
657 657
             'exclude'   => 1,
658 658
             'l10n_mode' => 'exclude',
659 659
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.process_number_xpath',
660
-            'config'    => array(
660
+            'config'    => array (
661 661
                 'type' => 'input',
662 662
                 'size' => 80,
663 663
                 'eval' => 'trim',
664 664
             ),
665 665
         ),
666
-        'submitter_name_xpath' => array(
666
+        'submitter_name_xpath' => array (
667 667
             'exclude'   => 1,
668 668
             'l10n_mode' => 'exclude',
669 669
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_name',
670
-            'config'    => array(
670
+            'config'    => array (
671 671
                 'type' => 'input',
672 672
                 'size' => 80,
673 673
                 'eval' => 'trim',
674 674
             ),
675 675
         ),
676
-        'submitter_email_xpath' => array(
676
+        'submitter_email_xpath' => array (
677 677
             'exclude'   => 1,
678 678
             'l10n_mode' => 'exclude',
679 679
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_email',
680
-            'config'    => array(
680
+            'config'    => array (
681 681
                 'type' => 'input',
682 682
                 'size' => 80,
683 683
                 'eval' => 'trim',
684 684
             ),
685 685
         ),
686
-        'submitter_notice_xpath' => array(
686
+        'submitter_notice_xpath' => array (
687 687
             'exclude'   => 1,
688 688
             'l10n_mode' => 'exclude',
689 689
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_notice',
690
-            'config'    => array(
690
+            'config'    => array (
691 691
                 'type' => 'input',
692 692
                 'size' => 80,
693 693
                 'eval' => 'trim',
694 694
             ),
695 695
         ),
696
-        'original_source_title_xpath' => array(
696
+        'original_source_title_xpath' => array (
697 697
             'exclude'   => 1,
698 698
             'l10n_mode' => 'exclude',
699 699
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.original_source_title_xpath',
700
-            'config'    => array(
700
+            'config'    => array (
701 701
                 'type' => 'input',
702 702
                 'size' => 80,
703 703
                 'eval' => 'trim',
704 704
             ),
705 705
         ),
706
-        'creator_xpath' => array(
706
+        'creator_xpath' => array (
707 707
             'exclude'   => 1,
708 708
             'l10n_mode' => 'exclude',
709 709
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.creator_xpath',
710
-            'config'    => array(
710
+            'config'    => array (
711 711
                 'type' => 'input',
712 712
                 'size' => 80,
713 713
                 'eval' => 'trim',
714 714
             ),
715 715
         ),
716
-        'creation_date_xpath' => array(
716
+        'creation_date_xpath' => array (
717 717
             'exclude'   => 1,
718 718
             'l10n_mode' => 'exclude',
719 719
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.creation_date_xpath',
720
-            'config'    => array(
720
+            'config'    => array (
721 721
                 'type' => 'input',
722 722
                 'size' => 80,
723 723
                 'eval' => 'trim',
724 724
             ),
725 725
         ),
726 726
 
727
-        'repository_creation_date_xpath' => array(
727
+        'repository_creation_date_xpath' => array (
728 728
             'exclude'   => 1,
729 729
             'l10n_mode' => 'exclude',
730 730
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.repository_creation_date_xpath',
731
-            'config'    => array(
731
+            'config'    => array (
732 732
                 'type' => 'input',
733 733
                 'size' => 80,
734 734
                 'eval' => 'trim',
735 735
             ),
736 736
         ),
737
-        'repository_last_mod_date_xpath' => array(
737
+        'repository_last_mod_date_xpath' => array (
738 738
             'exclude'   => 1,
739 739
             'l10n_mode' => 'exclude',
740 740
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.repository_last_mod_date_xpath',
741
-            'config'    => array(
741
+            'config'    => array (
742 742
                 'type' => 'input',
743 743
                 'size' => 80,
744 744
                 'eval' => 'trim',
745 745
             ),
746 746
         ),
747
-        'deposit_license_xpath' => array(
747
+        'deposit_license_xpath' => array (
748 748
             'exclude'   => 1,
749 749
             'l10n_mode' => 'exclude',
750 750
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.deposit_license_xpath',
751
-            'config'    => array(
751
+            'config'    => array (
752 752
                 'type' => 'input',
753 753
                 'size' => 80,
754 754
                 'eval' => 'trim',
755 755
             ),
756 756
         ),
757
-        'all_notes_xpath' => array(
757
+        'all_notes_xpath' => array (
758 758
             'exclude'   => 1,
759 759
             'l10n_mode' => 'exclude',
760 760
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.all_notes_xpath',
761
-            'config'    => array(
761
+            'config'    => array (
762 762
                 'type' => 'input',
763 763
                 'size' => 80,
764 764
                 'eval' => 'trim',
765 765
             ),
766 766
         ),
767
-        'private_notes_xpath' => array(
767
+        'private_notes_xpath' => array (
768 768
             'exclude'   => 1,
769 769
             'l10n_mode' => 'exclude',
770 770
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.private_notes_xpath',
771
-            'config'    => array(
771
+            'config'    => array (
772 772
                 'type' => 'input',
773 773
                 'size' => 80,
774 774
                 'eval' => 'trim',
775 775
             ),
776 776
         ),
777
-        'person_xpath' => array(
777
+        'person_xpath' => array (
778 778
             'exclude'   => 1,
779 779
             'l10n_mode' => 'exclude',
780 780
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_xpath',
781
-            'config'    => array(
781
+            'config'    => array (
782 782
                 'type' => 'input',
783 783
                 'size' => 80,
784 784
                 'eval' => 'trim',
785 785
             ),
786 786
         ),
787
-        'person_family_xpath' => array(
787
+        'person_family_xpath' => array (
788 788
             'exclude'   => 1,
789 789
             'l10n_mode' => 'exclude',
790 790
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_family_xpath',
791
-            'config'    => array(
791
+            'config'    => array (
792 792
                 'type' => 'input',
793 793
                 'size' => 80,
794 794
                 'eval' => 'trim',
795 795
             ),
796 796
         ),
797
-        'person_given_xpath' => array(
797
+        'person_given_xpath' => array (
798 798
             'exclude'   => 1,
799 799
             'l10n_mode' => 'exclude',
800 800
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_given_xpath',
801
-            'config'    => array(
801
+            'config'    => array (
802 802
                 'type' => 'input',
803 803
                 'size' => 80,
804 804
                 'eval' => 'trim',
805 805
             ),
806 806
         ),
807
-        'person_role_xpath' => array(
807
+        'person_role_xpath' => array (
808 808
             'exclude'   => 1,
809 809
             'l10n_mode' => 'exclude',
810 810
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_role_xpath',
811
-            'config'    => array(
811
+            'config'    => array (
812 812
                 'type' => 'input',
813 813
                 'size' => 80,
814 814
                 'eval' => 'trim',
815 815
             ),
816 816
         ),
817
-        'person_fis_identifier_xpath' => array(
817
+        'person_fis_identifier_xpath' => array (
818 818
             'exclude'   => 1,
819 819
             'l10n_mode' => 'exclude',
820 820
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_fis_identifier_xpath',
821
-            'config'    => array(
821
+            'config'    => array (
822 822
                 'type' => 'input',
823 823
                 'size' => 80,
824 824
                 'eval' => 'trim',
825 825
             ),
826 826
         ),
827
-        'person_affiliation_xpath' => array(
827
+        'person_affiliation_xpath' => array (
828 828
             'exclude'   => 1,
829 829
             'l10n_mode' => 'exclude',
830 830
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_affiliation_xpath',
831
-            'config'    => array(
831
+            'config'    => array (
832 832
                 'type' => 'input',
833 833
                 'size' => 80,
834 834
                 'eval' => 'trim',
835 835
             ),
836 836
         ),
837
-        'person_affiliation_identifier_xpath' => array(
837
+        'person_affiliation_identifier_xpath' => array (
838 838
             'exclude'   => 1,
839 839
             'l10n_mode' => 'exclude',
840 840
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_affiliation_identifier_xpath',
841
-            'config'    => array(
841
+            'config'    => array (
842 842
                 'type' => 'input',
843 843
                 'size' => 80,
844 844
                 'eval' => 'trim',
845 845
             ),
846 846
         ),
847
-        'person_author_role' => array(
847
+        'person_author_role' => array (
848 848
             'exclude'   => 1,
849 849
             'l10n_mode' => 'exclude',
850 850
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_author_role',
851
-            'config'    => array(
851
+            'config'    => array (
852 852
                 'type' => 'input',
853 853
                 'size' => 30,
854 854
                 'eval' => 'trim',
855 855
             ),
856 856
         ),
857
-        'person_publisher_role' => array(
857
+        'person_publisher_role' => array (
858 858
             'exclude'   => 1,
859 859
             'l10n_mode' => 'exclude',
860 860
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_publisher_role',
861
-            'config'    => array(
861
+            'config'    => array (
862 862
                 'type' => 'input',
863 863
                 'size' => 30,
864 864
                 'eval' => 'trim',
865 865
             ),
866 866
         ),
867
-        'validation_xpath' => array(
867
+        'validation_xpath' => array (
868 868
             'exclude'   => 1,
869 869
             'l10n_mode' => 'exclude',
870 870
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.validation_xpath',
871
-            'config'    => array(
871
+            'config'    => array (
872 872
                 'type' => 'input',
873 873
                 'size' => 80,
874 874
                 'eval' => 'trim',
875 875
             ),
876 876
         ),
877
-        'fis_id_xpath' => array(
877
+        'fis_id_xpath' => array (
878 878
             'exclude'   => 1,
879 879
             'l10n_mode' => 'exclude',
880 880
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fis_id_xpath',
881
-            'config'    => array(
881
+            'config'    => array (
882 882
                 'type' => 'input',
883 883
                 'size' => 80,
884 884
                 'eval' => 'trim',
885 885
             ),
886 886
         ),
887
-        'source_details_xpaths' => array(
887
+        'source_details_xpaths' => array (
888 888
             'exclude'   => 1,
889 889
             'l10n_mode' => 'exclude',
890 890
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.source_details_xpaths',
891
-            'config'    => array(
891
+            'config'    => array (
892 892
                 'type' => 'input',
893 893
                 'size' => 80,
894 894
                 'eval' => 'trim',
895 895
             ),
896 896
         ),
897
-        'mypublications_update_notification_subject' => array(
897
+        'mypublications_update_notification_subject' => array (
898 898
             'exclude' => 1,
899 899
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_update_notification_subject',
900
-            'config'  => array(
900
+            'config'  => array (
901 901
                 'type' => 'input',
902 902
                 'size' => 50,
903 903
                 'eval' => 'trim',
904 904
             ),
905 905
         ),
906
-        'admin_deposit_license_notification_subject' => array(
906
+        'admin_deposit_license_notification_subject' => array (
907 907
             'exclude' => 1,
908 908
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_deposit_license_notification_subject',
909
-            'config'  => array(
909
+            'config'  => array (
910 910
                 'type' => 'input',
911 911
                 'size' => 50,
912 912
                 'eval' => 'trim',
913 913
             ),
914 914
         ),
915
-        'mypublications_update_notification_body' => array(
915
+        'mypublications_update_notification_body' => array (
916 916
             'exclude' => 1,
917 917
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_update_notification_body',
918
-            'config'  => array(
918
+            'config'  => array (
919 919
                 'type' => 'text',
920 920
                 'cols' => 40,
921 921
                 'rows' => 15,
@@ -923,10 +923,10 @@  discard block
 block discarded – undo
923 923
                 'enableRichtext' => true,
924 924
             ),
925 925
         ),
926
-        'admin_deposit_license_notification_body' => array(
926
+        'admin_deposit_license_notification_body' => array (
927 927
             'exclude' => 1,
928 928
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_deposit_license_notification_body',
929
-            'config'  => array(
929
+            'config'  => array (
930 930
                 'type' => 'text',
931 931
                 'cols' => 40,
932 932
                 'rows' => 15,
@@ -934,19 +934,19 @@  discard block
 block discarded – undo
934 934
                 'enableRichtext' => true,
935 935
             ),
936 936
         ),
937
-        'mypublications_new_notification_subject' => array(
937
+        'mypublications_new_notification_subject' => array (
938 938
             'exclude' => 1,
939 939
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_new_notification_subject',
940
-            'config'  => array(
940
+            'config'  => array (
941 941
                 'type' => 'input',
942 942
                 'size' => 50,
943 943
                 'eval' => 'trim',
944 944
             ),
945 945
         ),
946
-        'mypublications_new_notification_body' => array(
946
+        'mypublications_new_notification_body' => array (
947 947
             'exclude' => 1,
948 948
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_new_notification_body',
949
-            'config'  => array(
949
+            'config'  => array (
950 950
                 'type' => 'text',
951 951
                 'cols' => 40,
952 952
                 'rows' => 15,
@@ -959,8 +959,8 @@  discard block
 block discarded – undo
959 959
             'l10n_mode' => 'exclude',
960 960
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.output_transformation',
961 961
             'config'    => [
962
-                'items' => array(
963
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
962
+                'items' => array (
963
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
964 964
                 ),
965 965
                 'type'           => 'select',
966 966
                 'renderType'     => 'selectSingle',
@@ -975,8 +975,8 @@  discard block
 block discarded – undo
975 975
             'l10n_mode' => 'exclude',
976 976
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.input_transformation',
977 977
             'config'    => [
978
-                'items' => array(
979
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
978
+                'items' => array (
979
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
980 980
                 ),
981 981
                 'type'           => 'select',
982 982
                 'renderType'     => 'selectSingle',
@@ -991,8 +991,8 @@  discard block
 block discarded – undo
991 991
             'l10n_mode' => 'exclude',
992 992
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_transformation',
993 993
             'config'    => [
994
-                'items' => array(
995
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
994
+                'items' => array (
995
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
996 996
                 ),
997 997
                 'type'           => 'select',
998 998
                 'renderType'     => 'selectSingle',
@@ -1002,13 +1002,13 @@  discard block
 block discarded – undo
1002 1002
                 'default' => 0,
1003 1003
             ],
1004 1004
         ],
1005
-        'crossref_transformation' => array(
1005
+        'crossref_transformation' => array (
1006 1006
             'exclude' => 1,
1007 1007
             'l10n_mode' => 'exclude',
1008 1008
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.crossref_transformation',
1009
-            'config'    => array(
1010
-                'items' => array(
1011
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1009
+            'config'    => array (
1010
+                'items' => array (
1011
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1012 1012
                 ),
1013 1013
                 'type'           => 'select',
1014 1014
                 'renderType'     => 'selectSingle',
@@ -1018,13 +1018,13 @@  discard block
 block discarded – undo
1018 1018
                 'default' => 0,
1019 1019
             ),
1020 1020
         ),
1021
-        'datacite_transformation' => array(
1021
+        'datacite_transformation' => array (
1022 1022
             'exclude' => 1,
1023 1023
             'l10n_mode' => 'exclude',
1024 1024
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.datacite_transformation',
1025
-            'config'    => array(
1026
-                'items' => array(
1027
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1025
+            'config'    => array (
1026
+                'items' => array (
1027
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1028 1028
                 ),
1029 1029
                 'type'           => 'select',
1030 1030
                 'renderType'     => 'selectSingle',
@@ -1034,13 +1034,13 @@  discard block
 block discarded – undo
1034 1034
                 'default' => 0,
1035 1035
             ),
1036 1036
         ),
1037
-        'k10plus_transformation' => array(
1037
+        'k10plus_transformation' => array (
1038 1038
             'exclude' => 1,
1039 1039
             'l10n_mode' => 'exclude',
1040 1040
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.k10plus_transformation',
1041
-            'config'    => array(
1042
-                'items' => array(
1043
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1041
+            'config'    => array (
1042
+                'items' => array (
1043
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1044 1044
                 ),
1045 1045
                 'type'           => 'select',
1046 1046
                 'renderType'     => 'selectSingle',
@@ -1050,13 +1050,13 @@  discard block
 block discarded – undo
1050 1050
                 'default' => 0,
1051 1051
             ),
1052 1052
         ),
1053
-        'pubmed_transformation' => array(
1053
+        'pubmed_transformation' => array (
1054 1054
             'exclude' => 1,
1055 1055
             'l10n_mode' => 'exclude',
1056 1056
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.pubmed_transformation',
1057
-            'config'    => array(
1058
-                'items' => array(
1059
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1057
+            'config'    => array (
1058
+                'items' => array (
1059
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1060 1060
                 ),
1061 1061
                 'type'           => 'select',
1062 1062
                 'renderType'     => 'selectSingle',
@@ -1066,13 +1066,13 @@  discard block
 block discarded – undo
1066 1066
                 'default' => 0,
1067 1067
             ),
1068 1068
         ),
1069
-        'bibtex_transformation' => array(
1069
+        'bibtex_transformation' => array (
1070 1070
             'exclude' => 1,
1071 1071
             'l10n_mode' => 'exclude',
1072 1072
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.bibtex_transformation',
1073
-            'config'    => array(
1074
-                'items' => array(
1075
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1073
+            'config'    => array (
1074
+                'items' => array (
1075
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1076 1076
                 ),
1077 1077
                 'type'           => 'select',
1078 1078
                 'renderType'     => 'selectSingle',
@@ -1082,13 +1082,13 @@  discard block
 block discarded – undo
1082 1082
                 'default' => 0,
1083 1083
             ),
1084 1084
         ),
1085
-        'riswos_transformation' => array(
1085
+        'riswos_transformation' => array (
1086 1086
             'exclude' => 1,
1087 1087
             'l10n_mode' => 'exclude',
1088 1088
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.riswos_transformation',
1089
-            'config'    => array(
1090
-                'items' => array(
1091
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1089
+            'config'    => array (
1090
+                'items' => array (
1091
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1092 1092
                 ),
1093 1093
                 'type'           => 'select',
1094 1094
                 'renderType'     => 'selectSingle',
@@ -1098,95 +1098,95 @@  discard block
 block discarded – undo
1098 1098
                 'default' => 0,
1099 1099
             ),
1100 1100
         ),
1101
-        'send_admin_deposit_license_notification'  => array(
1101
+        'send_admin_deposit_license_notification'  => array (
1102 1102
             'exclude'   => 1,
1103 1103
             'l10n_mode' => 'exclude',
1104 1104
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.send_admin_deposit_license_notification',
1105
-            'config'    => array(
1105
+            'config'    => array (
1106 1106
                 'type'    => 'check',
1107 1107
                 'default' => 0,
1108 1108
             ),
1109 1109
         ),
1110
-        'active_messaging_suggestion_accept_url' => array(
1110
+        'active_messaging_suggestion_accept_url' => array (
1111 1111
             'exclude' => 1,
1112 1112
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_accept_url',
1113
-            'config'  => array(
1113
+            'config'  => array (
1114 1114
                 'type' => 'input',
1115 1115
                 'size' => 50,
1116 1116
                 'eval' => 'trim',
1117 1117
             ),
1118 1118
         ),
1119
-        'active_messaging_suggestion_decline_url' => array(
1119
+        'active_messaging_suggestion_decline_url' => array (
1120 1120
             'exclude' => 1,
1121 1121
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_decline_url',
1122
-            'config'  => array(
1122
+            'config'  => array (
1123 1123
                 'type' => 'input',
1124 1124
                 'size' => 50,
1125 1125
                 'eval' => 'trim',
1126 1126
             ),
1127 1127
         ),
1128
-        'active_messaging_new_document_url' => array(
1128
+        'active_messaging_new_document_url' => array (
1129 1129
             'exclude' => 1,
1130 1130
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_new_document_url',
1131
-            'config'  => array(
1131
+            'config'  => array (
1132 1132
                 'type' => 'input',
1133 1133
                 'size' => 50,
1134 1134
                 'eval' => 'trim',
1135 1135
             ),
1136 1136
         ),
1137
-        'active_messaging_changed_document_url' => array(
1137
+        'active_messaging_changed_document_url' => array (
1138 1138
             'exclude' => 1,
1139 1139
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_changed_document_url',
1140
-            'config'  => array(
1140
+            'config'  => array (
1141 1141
                 'type' => 'input',
1142 1142
                 'size' => 50,
1143 1143
                 'eval' => 'trim',
1144 1144
             ),
1145 1145
         ),
1146
-        'active_messaging_suggestion_accept_url_body' => array(
1146
+        'active_messaging_suggestion_accept_url_body' => array (
1147 1147
             'exclude' => 1,
1148 1148
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_accept_url_body',
1149
-            'config'  => array(
1149
+            'config'  => array (
1150 1150
                 'type' => 'text',
1151 1151
                 'cols' => 40,
1152 1152
                 'rows' => 15,
1153 1153
                 'eval' => 'trim',
1154 1154
             ),
1155 1155
         ),
1156
-        'active_messaging_suggestion_decline_url_body' => array(
1156
+        'active_messaging_suggestion_decline_url_body' => array (
1157 1157
             'exclude' => 1,
1158 1158
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_decline_url_body',
1159
-            'config'  => array(
1159
+            'config'  => array (
1160 1160
                 'type' => 'text',
1161 1161
                 'cols' => 40,
1162 1162
                 'rows' => 15,
1163 1163
                 'eval' => 'trim',
1164 1164
             ),
1165 1165
         ),
1166
-        'active_messaging_new_document_url_body' => array(
1166
+        'active_messaging_new_document_url_body' => array (
1167 1167
             'exclude' => 1,
1168 1168
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_new_document_url_body',
1169
-            'config'  => array(
1169
+            'config'  => array (
1170 1170
                 'type' => 'text',
1171 1171
                 'cols' => 40,
1172 1172
                 'rows' => 15,
1173 1173
                 'eval' => 'trim',
1174 1174
             ),
1175 1175
         ),
1176
-        'active_messaging_changed_document_url_body' => array(
1176
+        'active_messaging_changed_document_url_body' => array (
1177 1177
             'exclude' => 1,
1178 1178
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_changed_document_url_body',
1179
-            'config'  => array(
1179
+            'config'  => array (
1180 1180
                 'type' => 'text',
1181 1181
                 'cols' => 40,
1182 1182
                 'rows' => 15,
1183 1183
                 'eval' => 'trim',
1184 1184
             ),
1185 1185
         ),
1186
-        'fis_mapping' => array(
1186
+        'fis_mapping' => array (
1187 1187
             'exclude' => 1,
1188 1188
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fis_mapping',
1189
-            'config'  => array(
1189
+            'config'  => array (
1190 1190
                 'type' => 'text',
1191 1191
                 'cols' => 40,
1192 1192
                 'rows' => 15,
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_bookmark.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -16,47 +16,47 @@
 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_bookmark',
22 22
         'label'                    => 'document_identifier',
23 23
         'searchFields'             => 'document_identifier, fe_user_uid',
24 24
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
25 25
     ),
26
-    'interface' => array(
26
+    'interface' => array (
27 27
         'showRecordFieldList' => 'document_identifier, fe_user_uid',
28 28
     ),
29
-    'types'     => array(
30
-        '1' => array('showitem' => ',--palette--;;1,
29
+    'types'     => array (
30
+        '1' => array ('showitem' => ',--palette--;;1,
31 31
         document_identifier, fe_user_uid,
32 32
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access'),
33 33
     ),
34
-    'palettes'  => array(
35
-        '1' => array('showitem' => ''),
34
+    'palettes'  => array (
35
+        '1' => array ('showitem' => ''),
36 36
     ),
37
-    'columns'   => array(
37
+    'columns'   => array (
38 38
 
39
-        'document_identifier' => array(
39
+        'document_identifier' => array (
40 40
             'exclude' => 0,
41 41
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_bookmark.document_identifier',
42
-            'config'  => array(
42
+            'config'  => array (
43 43
                 'type' => 'input',
44 44
                 'size' => '30',
45 45
                 'eval' => 'trim',
46 46
             ),
47 47
         ),
48
-        'fe_user_uid'         => array(
48
+        'fe_user_uid'         => array (
49 49
             'exclude'   => 1,
50 50
             'l10n_mode' => 'exclude',
51 51
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_bookmark.feuser',
52
-            'config'    => array(
52
+            'config'    => array (
53 53
                 'type'    => 'input',
54 54
                 'size'    => 30,
55 55
                 'eval'    => 'trim'
56 56
             ),
57 57
         ),
58
-        'pid' => array(
59
-            'config' => array(
58
+        'pid' => array (
59
+            'config' => array (
60 60
                 'type' => 'passthrough',
61 61
             )
62 62
         ),
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_document.php 1 patch
Spacing   +87 added lines, -87 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document',
22 22
         'label'                    => 'title',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -38,80 +38,80 @@  discard block
 block discarded – undo
38 38
         transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date',
39 39
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
40 40
     ),
41
-    'interface' => array(
41
+    'interface' => array (
42 42
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden,
43 43
         title, authors, xml_data, slub_info_data, document_type, date_issued, process_number, valid, changed,
44 44
         state, reserved_object_identifier, object_identifier,
45 45
         transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date',
46 46
     ),
47
-    'types'     => array(
48
-        '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,
47
+    'types'     => array (
48
+        '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,
49 49
         title, authors, xml_data, slub_info_data, document_type, date_issued, process_number, valid, changed,
50 50
         state, reserved_object_identifier, object_identifier,
51 51
         transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date,
52 52
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
53 53
     ),
54
-    'palettes'  => array(
55
-        '1' => array('showitem' => ''),
54
+    'palettes'  => array (
55
+        '1' => array ('showitem' => ''),
56 56
     ),
57
-    'columns'   => array(
57
+    'columns'   => array (
58 58
 
59
-        'sys_language_uid'           => array(
59
+        'sys_language_uid'           => array (
60 60
             'exclude' => 1,
61 61
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
62
-            'config'  => array(
62
+            'config'  => array (
63 63
                 'type'                => 'select',
64 64
                 'renderType'          => 'selectSingle',
65 65
                 'foreign_table'       => 'sys_language',
66 66
                 'foreign_table_where' => 'ORDER BY sys_language.title',
67
-                'items'               => array(
68
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
69
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
67
+                'items'               => array (
68
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
69
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
70 70
                 ),
71 71
                 'default' => 0,
72 72
             ),
73 73
         ),
74
-        'l10n_parent'                => array(
74
+        'l10n_parent'                => array (
75 75
             'displayCond' => 'FIELD:sys_language_uid:>:0',
76 76
             'exclude'     => 1,
77 77
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
78
-            'config'      => array(
78
+            'config'      => array (
79 79
                 'type'                => 'select',
80 80
                 'renderType'          => 'selectSingle',
81
-                'items'               => array(
82
-                    array('', 0),
81
+                'items'               => array (
82
+                    array ('', 0),
83 83
                 ),
84 84
                 'foreign_table'       => 'tx_dpf_domain_model_document',
85 85
                 'foreign_table_where' => 'AND tx_dpf_domain_model_document.pid=###CURRENT_PID### AND tx_dpf_domain_model_document.sys_language_uid IN (-1,0)',
86 86
             ),
87 87
         ),
88
-        'l10n_diffsource'            => array(
89
-            'config' => array(
88
+        'l10n_diffsource'            => array (
89
+            'config' => array (
90 90
                 'type' => 'passthrough',
91 91
             ),
92 92
         ),
93 93
 
94
-        't3ver_label'                => array(
94
+        't3ver_label'                => array (
95 95
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
96
-            'config' => array(
96
+            'config' => array (
97 97
                 'type' => 'input',
98 98
                 'size' => 30,
99 99
                 'max'  => 255,
100 100
             ),
101 101
         ),
102 102
 
103
-        'hidden'                     => array(
103
+        'hidden'                     => array (
104 104
             'exclude' => 1,
105 105
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
106
-            'config'  => array(
106
+            'config'  => array (
107 107
                 'type' => 'check',
108 108
             ),
109 109
         ),
110
-        'starttime'                  => array(
110
+        'starttime'                  => array (
111 111
             'exclude'   => 1,
112 112
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
113
-            'config'    => array(
114
-                'behaviour' => array(
113
+            'config'    => array (
114
+                'behaviour' => array (
115 115
                     'allowLanguageSynchronization' => true
116 116
                 ),
117 117
                 'type'     => 'input',
@@ -120,16 +120,16 @@  discard block
 block discarded – undo
120 120
                 'eval'     => 'datetime',
121 121
                 'checkbox' => 0,
122 122
                 'default'  => 0,
123
-                'range'    => array(
123
+                'range'    => array (
124 124
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
125 125
                 ),
126 126
             ),
127 127
         ),
128
-        'endtime'                    => array(
128
+        'endtime'                    => array (
129 129
             'exclude'   => 1,
130 130
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
131
-            'config'    => array(
132
-                'behaviour' => array(
131
+            'config'    => array (
132
+                'behaviour' => array (
133 133
                     'allowLanguageSynchronization' => true
134 134
                 ),
135 135
                 'type'     => 'input',
@@ -138,56 +138,56 @@  discard block
 block discarded – undo
138 138
                 'eval'     => 'datetime',
139 139
                 'checkbox' => 0,
140 140
                 'default'  => 0,
141
-                'range'    => array(
141
+                'range'    => array (
142 142
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
143 143
                 ),
144 144
             ),
145 145
         ),
146 146
 
147
-        'title'                      => array(
147
+        'title'                      => array (
148 148
             'exclude' => 1,
149 149
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.title',
150
-            'config'  => array(
150
+            'config'  => array (
151 151
                 'type' => 'input',
152 152
                 'size' => 30,
153 153
                 'eval' => 'trim',
154 154
             ),
155 155
         ),
156 156
 
157
-        'authors'                    => array(
157
+        'authors'                    => array (
158 158
             'exclude' => 1,
159 159
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.authors',
160
-            'config'  => array(
160
+            'config'  => array (
161 161
                 'type' => 'input',
162 162
                 'size' => 30,
163 163
                 'eval' => 'trim',
164 164
             ),
165 165
         ),
166 166
 
167
-        'xml_data'                   => array(
167
+        'xml_data'                   => array (
168 168
             'exclude' => 1,
169 169
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.xml_data',
170
-            'config'  => array(
170
+            'config'  => array (
171 171
                 'type' => 'text',
172 172
                 'cols' => 40,
173 173
                 'rows' => 15,
174 174
                 'eval' => 'trim',
175 175
             ),
176 176
         ),
177
-        'slub_info_data'             => array(
177
+        'slub_info_data'             => array (
178 178
             'exclude' => 1,
179 179
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.slub_info_data',
180
-            'config'  => array(
180
+            'config'  => array (
181 181
                 'type' => 'text',
182 182
                 'cols' => 40,
183 183
                 'rows' => 15,
184 184
                 'eval' => 'trim',
185 185
             ),
186 186
         ),
187
-        'document_type'              => array(
187
+        'document_type'              => array (
188 188
             'exclude' => 1,
189 189
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.document_type',
190
-            'config'  => array(
190
+            'config'  => array (
191 191
                 'type'                => 'select',
192 192
                 'renderType'          => 'selectSingle',
193 193
                 'foreign_table'       => 'tx_dpf_domain_model_documenttype',
@@ -197,120 +197,120 @@  discard block
 block discarded – undo
197 197
             ),
198 198
         ),
199 199
 
200
-        'crdate'                     => array(
201
-            'config'  => array(
200
+        'crdate'                     => array (
201
+            'config'  => array (
202 202
                 'type' => 'passthrough',
203 203
             ),
204 204
         ),
205 205
 
206
-        'tstamp'                     => array(
207
-            'config'  => array(
206
+        'tstamp'                     => array (
207
+            'config'  => array (
208 208
                 'type' => 'passthrough',
209 209
             ),
210 210
         ),
211 211
 
212
-        'transfer_status'            => array(
212
+        'transfer_status'            => array (
213 213
             'exclude' => 0,
214 214
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.transfer_status',
215
-            'config'  => array(
215
+            'config'  => array (
216 216
                 'type' => 'input',
217 217
                 'size' => '30',
218 218
                 'eval' => 'trim',
219 219
             ),
220 220
         ),
221 221
 
222
-        'object_identifier'          => array(
222
+        'object_identifier'          => array (
223 223
             'exclude' => 0,
224 224
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.object_identifier',
225
-            'config'  => array(
225
+            'config'  => array (
226 226
                 'type' => 'input',
227 227
                 'size' => '30',
228 228
                 'eval' => 'trim',
229 229
             ),
230 230
         ),
231 231
 
232
-        'reserved_object_identifier' => array(
232
+        'reserved_object_identifier' => array (
233 233
             'exclude' => 0,
234 234
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.reserved_object_identifier',
235
-            'config'  => array(
235
+            'config'  => array (
236 236
                 'type' => 'input',
237 237
                 'size' => '30',
238 238
                 'eval' => 'trim',
239 239
             ),
240 240
         ),
241 241
 
242
-        'process_number' => array(
242
+        'process_number' => array (
243 243
             'exclude' => 0,
244 244
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.process_number',
245
-            'config'  => array(
245
+            'config'  => array (
246 246
                 'type' => 'input',
247 247
                 'size' => '30',
248 248
                 'eval' => 'trim',
249 249
             ),
250 250
         ),
251 251
 
252
-        'state'                      => array(
252
+        'state'                      => array (
253 253
             'exclude' => 0,
254 254
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.state',
255
-            'config'  => array(
255
+            'config'  => array (
256 256
                 'type' => 'input',
257 257
                 'size' => '30',
258 258
                 'eval' => 'trim',
259 259
             ),
260 260
         ),
261 261
 
262
-        'remote_last_mod_date'       => array(
262
+        'remote_last_mod_date'       => array (
263 263
             'exclude' => 1,
264 264
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.remote_last_mod_date',
265
-            'config'  => array(
265
+            'config'  => array (
266 266
                 'type' => 'input',
267 267
                 'size' => 30,
268 268
                 'eval' => 'trim',
269 269
             ),
270 270
         ),
271 271
 
272
-        'changed'                    => array(
272
+        'changed'                    => array (
273 273
             'exclude'   => 1,
274 274
             'l10n_mode' => 'exclude',
275 275
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.changed',
276
-            'config'    => array(
276
+            'config'    => array (
277 277
                 'type'    => 'check',
278 278
                 'default' => 0,
279 279
             ),
280 280
         ),
281 281
 
282
-        'valid'                      => array(
282
+        'valid'                      => array (
283 283
             'exclude'   => 1,
284 284
             'l10n_mode' => 'exclude',
285 285
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.valid',
286
-            'config'    => array(
286
+            'config'    => array (
287 287
                 'type'    => 'check',
288 288
                 'default' => 0,
289 289
             ),
290 290
         ),
291 291
 
292
-        'date_issued'                => array(
292
+        'date_issued'                => array (
293 293
             'exclude' => 1,
294 294
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.date_issued',
295
-            'config'  => array(
295
+            'config'  => array (
296 296
                 'type' => 'input',
297 297
                 'size' => 30,
298 298
                 'eval' => 'trim',
299 299
             ),
300 300
         ),
301 301
 
302
-        'file'                       => array(
302
+        'file'                       => array (
303 303
             'exclude' => 1,
304 304
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.file',
305
-            'config'  => array(
305
+            'config'  => array (
306 306
                 'type'          => 'inline',
307 307
                 'foreign_table' => 'tx_dpf_domain_model_file',
308 308
                 'foreign_field' => 'document',
309
-                'behaviour'     => array(
309
+                'behaviour'     => array (
310 310
                     'disableMovingChildrenWithParent' => 1,
311 311
                 ),
312 312
                 'maxitems'      => 9999,
313
-                'appearance'    => array(
313
+                'appearance'    => array (
314 314
                     'collapseAll'                     => 0,
315 315
                     'levelLinksPosition'              => 'top',
316 316
                     'showSynchronizationLink'         => 1,
@@ -321,13 +321,13 @@  discard block
 block discarded – undo
321 321
 
322 322
         ),
323 323
 
324
-        'creator'              => array(
324
+        'creator'              => array (
325 325
             'exclude' => 1,
326 326
             'label'   => 'Creator',
327
-            'config'  => array(
327
+            'config'  => array (
328 328
                 'type'          => 'select',
329 329
                 'items' => array (
330
-                    array('', 0),
330
+                    array ('', 0),
331 331
                 ),
332 332
                 'renderType'    => 'selectSingle',
333 333
                 'foreign_table' => 'fe_users',
@@ -337,70 +337,70 @@  discard block
 block discarded – undo
337 337
             ),
338 338
         ),
339 339
 
340
-        'creation_date' => array(
340
+        'creation_date' => array (
341 341
             'exclude'   => 1,
342 342
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.creation_date',
343
-            'config'    => array(
343
+            'config'    => array (
344 344
                 'type'  => 'input',
345 345
                 'size'  => 30,
346 346
                 'eval'  => 'trim',
347 347
             ),
348 348
         ),
349 349
 
350
-        'temporary'                      => array(
350
+        'temporary'                      => array (
351 351
             'exclude'   => 1,
352 352
             'l10n_mode' => 'exclude',
353 353
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.temporary',
354
-            'config'    => array(
354
+            'config'    => array (
355 355
                 'type'    => 'check',
356 356
                 'default' => 0,
357 357
             ),
358 358
         ),
359 359
 
360 360
 
361
-        'suggestion' => array(
361
+        'suggestion' => array (
362 362
             'exclude'   => 1,
363 363
             'l10n_mode' => 'exclude',
364 364
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.suggestion',
365
-            'config'    => array(
365
+            'config'    => array (
366 366
                 'type'    => 'check',
367 367
                 'default' => 0,
368 368
             ),
369 369
         ),
370 370
 
371
-        'linked_uid' => array(
371
+        'linked_uid' => array (
372 372
             'exclude'   => 1,
373 373
             'l10n_mode' => 'exclude',
374 374
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.linked_uid',
375
-            'config'    => array(
375
+            'config'    => array (
376 376
                 'type'    => 'check'
377 377
             ),
378 378
         ),
379 379
 
380
-        'comment' => array(
380
+        'comment' => array (
381 381
             'exclude' => 1,
382 382
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.comment',
383
-            'config'  => array(
383
+            'config'  => array (
384 384
                 'type' => 'input',
385 385
                 'size' => 30,
386 386
                 'eval' => 'trim',
387 387
             ),
388 388
         ),
389 389
 
390
-        'automatic_embargo'    => array(
390
+        'automatic_embargo'    => array (
391 391
             'exclude'   => 1,
392 392
             'l10n_mode' => 'exclude',
393 393
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.automatic_embargo',
394
-            'config'    => array(
394
+            'config'    => array (
395 395
                 'type'    => 'check',
396 396
                 'default' => 0,
397 397
             ),
398 398
         ),
399 399
 
400
-        'embargo_date'    => array(
400
+        'embargo_date'    => array (
401 401
             'exclude' => 1,
402 402
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.embargo_date',
403
-            'config'  => array(
403
+            'config'  => array (
404 404
                 'type'     => 'input',
405 405
                 'renderType' => 'inputDateTime',
406 406
                 'size'     => 10,
@@ -409,8 +409,8 @@  discard block
 block discarded – undo
409 409
                 'default'  => time(),
410 410
             ),
411 411
         ),
412
-        'pid' => array(
413
-            'config' => array(
412
+        'pid' => array (
413
+            'config' => array (
414 414
                 'type' => 'passthrough',
415 415
             )
416 416
         ),
Please login to merge, or discard this patch.
Classes/Configuration/ClientConfigurationManager.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      *
30 30
      * @var array
31 31
      */
32
-    protected $settings = array();
32
+    protected $settings = array ();
33 33
 
34 34
 
35 35
     /**
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @var array
46 46
      */
47
-    protected $extensionConfiguration = array();
47
+    protected $extensionConfiguration = array ();
48 48
 
49 49
     public function __construct()
50 50
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $clientRepository = $objectManager->get(ClientRepository::class);
53 53
 
54 54
         if (TYPO3_MODE === 'BE') {
55
-            $selectedPageId = (int)GeneralUtility::_GP('id');
55
+            $selectedPageId = (int) GeneralUtility::_GP('id');
56 56
             if ($selectedPageId) {
57 57
                 $this->client = $clientRepository->findAll()->current();
58 58
 
Please login to merge, or discard this patch.
Braces   +58 added lines, -116 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@  discard block
 block discarded – undo
22 22
 use EWW\Dpf\Domain\Repository\ClientRepository;
23 23
 use TYPO3\CMS\Core\Configuration\ExtensionConfiguration;
24 24
 
25
-class ClientConfigurationManager
26
-{
25
+class ClientConfigurationManager {
27 26
     /**
28 27
      * settings
29 28
      *
@@ -46,8 +45,7 @@  discard block
 block discarded – undo
46 45
      */
47 46
     protected $extensionConfiguration = array();
48 47
 
49
-    public function __construct()
50
-    {
48
+    public function __construct() {
51 49
         $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
52 50
         $clientRepository = $objectManager->get(ClientRepository::class);
53 51
 
@@ -77,8 +75,7 @@  discard block
 block discarded – undo
77 75
 
78 76
     }
79 77
 
80
-    public function setConfigurationPid($pid)
81
-    {
78
+    public function setConfigurationPid($pid) {
82 79
         $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
83 80
         $clientRepository = $objectManager->get(ClientRepository::class);
84 81
 
@@ -88,8 +85,7 @@  discard block
 block discarded – undo
88 85
     /**
89 86
      * @return int|null
90 87
      */
91
-    public function getClientPid()
92
-    {
88
+    public function getClientPid() {
93 89
         return $this->client->getPid();
94 90
     }
95 91
 
@@ -98,8 +94,7 @@  discard block
 block discarded – undo
98 94
      *
99 95
      * @var array
100 96
      */
101
-    public function getSetting($settingName, $extConfig = null)
102
-    {
97
+    public function getSetting($settingName, $extConfig = null) {
103 98
         $setting = null;
104 99
         if ($this->client) {
105 100
             $setting = trim($this->client->{"get" . ucfirst($settingName)}());
@@ -114,270 +109,217 @@  discard block
 block discarded – undo
114 109
     }
115 110
 
116 111
 
117
-    public function getOwnerId()
118
-    {
112
+    public function getOwnerId() {
119 113
         return $this->getSetting("ownerId");
120 114
     }
121 115
 
122
-    public function getSwordHost()
123
-    {
116
+    public function getSwordHost() {
124 117
         return $this->getSetting("swordHost", "swordHost");
125 118
     }
126 119
 
127
-    public function getSwordUser()
128
-    {
120
+    public function getSwordUser() {
129 121
         return $this->getSetting("swordUser", "swordUser");
130 122
     }
131 123
 
132
-    public function getSwordPassword()
133
-    {
124
+    public function getSwordPassword() {
134 125
         return $this->getSetting("swordPassword", "swordPassword");
135 126
     }
136 127
 
137
-    public function getSwordCollectionNamespace()
138
-    {
128
+    public function getSwordCollectionNamespace() {
139 129
         return $this->getSetting("swordCollectionNamespace", "swordCollectionNamespace");
140 130
     }
141 131
 
142
-    public function getFedoraHost()
143
-    {
132
+    public function getFedoraHost() {
144 133
         return $this->getSetting("fedoraHost", "fedoraHost");
145 134
     }
146 135
 
147
-    public function getFedoraUser()
148
-    {
136
+    public function getFedoraUser() {
149 137
         return $this->getSetting("fedoraUser", "fedoraUser");
150 138
     }
151 139
 
152
-    public function getFedoraPassword()
153
-    {
140
+    public function getFedoraPassword() {
154 141
         return $this->getSetting("fedoraPassword", "fedoraPassword");
155 142
     }
156 143
 
157
-    public function getElasticSearchHost()
158
-    {
144
+    public function getElasticSearchHost() {
159 145
         return $this->getSetting("elasticSearchHost", "elasticSearchHost");
160 146
     }
161 147
 
162
-    public function getElasticSearchPort()
163
-    {
148
+    public function getElasticSearchPort() {
164 149
         return $this->getSetting("elasticSearchPort", "elasticSearchPort");
165 150
     }
166 151
 
167
-    public function getElasticSearchIndexName()
168
-    {
152
+    public function getElasticSearchIndexName() {
169 153
         return $this->getSetting("elasticSearchIndexName", "elasticSearchIndexName");
170 154
     }
171 155
 
172
-    public function getUploadDirectory()
173
-    {
156
+    public function getUploadDirectory() {
174 157
         return $this->getSetting("uploadDirectory", "uploadDirectory");
175 158
     }
176 159
 
177
-    public function getUploadDomain()
178
-    {
160
+    public function getUploadDomain() {
179 161
         return $this->getSetting("uploadDomain", "uploadDomain");
180 162
     }
181 163
 
182
-    public function getSuggestionFlashMessage()
183
-    {
164
+    public function getSuggestionFlashMessage() {
184 165
         return $this->getSetting("suggestionFlashmessage", "suggestionFlashmessage");
185 166
     }
186 167
 
187
-    public function getFileXpath()
188
-    {
168
+    public function getFileXpath() {
189 169
         return $this->getSetting("fileXpath", "fileXpath");
190 170
     }
191 171
 
192
-    public function getStateXpath()
193
-    {
172
+    public function getStateXpath() {
194 173
         return $this->getSetting("stateXpath", "stateXpath");
195 174
     }
196 175
 
197
-    public function getTypeXpath()
198
-    {
176
+    public function getTypeXpath() {
199 177
         return $this->getSetting("typeXpath", "typeXpath");
200 178
     }
201 179
 
202
-    public function getTypeXpathInput()
203
-    {
180
+    public function getTypeXpathInput() {
204 181
         return $this->getSetting("typeXpathInput", "typeXpathInput");
205 182
     }
206 183
 
207
-    public function getUrnXpath()
208
-    {
184
+    public function getUrnXpath() {
209 185
         return $this->getSetting("urnXpath", "urnXpath");
210 186
     }
211 187
 
212
-    public function getPrimaryUrnXpath()
213
-    {
188
+    public function getPrimaryUrnXpath() {
214 189
         return $this->getSetting("primaryUrnXpath", "primaryUrnXpath");
215 190
     }
216 191
 
217
-    public function getDateXpath()
218
-    {
192
+    public function getDateXpath() {
219 193
         return $this->getSetting("dateXpath", "dateXpath");
220 194
     }
221 195
 
222
-    public function getPublishingYearXpath()
223
-    {
196
+    public function getPublishingYearXpath() {
224 197
         return $this->getSetting("publishingYearXpath", "publishingYearXpath");
225 198
     }
226 199
 
227
-    public function getNamespaces()
228
-    {
200
+    public function getNamespaces() {
229 201
         return $this->getSetting("namespaces", "namespaces");
230 202
     }
231 203
 
232
-    public function getTitleXpath()
233
-    {
204
+    public function getTitleXpath() {
234 205
         return $this->getSetting("titleXpath", "titleXpath");
235 206
     }
236 207
 
237
-    public function getOriginalSourceTitleXpath()
238
-    {
208
+    public function getOriginalSourceTitleXpath() {
239 209
         return $this->getSetting("originalSourceTitleXpath", "originalSourceTitleXpath");
240 210
     }
241 211
 
242
-    public function getProcessNumberXpath()
243
-    {
212
+    public function getProcessNumberXpath() {
244 213
         return $this->getSetting("processnumberXpath", "processnumberXpath");
245 214
     }
246 215
 
247
-    public function getSubmitterNameXpath()
248
-    {
216
+    public function getSubmitterNameXpath() {
249 217
         return $this->getSetting("submitterNameXpath", "submitterNameXpath");
250 218
     }
251 219
 
252
-    public function getSubmitterEmailXpath()
253
-    {
220
+    public function getSubmitterEmailXpath() {
254 221
         return $this->getSetting("submitterEmailXpath", "submitterEmailXpath");
255 222
     }
256 223
 
257
-    public function getSubmitterNoticeXpath()
258
-    {
224
+    public function getSubmitterNoticeXpath() {
259 225
         return $this->getSetting("submitterNoticeXpath", "submitterNoticeXpath");
260 226
     }
261 227
 
262
-    public function getCreatorXpath()
263
-    {
228
+    public function getCreatorXpath() {
264 229
         return $this->getSetting("creatorXpath", "creatorXpath");
265 230
     }
266 231
 
267
-    public function getCreationDateXpath()
268
-    {
232
+    public function getCreationDateXpath() {
269 233
         return $this->getSetting("creationDateXpath", "creationDateXpath");
270 234
     }
271 235
 
272
-    public function getRepositoryCreationDateXpath()
273
-    {
236
+    public function getRepositoryCreationDateXpath() {
274 237
         return $this->getSetting("repositoryCreationDateXpath", "repositoryCreationDateXpath");
275 238
     }
276 239
 
277
-    public function getRepositoryLastModDateXpath()
278
-    {
240
+    public function getRepositoryLastModDateXpath() {
279 241
         return $this->getSetting("repositoryLastModDateXpath", "repositoryLastModDateXpath");
280 242
     }
281 243
 
282
-    public function getDepositLicenseXpath()
283
-    {
244
+    public function getDepositLicenseXpath() {
284 245
         return $this->getSetting("depositLicenseXpath", "depositLicenseXpath");
285 246
     }
286 247
 
287
-    public function getAllNotesXpath()
288
-    {
248
+    public function getAllNotesXpath() {
289 249
         return $this->getSetting("allNotesXpath", "allNotesXpath");
290 250
     }
291 251
 
292
-    public function getPrivateNotesXpath()
293
-    {
252
+    public function getPrivateNotesXpath() {
294 253
         return $this->getSetting("privateNotesXpath", "privateNotesXpath");
295 254
     }
296 255
 
297
-    public function getInputTransformation()
298
-    {
256
+    public function getInputTransformation() {
299 257
         return $this->client->getInputTransformation()->current();
300 258
     }
301 259
 
302
-    public function getOutputTransformation()
303
-    {
260
+    public function getOutputTransformation() {
304 261
         return $this->client->getOutputTransformation()->current();
305 262
     }
306 263
 
307
-    public function getPersonXpath()
308
-    {
264
+    public function getPersonXpath() {
309 265
         return $this->getSetting("personXpath", "personXpath");
310 266
     }
311 267
 
312
-    public function getPersonFamilyXpath()
313
-    {
268
+    public function getPersonFamilyXpath() {
314 269
         return $this->getSetting("personFamilyXpath", "personFamilyXpath");
315 270
     }
316 271
 
317
-    public function getPersonGivenXpath()
318
-    {
272
+    public function getPersonGivenXpath() {
319 273
         return $this->getSetting("personGivenXpath", "personGivenXpath");
320 274
     }
321 275
 
322
-    public function getPersonRoleXpath()
323
-    {
276
+    public function getPersonRoleXpath() {
324 277
         return $this->getSetting("personRoleXpath", "personRoleXpath");
325 278
     }
326 279
 
327
-    public function getPersonFisIdentifierXpath()
328
-    {
280
+    public function getPersonFisIdentifierXpath() {
329 281
         return $this->getSetting("personFisIdentifierXpath", "personFisIdentifierXpath");
330 282
     }
331 283
 
332
-    public function getPersonAffiliationXpath()
333
-    {
284
+    public function getPersonAffiliationXpath() {
334 285
         return $this->getSetting("personAffiliationXpath", "personAffiliationXpath");
335 286
     }
336 287
 
337
-    public function getPersonAffiliationIdentifierXpath()
338
-    {
288
+    public function getPersonAffiliationIdentifierXpath() {
339 289
         return $this->getSetting("personAffiliationIdentifierXpath", "personAffiliationIdentifierXpath");
340 290
     }
341 291
 
342
-    public function getPersonAuthorRole()
343
-    {
292
+    public function getPersonAuthorRole() {
344 293
         return $this->getSetting("personAuthorRole", "personAuthorRole");
345 294
     }
346 295
 
347
-    public function getPersonPublisherRole()
348
-    {
296
+    public function getPersonPublisherRole() {
349 297
         return $this->getSetting("personPublisherRole", "personPublisherRole");
350 298
     }
351 299
 
352
-    public function getValidationXpath()
353
-    {
300
+    public function getValidationXpath() {
354 301
         return $this->getSetting("validationXpath", "validationXpath");
355 302
     }
356 303
 
357
-    public function fisIdXpath()
358
-    {
304
+    public function fisIdXpath() {
359 305
         return $this->getSetting("fisIdXpath", "fisIdXpath");
360 306
     }
361 307
 
362
-    public function getSourceDetailsXpaths()
363
-    {
308
+    public function getSourceDetailsXpaths() {
364 309
         return $this->getSetting("sourceDetailsXpaths", "sourceDetailsXpaths");
365 310
     }
366 311
 
367
-    public function getFedoraNamespace()
368
-    {
312
+    public function getFedoraNamespace() {
369 313
         $settings = $this->getTypoScriptSettings();
370 314
         return $settings['fedoraNamespace'];
371 315
     }
372 316
 
373
-    public function getUniversityCollection()
374
-    {
317
+    public function getUniversityCollection() {
375 318
         $settings = $this->getTypoScriptSettings();
376 319
         return $settings['universityCollection'];
377 320
     }
378 321
 
379
-    public function getTypoScriptSettings()
380
-    {
322
+    public function getTypoScriptSettings() {
381 323
         $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
382 324
         $configurationManager = $objectManager->get(ConfigurationManager::class);
383 325
         $settings = $configurationManager->getConfiguration(
Please login to merge, or discard this patch.
Classes/Helper/InternalFormat.php 3 patches
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     public function setRepositoryState($state)
107 107
     {
108 108
         $stateXpath = $this->clientConfigurationManager->getStateXpath();
109
-        $this->setValue($stateXpath,$state);
109
+        $this->setValue($stateXpath, $state);
110 110
     }
111 111
 
112 112
     public function getProcessNumber()
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
         $xpath = $this->getXpath();
339 339
         $data = [];
340 340
         $sourceDetailsXpaths = $this->clientConfigurationManager->getSourceDetailsXpaths();
341
-        $sourceDetailsXpathList = explode(";", trim($sourceDetailsXpaths," ;"));
341
+        $sourceDetailsXpathList = explode(";", trim($sourceDetailsXpaths, " ;"));
342 342
         $dataNodes = [];
343 343
 
344 344
         foreach ($sourceDetailsXpathList as $sourceDetailsXpathItem) {
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
     {
374 374
         $xpath = $this->getXpath();
375 375
         $personXpath = $this->clientConfigurationManager->getPersonXpath();
376
-        $fisIdentifierXpath =  $this->clientConfigurationManager->getPersonFisIdentifierXpath();
376
+        $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath();
377 377
         $personNodes = $xpath->query(self::rootNode . $personXpath);
378 378
         $identifiers = [];
379 379
         foreach ($personNodes as $key => $node) {
@@ -405,9 +405,9 @@  discard block
 block discarded – undo
405 405
         $xpath = $this->getXpath();
406 406
         $notesNodes = $xpath->query(self::rootNode . $notesXpath);
407 407
 
408
-        $notes = array();
408
+        $notes = array ();
409 409
 
410
-        for ($i=0; $i < $notesNodes->length; $i++)
410
+        for ($i = 0; $i < $notesNodes->length; $i++)
411 411
         {
412 412
             $notes[] = $notesNodes->item($i)->nodeValue;
413 413
         }
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
 
422 422
         $parserGenerator = new ParserGenerator($this->clientPid);
423 423
         $parserGenerator->setXml($this->xml->saveXML());
424
-        $parserGenerator->customXPath($notesXpath,true, $noteContent);
424
+        $parserGenerator->customXPath($notesXpath, true, $noteContent);
425 425
         $this->xml = new \DOMDocument();
426 426
         $this->xml->loadXML($parserGenerator->getXMLData());
427 427
     }
@@ -448,9 +448,9 @@  discard block
 block discarded – undo
448 448
         $familyXpath = $this->clientConfigurationManager->getPersonFamilyXpath();
449 449
         $givenXpath = $this->clientConfigurationManager->getPersonGivenXpath();
450 450
         $roleXpath = $this->clientConfigurationManager->getPersonRoleXpath();
451
-        $fisIdentifierXpath =  $this->clientConfigurationManager->getPersonFisIdentifierXpath();
452
-        $affiliationXpath =  $this->clientConfigurationManager->getPersonAffiliationXpath();
453
-        $affiliationIdentifierXpath =  $this->clientConfigurationManager->getPersonAffiliationIdentifierXpath();
451
+        $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath();
452
+        $affiliationXpath = $this->clientConfigurationManager->getPersonAffiliationXpath();
453
+        $affiliationIdentifierXpath = $this->clientConfigurationManager->getPersonAffiliationIdentifierXpath();
454 454
 
455 455
         $xpath = $this->getXpath();
456 456
         $personNodes = $xpath->query(self::rootNode . $personXpath);
@@ -530,9 +530,9 @@  discard block
 block discarded – undo
530 530
      */
531 531
     public function getValidation()
532 532
     {
533
-        $validationXpath =  $this->clientConfigurationManager->getValidationXpath();
533
+        $validationXpath = $this->clientConfigurationManager->getValidationXpath();
534 534
         $validation = $this->getValue($validationXpath);
535
-        return (strtolower($validation) === 'true')? true : false;
535
+        return (strtolower($validation) === 'true') ? true : false;
536 536
     }
537 537
 
538 538
     /**
@@ -540,8 +540,8 @@  discard block
 block discarded – undo
540 540
      */
541 541
     public function setValidation($validated)
542 542
     {
543
-        $validationXpath =  $this->clientConfigurationManager->getValidationXpath();
544
-        $this->setValue($validationXpath, ($validated? 'true' : 'false'));
543
+        $validationXpath = $this->clientConfigurationManager->getValidationXpath();
544
+        $this->setValue($validationXpath, ($validated ? 'true' : 'false'));
545 545
     }
546 546
 
547 547
     /**
@@ -549,7 +549,7 @@  discard block
 block discarded – undo
549 549
      */
550 550
     public function setFisId($fisId)
551 551
     {
552
-        $fisIdXpath =  $this->clientConfigurationManager->getFisIdXpath();
552
+        $fisIdXpath = $this->clientConfigurationManager->getFisIdXpath();
553 553
         $this->setValue($fisIdXpath, $fisId);
554 554
     }
555 555
 
@@ -577,10 +577,10 @@  discard block
 block discarded – undo
577 577
         $nodes = $xpath->query(self::rootNode . $xpathString);
578 578
         if ($nodes->length > 0) {
579 579
             $nodes->item(0)->nodeValue = $value;
580
-        } elseif(!empty($value)) {
580
+        } elseif (!empty($value)) {
581 581
             $parserGenerator = new ParserGenerator($this->clientPid);
582 582
             $parserGenerator->setXml($this->xml->saveXML());
583
-            $parserGenerator->customXPath($xpathString,true, $value);
583
+            $parserGenerator->customXPath($xpathString, true, $value);
584 584
             $this->xml = new \DOMDocument();
585 585
             $this->xml->loadXML($parserGenerator->getXMLData());
586 586
         }
Please login to merge, or discard this patch.
Braces   +43 added lines, -82 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@  discard block
 block discarded – undo
18 18
 use EWW\Dpf\Services\ParserGenerator;
19 19
 use TYPO3\CMS\Extbase\Object\ObjectManager;
20 20
 
21
-class InternalFormat
22
-{
21
+class InternalFormat {
23 22
     const rootNode = '//data/';
24 23
 
25 24
     /**
@@ -46,8 +45,7 @@  discard block
 block discarded – undo
46 45
      * @param string $xml
47 46
      * @param int $clientPid
48 47
      */
49
-    public function __construct(string $xml, int $clientPid = 0)
50
-    {
48
+    public function __construct(string $xml, int $clientPid = 0) {
51 49
         $this->clientPid = $clientPid;
52 50
 
53 51
         $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
@@ -60,8 +58,7 @@  discard block
 block discarded – undo
60 58
         $this->setXml($xml);
61 59
     }
62 60
 
63
-    public function setXml($xml)
64
-    {
61
+    public function setXml($xml) {
65 62
         if (empty($xml)) {
66 63
             $xml = "<data></data>";
67 64
         }
@@ -71,8 +68,7 @@  discard block
 block discarded – undo
71 68
         $this->xml = $dom;
72 69
     }
73 70
 
74
-    public function getXml()
75
-    {
71
+    public function getXml() {
76 72
         return $this->xml->saveXML();
77 73
     }
78 74
 
@@ -80,37 +76,31 @@  discard block
 block discarded – undo
80 76
         return $this->xml;
81 77
     }
82 78
 
83
-    public function getXpath()
84
-    {
79
+    public function getXpath() {
85 80
         return $domXPath = \EWW\Dpf\Helper\XPath::create($this->xml);
86 81
     }
87 82
 
88
-    public function getDocumentType()
89
-    {
83
+    public function getDocumentType() {
90 84
         $typeXpath = $this->clientConfigurationManager->getTypeXpath();
91 85
         return $this->getValue($typeXpath);
92 86
     }
93 87
 
94
-    public function setDocumentType($type)
95
-    {
88
+    public function setDocumentType($type) {
96 89
         $typeXpath = $this->clientConfigurationManager->getTypeXpath();
97 90
         $this->setValue($typeXpath, $type);
98 91
     }
99 92
 
100
-    public function getRepositoryState()
101
-    {
93
+    public function getRepositoryState() {
102 94
         $stateXpath = $this->clientConfigurationManager->getStateXpath();
103 95
         return $this->getValue($stateXpath);
104 96
     }
105 97
 
106
-    public function setRepositoryState($state)
107
-    {
98
+    public function setRepositoryState($state) {
108 99
         $stateXpath = $this->clientConfigurationManager->getStateXpath();
109 100
         $this->setValue($stateXpath,$state);
110 101
     }
111 102
 
112
-    public function getProcessNumber()
113
-    {
103
+    public function getProcessNumber() {
114 104
         $processNumberXpath = $this->clientConfigurationManager->getProcessNumberXpath();
115 105
         if ($processNumberXpath) {
116 106
             return $this->getValue($processNumberXpath);
@@ -119,14 +109,12 @@  discard block
 block discarded – undo
119 109
         }
120 110
     }
121 111
 
122
-    public function setProcessNumber($processNumber)
123
-    {
112
+    public function setProcessNumber($processNumber) {
124 113
         $processNumberXpath = $this->clientConfigurationManager->getProcessNumberXpath();
125 114
         $this->setValue($processNumberXpath, $processNumber);
126 115
     }
127 116
 
128
-    public function getTitle()
129
-    {
117
+    public function getTitle() {
130 118
         $titleXpath = $this->clientConfigurationManager->getTitleXpath();
131 119
         $xpath = $this->getXpath();
132 120
 
@@ -141,14 +129,12 @@  discard block
 block discarded – undo
141 129
     /**
142 130
      * @param string $title
143 131
      */
144
-    public function setTitle($title)
145
-    {
132
+    public function setTitle($title) {
146 133
         $titleXpath = $this->clientConfigurationManager->getTitleXpath();
147 134
         $this->setValue($titleXpath, $title);
148 135
     }
149 136
 
150
-    public function getFiles()
151
-    {
137
+    public function getFiles() {
152 138
         $xpath = $this->getXpath();
153 139
 
154 140
         $fileXpath = $this->clientConfigurationManager->getFileXpath();
@@ -178,8 +164,7 @@  discard block
 block discarded – undo
178 164
         return $this->getValue($dateXpath);
179 165
     }
180 166
 
181
-    public function removeDateIssued()
182
-    {
167
+    public function removeDateIssued() {
183 168
         $xpath = $this->getXpath();
184 169
         $dateXpath = $this->clientConfigurationManager->getDateXpath();
185 170
 
@@ -190,8 +175,7 @@  discard block
 block discarded – undo
190 175
 
191 176
     }
192 177
 
193
-    public function hasPrimaryUrn()
194
-    {
178
+    public function hasPrimaryUrn() {
195 179
         $xpath = $this->getXpath();
196 180
         $primaryUrnXpath = $this->clientConfigurationManager->getPrimaryUrnXpath();
197 181
 
@@ -203,8 +187,7 @@  discard block
 block discarded – undo
203 187
         }
204 188
     }
205 189
 
206
-    public function getPrimaryUrn()
207
-    {
190
+    public function getPrimaryUrn() {
208 191
         $xpath = $this->getXpath();
209 192
         $primaryUrnXpath = $this->clientConfigurationManager->getPrimaryUrnXpath();
210 193
 
@@ -216,14 +199,12 @@  discard block
 block discarded – undo
216 199
         }
217 200
     }
218 201
 
219
-    public function setPrimaryUrn($urn)
220
-    {
202
+    public function setPrimaryUrn($urn) {
221 203
         $primaryUrnXpath = $this->clientConfigurationManager->getPrimaryUrnXpath();
222 204
         $this->setValue($primaryUrnXpath, $urn);
223 205
     }
224 206
 
225
-    public function clearAllUrn()
226
-    {
207
+    public function clearAllUrn() {
227 208
         $xpath = $this->getXpath();
228 209
         $urnXpath = $this->clientConfigurationManager->getUrnXpath();
229 210
         $primaryUrnXpath = $this->clientConfigurationManager->getPrimaryUrnXpath();
@@ -278,50 +259,42 @@  discard block
 block discarded – undo
278 259
         }
279 260
     }
280 261
 
281
-    public function getCreator()
282
-    {
262
+    public function getCreator() {
283 263
         $creatorXpath = $this->clientConfigurationManager->getCreatorXpath();
284 264
         return $this->getValue($creatorXpath);
285 265
     }
286 266
 
287
-    public function setCreator($creator)
288
-    {
267
+    public function setCreator($creator) {
289 268
         $creatorXpath = $this->clientConfigurationManager->getCreatorXpath();
290 269
         $this->setValue($creatorXpath, $creator);
291 270
     }
292 271
 
293
-    public function getCreationDate()
294
-    {
272
+    public function getCreationDate() {
295 273
         $xpath = $this->clientConfigurationManager->getCreationDateXpath();
296 274
         return $this->getValue($xpath);
297 275
     }
298 276
 
299
-    public function setCreationDate($creationDate)
300
-    {
277
+    public function setCreationDate($creationDate) {
301 278
         $xpath = $this->clientConfigurationManager->getCreationDateXpath();
302 279
         $this->setValue($xpath, $creationDate);
303 280
     }
304 281
 
305
-    public function getRepositoryCreationDate()
306
-    {
282
+    public function getRepositoryCreationDate() {
307 283
         $xpath = $this->clientConfigurationManager->getRepositoryCreationDateXpath();
308 284
         return $this->getValue($xpath);
309 285
     }
310 286
 
311
-    public function getRepositoryLastModDate()
312
-    {
287
+    public function getRepositoryLastModDate() {
313 288
         $xpath = $this->clientConfigurationManager->getRepositoryLastModDateXpath();
314 289
         return $this->getValue($xpath);
315 290
     }
316 291
 
317
-    public function getPublishingYear()
318
-    {
292
+    public function getPublishingYear() {
319 293
         $publishingYearXpath = $this->clientConfigurationManager->getPublishingYearXpath();
320 294
         return $this->getValue($publishingYearXpath);
321 295
     }
322 296
 
323
-    public function getOriginalSourceTitle()
324
-    {
297
+    public function getOriginalSourceTitle() {
325 298
         $originalSourceTitleXpath = $this->clientConfigurationManager->getOriginalSourceTitleXpath();
326 299
         return $this->getValue($originalSourceTitleXpath);
327 300
     }
@@ -329,8 +302,7 @@  discard block
 block discarded – undo
329 302
     /**
330 303
      * @return string
331 304
      */
332
-    public function getSourceDetails()
333
-    {
305
+    public function getSourceDetails() {
334 306
         if (empty($sourceDetailsXpaths)) {
335 307
             return '';
336 308
         }
@@ -389,8 +361,7 @@  discard block
 block discarded – undo
389 361
     /**
390 362
      * @return string
391 363
      */
392
-    public function getDepositLicense()
393
-    {
364
+    public function getDepositLicense() {
394 365
         $depositLicenseXpath = $this->clientConfigurationManager->getDepositLicenseXpath();
395 366
         return $this->getValue($depositLicenseXpath);
396 367
     }
@@ -398,8 +369,7 @@  discard block
 block discarded – undo
398 369
     /**
399 370
      * @return array
400 371
      */
401
-    public function getNotes()
402
-    {
372
+    public function getNotes() {
403 373
         $notesXpath = $this->clientConfigurationManager->getAllNotesXpath();
404 374
 
405 375
         $xpath = $this->getXpath();
@@ -407,16 +377,14 @@  discard block
 block discarded – undo
407 377
 
408 378
         $notes = array();
409 379
 
410
-        for ($i=0; $i < $notesNodes->length; $i++)
411
-        {
380
+        for ($i=0; $i < $notesNodes->length; $i++) {
412 381
             $notes[] = $notesNodes->item($i)->nodeValue;
413 382
         }
414 383
 
415 384
         return $notes;
416 385
     }
417 386
 
418
-    public function addNote($noteContent)
419
-    {
387
+    public function addNote($noteContent) {
420 388
         $notesXpath = $this->clientConfigurationManager->getPrivateNotesXpath();
421 389
 
422 390
         $parserGenerator = new ParserGenerator($this->clientPid);
@@ -426,13 +394,11 @@  discard block
 block discarded – undo
426 394
         $this->xml->loadXML($parserGenerator->getXMLData());
427 395
     }
428 396
 
429
-    public function getAuthors()
430
-    {
397
+    public function getAuthors() {
431 398
         return $this->getPersons($this->clientConfigurationManager->getPersonAuthorRole());
432 399
     }
433 400
 
434
-    public function getPublishers()
435
-    {
401
+    public function getPublishers() {
436 402
         return $this->getPersons($this->clientConfigurationManager->getPersonPublisherRole());
437 403
     }
438 404
 
@@ -442,8 +408,7 @@  discard block
 block discarded – undo
442 408
      * @param string $role
443 409
      * @return array
444 410
      */
445
-    public function getPersons($role = '')
446
-    {
411
+    public function getPersons($role = '') {
447 412
         $personXpath = $this->clientConfigurationManager->getPersonXpath();
448 413
         $familyXpath = $this->clientConfigurationManager->getPersonFamilyXpath();
449 414
         $givenXpath = $this->clientConfigurationManager->getPersonGivenXpath();
@@ -516,8 +481,9 @@  discard block
 block discarded – undo
516 481
         if ($role) {
517 482
             $result = [];
518 483
             foreach ($persons as $person) {
519
-                if ($person['role'] == $role)
520
-                    $result[] = $person;
484
+                if ($person['role'] == $role) {
485
+                                    $result[] = $person;
486
+                }
521 487
             }
522 488
             return $result;
523 489
         } else {
@@ -528,8 +494,7 @@  discard block
 block discarded – undo
528 494
     /**
529 495
      * @return bool
530 496
      */
531
-    public function getValidation()
532
-    {
497
+    public function getValidation() {
533 498
         $validationXpath =  $this->clientConfigurationManager->getValidationXpath();
534 499
         $validation = $this->getValue($validationXpath);
535 500
         return (strtolower($validation) === 'true')? true : false;
@@ -538,8 +503,7 @@  discard block
 block discarded – undo
538 503
     /**
539 504
      * @param bool $validated
540 505
      */
541
-    public function setValidation($validated)
542
-    {
506
+    public function setValidation($validated) {
543 507
         $validationXpath =  $this->clientConfigurationManager->getValidationXpath();
544 508
         $this->setValue($validationXpath, ($validated? 'true' : 'false'));
545 509
     }
@@ -547,8 +511,7 @@  discard block
 block discarded – undo
547 511
     /**
548 512
      * @param string $fisId
549 513
      */
550
-    public function setFisId($fisId)
551
-    {
514
+    public function setFisId($fisId) {
552 515
         $fisIdXpath =  $this->clientConfigurationManager->getFisIdXpath();
553 516
         $this->setValue($fisIdXpath, $fisId);
554 517
     }
@@ -557,8 +520,7 @@  discard block
 block discarded – undo
557 520
      * @param string $xpathString
558 521
      * @return string
559 522
      */
560
-    protected function getValue($xpathString)
561
-    {
523
+    protected function getValue($xpathString) {
562 524
         $xpath = $this->getXpath();
563 525
         $nodeList = $xpath->query(self::rootNode . $xpathString);
564 526
         if ($nodeList->length > 0) {
@@ -571,8 +533,7 @@  discard block
 block discarded – undo
571 533
      * @param string $xpathString
572 534
      * @param string $value
573 535
      */
574
-    protected function setValue($xpathString, $value)
575
-    {
536
+    protected function setValue($xpathString, $value) {
576 537
         $xpath = $this->getXpath();
577 538
         $nodes = $xpath->query(self::rootNode . $xpathString);
578 539
         if ($nodes->length > 0) {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -197,9 +197,9 @@  discard block
 block discarded – undo
197 197
 
198 198
         $urnNodes = $xpath->query(self::rootNode . $primaryUrnXpath);
199 199
         if ($urnNodes->length > 0) {
200
-            return true;
200
+            return TRUE;
201 201
         } else {
202
-            return false;
202
+            return FALSE;
203 203
         }
204 204
     }
205 205
 
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
         if ($urnNodes->length > 0) {
213 213
             return $urnNodes->item(0)->nodeValue;
214 214
         } else {
215
-            return false;
215
+            return FALSE;
216 216
         }
217 217
     }
218 218
 
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
 
422 422
         $parserGenerator = new ParserGenerator($this->clientPid);
423 423
         $parserGenerator->setXml($this->xml->saveXML());
424
-        $parserGenerator->customXPath($notesXpath,true, $noteContent);
424
+        $parserGenerator->customXPath($notesXpath,TRUE, $noteContent);
425 425
         $this->xml = new \DOMDocument();
426 426
         $this->xml->loadXML($parserGenerator->getXMLData());
427 427
     }
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
     {
533 533
         $validationXpath =  $this->clientConfigurationManager->getValidationXpath();
534 534
         $validation = $this->getValue($validationXpath);
535
-        return (strtolower($validation) === 'true')? true : false;
535
+        return (strtolower($validation) === 'true')? TRUE : FALSE;
536 536
     }
537 537
 
538 538
     /**
@@ -580,7 +580,7 @@  discard block
 block discarded – undo
580 580
         } elseif(!empty($value)) {
581 581
             $parserGenerator = new ParserGenerator($this->clientPid);
582 582
             $parserGenerator->setXml($this->xml->saveXML());
583
-            $parserGenerator->customXPath($xpathString,true, $value);
583
+            $parserGenerator->customXPath($xpathString,TRUE, $value);
584 584
             $this->xml = new \DOMDocument();
585 585
             $this->xml->loadXML($parserGenerator->getXMLData());
586 586
         }
Please login to merge, or discard this patch.
Classes/Helper/DocumentMapper.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                 (
133 133
                     $this->getSettings()['deactivatePrimaryFileMandatoryCheck'] ||
134 134
                     $document->getDocumentType()->getVirtualType()
135
-                )? false : true
135
+                ) ? false : true
136 136
             )
137 137
         );
138 138
 
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 
150 150
         $internalFormat = new \EWW\Dpf\Helper\InternalFormat($document->getXmlData(), $this->clientPid);
151 151
 
152
-        $excludeGroupAttributes = array();
152
+        $excludeGroupAttributes = array ();
153 153
 
154 154
         foreach ($document->getDocumentType()->getMetadataPage() as $metadataPage) {
155 155
             $documentFormPage = new \EWW\Dpf\Domain\Model\DocumentFormPage();
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
                 $xpath = $internalFormat->getXpath();
181 181
 
182 182
                 // get fixed attributes from xpath configuration
183
-                $fixedGroupAttributes = array();
183
+                $fixedGroupAttributes = array ();
184 184
 
185 185
                 preg_match_all('/[A-Za-z0-9:@\.]+(\[@.*?\])*/', $metadataGroup->getAbsoluteMapping(), $groupMappingPathParts);
186 186
                 $groupMappingPathParts = $groupMappingPathParts[0];
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
 
400 400
         $documentData['documentUid'] = $documentForm->getDocumentUid();
401 401
         $documentData['metadata']    = $formMetaData['mods'];
402
-        $documentData['files']       = array();
402
+        $documentData['files']       = array ();
403 403
 
404 404
         $exporter->buildXmlFromForm($documentData);
405 405
 
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
 
432 432
                 foreach ($group as $groupItem) {
433 433
 
434
-                    $item = array();
434
+                    $item = array ();
435 435
 
436 436
                     $uid           = $groupItem->getUid();
437 437
                     $metadataGroup = $this->metadataGroupRepository->findByUid($uid);
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 
455 455
                             $fieldMapping = $metadataObject->getRelativeMapping();
456 456
 
457
-                            $formField = array();
457
+                            $formField = array ();
458 458
 
459 459
                             $value = $fieldItem->getValue();
460 460
 
@@ -495,11 +495,11 @@  discard block
 block discarded – undo
495 495
                     }
496 496
 
497 497
                     if (!key_exists('attributes', $item)) {
498
-                        $item['attributes'] = array();
498
+                        $item['attributes'] = array ();
499 499
                     }
500 500
 
501 501
                     if (!key_exists('values', $item)) {
502
-                        $item['values'] = array();
502
+                        $item['values'] = array ();
503 503
                     }
504 504
 
505 505
                     if ($groupItem->getMandatory() || $defaultValueCount < $fieldValueCount || $defaultValueCount == $fieldCount) {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @var \EWW\Dpf\Domain\Repository\MetadataGroupRepository
45 45
      * @TYPO3\CMS\Extbase\Annotation\Inject
46 46
      */
47
-    protected $metadataGroupRepository = null;
47
+    protected $metadataGroupRepository = NULL;
48 48
 
49 49
     /**
50 50
      * metadataObjectRepository
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @var \EWW\Dpf\Domain\Repository\MetadataObjectRepository
53 53
      * @TYPO3\CMS\Extbase\Annotation\Inject
54 54
      */
55
-    protected $metadataObjectRepository = null;
55
+    protected $metadataObjectRepository = NULL;
56 56
 
57 57
     /**
58 58
      * documentTypeRepository
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      * @var \EWW\Dpf\Domain\Repository\DocumentTypeRepository
61 61
      * @TYPO3\CMS\Extbase\Annotation\Inject
62 62
      */
63
-    protected $documentTypeRepository = null;
63
+    protected $documentTypeRepository = NULL;
64 64
 
65 65
     /**
66 66
      * documentRepository
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @var \EWW\Dpf\Domain\Repository\DocumentRepository
69 69
      * @TYPO3\CMS\Extbase\Annotation\Inject
70 70
      */
71
-    protected $documentRepository = null;
71
+    protected $documentRepository = NULL;
72 72
 
73 73
     /**
74 74
      * fileRepository
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * @var \EWW\Dpf\Domain\Repository\FileRepository
77 77
      * @TYPO3\CMS\Extbase\Annotation\Inject
78 78
      */
79
-    protected $fileRepository = null;
79
+    protected $fileRepository = NULL;
80 80
 
81 81
     /**
82 82
      * depositLicenseRepository
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * @var \EWW\Dpf\Domain\Repository\DepositLicenseRepository
85 85
      * @TYPO3\CMS\Extbase\Annotation\Inject
86 86
      */
87
-    protected $depositLicenseRepository = null;
87
+    protected $depositLicenseRepository = NULL;
88 88
 
89 89
     /**
90 90
      * clientPid
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     /**
97 97
      * @var bool
98 98
      */
99
-    protected $customClientPid = false;
99
+    protected $customClientPid = FALSE;
100 100
 
101 101
     /**
102 102
      * Get typoscript settings
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @param bool $generateEmptyFields
119 119
      * @return \EWW\Dpf\Domain\Model\DocumentForm
120 120
      */
121
-    public function getDocumentForm(Document $document, $generateEmptyFields = true)
121
+    public function getDocumentForm(Document $document, $generateEmptyFields = TRUE)
122 122
     {
123 123
         $documentForm = new \EWW\Dpf\Domain\Model\DocumentForm();
124 124
         $documentForm->generateCsrfToken();
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                 (
133 133
                     $this->getSettings()['deactivatePrimaryFileMandatoryCheck'] ||
134 134
                     $document->getDocumentType()->getVirtualType()
135
-                )? false : true
135
+                )? FALSE : TRUE
136 136
             )
137 137
         );
138 138
 
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
                 // build mapping path, previous fixed attributes which are differ from
196 196
                 // the own fixed attributes are excluded
197 197
                 $queryGroupMapping = $metadataGroup->getAbsoluteMapping();
198
-                if (strpos($queryGroupMapping, "@displayLabel") === false && is_array($excludeGroupAttributes[$groupMappingName])) {
198
+                if (strpos($queryGroupMapping, "@displayLabel") === FALSE && is_array($excludeGroupAttributes[$groupMappingName])) {
199 199
                     foreach ($excludeGroupAttributes[$groupMappingName] as $excludeAttr => $excludeAttrValue) {
200 200
                         if (!in_array($excludeAttr, $fixedGroupAttributes)) {
201 201
                             $queryGroupMapping .= $excludeAttrValue;
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 
254 254
                                 // ensure that e.g. <mods:detail> and <mods:detail type="volume">
255 255
                                 // are not recognized as the same node
256
-                                if ((strpos($value, "@") === false) && ($value != '.')) {
256
+                                if ((strpos($value, "@") === FALSE) && ($value != '.')) {
257 257
                                     $objectMappingPath[$key] .= "[not(@*)]";
258 258
                                 }
259 259
                             }
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
                     }
311 311
                 } else {
312 312
 
313
-                    $documentFormGroup->setEmptyGroup(true);
313
+                    $documentFormGroup->setEmptyGroup(TRUE);
314 314
 
315 315
                     foreach ($metadataGroup->getMetadataObject() as $metadataObject) {
316 316
                         $documentFormField = new \EWW\Dpf\Domain\Model\DocumentFormField();
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
 
363 363
         if ($documentForm->getDocumentUid()) {
364 364
             if ($this->isCustomClientPid()) {
365
-                $this->documentRepository->crossClient(true);
365
+                $this->documentRepository->crossClient(TRUE);
366 366
             }
367 367
             $document = $this->documentRepository->findByUid($documentForm->getDocumentUid());
368 368
             $tempInternalFormat = new \EWW\Dpf\Helper\InternalFormat($document->getXmlData(), $this->clientPid);
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
      */
529 529
     public function setClientPid(int $clientPid): void
530 530
     {
531
-        $this->customClientPid = true;
531
+        $this->customClientPid = TRUE;
532 532
         $this->clientPid = $clientPid;
533 533
     }
534 534
 
Please login to merge, or discard this patch.
Classes/Domain/Repository/BookmarkRepository.php 2 patches
Braces   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -22,15 +22,13 @@  discard block
 block discarded – undo
22 22
 /**
23 23
  * The repository for Bookmarks
24 24
  */
25
-class BookmarkRepository extends \EWW\Dpf\Domain\Repository\AbstractRepository
26
-{
25
+class BookmarkRepository extends \EWW\Dpf\Domain\Repository\AbstractRepository {
27 26
     /**
28 27
      * @param int $feUserUid
29 28
      * @param string $identifier
30 29
      * @return object
31 30
      */
32
-    public function findBookmark($feUserUid, $identifier)
33
-    {
31
+    public function findBookmark($feUserUid, $identifier) {
34 32
         $query = $this->createQuery();
35 33
 
36 34
         $query->matching(
@@ -49,8 +47,7 @@  discard block
 block discarded – undo
49 47
      * @return bool
50 48
      * @throws \TYPO3\CMS\Extbase\Persistence\Exception\IllegalObjectTypeException
51 49
      */
52
-    public function removeBookmark($document, $feUserUid)
53
-    {
50
+    public function removeBookmark($document, $feUserUid) {
54 51
         $query = $this->createQuery();
55 52
 
56 53
         if ($document instanceof Document) {
@@ -88,8 +85,7 @@  discard block
 block discarded – undo
88 85
      * @return bool
89 86
      * @throws \TYPO3\CMS\Extbase\Persistence\Exception\IllegalObjectTypeException
90 87
      */
91
-    public function addBookmark($document, $feUserUid)
92
-    {
88
+    public function addBookmark($document, $feUserUid) {
93 89
         if ($document instanceof Document) {
94 90
             // The returned documentIdentifier is either a PID or the document UID (TYPO3 db), see also
95 91
             // the above method removeBookmark().
@@ -115,8 +111,7 @@  discard block
 block discarded – undo
115 111
      * @param Document $document
116 112
      * @return array|\TYPO3\CMS\Extbase\Persistence\QueryResultInterface
117 113
      */
118
-    public function findDocumentBookmarks(Document $document)
119
-    {
114
+    public function findDocumentBookmarks(Document $document) {
120 115
         $query = $this->createQuery();
121 116
 
122 117
         $constraintsAnd[] = $query->logicalOr(
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,10 +105,10 @@
 block discarded – undo
105 105
             $bookmark->setDocumentIdentifier($identifier);
106 106
             $bookmark->setFeUserUid($feUserUid);
107 107
             $this->add($bookmark);
108
-            return true;
108
+            return TRUE;
109 109
         }
110 110
 
111
-        return false;
111
+        return FALSE;
112 112
     }
113 113
 
114 114
     /**
Please login to merge, or discard this patch.
Classes/Domain/Repository/AbstractRepository.php 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
 /**
18 18
  * The abstract repository
19 19
  */
20
-class AbstractRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
21
-{
20
+class AbstractRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {
22 21
     /**
23 22
      * Finds all records of all clients.
24 23
      *
@@ -34,8 +33,7 @@  discard block
 block discarded – undo
34 33
         return $query->execute($returnRawQueryResult);
35 34
     }
36 35
 
37
-    public function crossClient($active = false)
38
-    {
36
+    public function crossClient($active = false) {
39 37
         /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
40 38
         $querySettings = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings');
41 39
         $querySettings->setRespectStoragePage(!$active);
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,13 +28,13 @@
 block discarded – undo
28 28
     public function crossClientFindAll($returnRawQueryResult = TRUE) {
29 29
         /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
30 30
         $querySettings = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings');
31
-        $querySettings->setRespectStoragePage(false);
31
+        $querySettings->setRespectStoragePage(FALSE);
32 32
         $this->setDefaultQuerySettings($querySettings);
33 33
         $query = $this->createQuery();
34 34
         return $query->execute($returnRawQueryResult);
35 35
     }
36 36
 
37
-    public function crossClient($active = false)
37
+    public function crossClient($active = FALSE)
38 38
     {
39 39
         /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
40 40
         $querySettings = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings');
Please login to merge, or discard this patch.