Passed
Push — master ( 134b43...f02d33 )
by Ralf
09:50
created
Classes/Exceptions/ElasticSearchMissingIndexNameException.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,10 +14,8 @@
 block discarded – undo
14 14
  * The TYPO3 project - inspiring people to share!
15 15
  */
16 16
 
17
-class ElasticSearchMissingIndexNameException extends \Exception implements DPFExceptionInterface
18
-{
19
-    public function messageLanguageKey()
20
-    {
17
+class ElasticSearchMissingIndexNameException extends \Exception implements DPFExceptionInterface {
18
+    public function messageLanguageKey() {
21 19
         return 'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:document_transfer.elasticsearch_indexname_error';
22 20
     }
23 21
 }
Please login to merge, or discard this patch.
Classes/Services/ElasticSearch/ElasticSearch.php 3 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             throw new ElasticSearchMissingIndexNameException('Missing search index name.');
83 83
         }
84 84
 
85
-        $hosts = array(
85
+        $hosts = array (
86 86
             $this->server . ':' . $this->port,
87 87
         );
88 88
 
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
             if ($notes && is_array($notes)) {
311 311
                 $data->notes = $notes;
312 312
             } else {
313
-                $data->notes = array();
313
+                $data->notes = array ();
314 314
             }
315 315
 
316 316
             $files = $document->getFile();
Please login to merge, or discard this patch.
Braces   +9 added lines, -18 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@  discard block
 block discarded – undo
28 28
 use TYPO3\CMS\Core\Log\LogManager;
29 29
 use TYPO3\CMS\Extbase\Utility\LocalizationUtility;
30 30
 
31
-class ElasticSearch
32
-{
31
+class ElasticSearch {
33 32
     /**
34 33
      * @var \EWW\Dpf\Configuration\ClientConfigurationManager
35 34
      */
@@ -61,8 +60,7 @@  discard block
 block discarded – undo
61 60
      * @param int|null $clientPid
62 61
      * @throws ElasticSearchMissingIndexNameException
63 62
      */
64
-    public function __construct($clientPid = null)
65
-    {
63
+    public function __construct($clientPid = null) {
66 64
         $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
67 65
 
68 66
         $this->elasticsearchMapper = $objectManager->get(ElasticsearchMapper::class);
@@ -103,8 +101,7 @@  discard block
 block discarded – undo
103 101
     /**
104 102
      * @return string|null
105 103
      */
106
-    protected function getIndexName()
107
-    {
104
+    protected function getIndexName() {
108 105
         return $this->indexName;
109 106
     }
110 107
 
@@ -113,8 +110,7 @@  discard block
 block discarded – undo
113 110
      *
114 111
      * @param $indexName
115 112
      */
116
-    protected function initializeIndex($indexName)
117
-    {
113
+    protected function initializeIndex($indexName) {
118 114
         $paramsIndex = [
119 115
             'index' => $indexName,
120 116
             'body' => [
@@ -252,8 +248,7 @@  discard block
 block discarded – undo
252 248
      *
253 249
      * @param Document $document
254 250
      */
255
-    public function index($document)
256
-    {
251
+    public function index($document) {
257 252
         try {
258 253
             $data = json_decode($this->elasticsearchMapper->getElasticsearchJson($document));
259 254
         } catch (\Throwable $throwable) {
@@ -391,8 +386,7 @@  discard block
 block discarded – undo
391 386
      *
392 387
      * @param string $identifier
393 388
      */
394
-    public function delete($identifier)
395
-    {
389
+    public function delete($identifier) {
396 390
         try {
397 391
 
398 392
             $params = [
@@ -418,8 +412,7 @@  discard block
 block discarded – undo
418 412
     /**
419 413
      * @param $identifier
420 414
      */
421
-    public function getDocument($identifier)
422
-    {
415
+    public function getDocument($identifier) {
423 416
         $params = [
424 417
             'index' => $this->getIndexName(),
425 418
             'id'    => $identifier
@@ -434,8 +427,7 @@  discard block
 block discarded – undo
434 427
      * @param  array $query search query
435 428
      * @return array        result list
436 429
      */
437
-    public function search($query, $type = null)
438
-    {
430
+    public function search($query, $type = null) {
439 431
         try {
440 432
             // define type and index
441 433
             if (empty($query['index'])) {
@@ -467,8 +459,7 @@  discard block
 block discarded – undo
467 459
      * Get the results
468 460
      * @return mixed
469 461
      */
470
-    public function getResults()
471
-    {
462
+    public function getResults() {
472 463
         // return results from the last search request
473 464
         return $this->results;
474 465
     }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @param int|null $clientPid
62 62
      * @throws ElasticSearchMissingIndexNameException
63 63
      */
64
-    public function __construct($clientPid = null)
64
+    public function __construct($clientPid = NULL)
65 65
     {
66 66
         $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
67 67
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                 ],
153 153
                 'mappings' => [
154 154
                     '_source' => [
155
-                        'enabled' => true
155
+                        'enabled' => TRUE
156 156
                     ],
157 157
                     //'dynamic' => 'strict',
158 158
                     'properties' => [
@@ -215,11 +215,11 @@  discard block
 block discarded – undo
215 215
                                 ],
216 216
                                 'fobId' => [
217 217
                                     //'type' => 'keyword'
218
-                                    'enabled' => false
218
+                                    'enabled' => FALSE
219 219
                                 ],
220 220
                                 'index' => [
221 221
                                     //'type' => 'integer'
222
-                                    'enabled' => false
222
+                                    'enabled' => FALSE
223 223
                                 ]
224 224
                             ]
225 225
                         ],
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
             if ($document->getCreator()) {
282 282
                 $data->creator = $document->getCreator();
283 283
             } else {
284
-                $data->creator = null;
284
+                $data->creator = NULL;
285 285
             }
286 286
 
287 287
             if ($document->getCreator()) {
@@ -315,9 +315,9 @@  discard block
 block discarded – undo
315 315
 
316 316
             $files = $document->getFile();
317 317
             if ($files->count() > 0) {
318
-                $data->hasFiles = true;
318
+                $data->hasFiles = TRUE;
319 319
             } else {
320
-                $data->hasFiles = false;
320
+                $data->hasFiles = FALSE;
321 321
             }
322 322
 
323 323
             $internalFormat = new \EWW\Dpf\Helper\InternalFormat($document->getXmlData(), $this->clientPid);
@@ -353,11 +353,11 @@  discard block
 block discarded – undo
353 353
 
354 354
             $data->source = $document->getSourceDetails();
355 355
 
356
-            $data->universityCollection = false;
356
+            $data->universityCollection = FALSE;
357 357
             if ($data->collections && is_array($data->collections)) {
358 358
                 foreach ($data->collections as $collection) {
359 359
                     if ($collection == $this->clientConfigurationManager->getUniversityCollection()) {
360
-                        $data->universityCollection = true;
360
+                        $data->universityCollection = TRUE;
361 361
                         break;
362 362
                     }
363 363
                 }
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
             if ($embargoDate instanceof \DateTime) {
368 368
                 $data->embargoDate = $embargoDate->format("Y-m-d");
369 369
             } else {
370
-                $data->embargoDate = null;
370
+                $data->embargoDate = NULL;
371 371
             }
372 372
 
373 373
             $data->originalSourceTitle = $internalFormat->getOriginalSourceTitle();
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
      * @param  array $query search query
435 435
      * @return array        result list
436 436
      */
437
-    public function search($query, $type = null)
437
+    public function search($query, $type = NULL)
438 438
     {
439 439
         try {
440 440
             // define type and index
Please login to merge, or discard this patch.
Classes/Services/ElasticSearch/QueryBuilder.php 3 patches
Spacing   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             $query = [
123 123
                 'bool' => [
124 124
                     'must' => [
125
-                        'match_all' => (object)[]
125
+                        'match_all' => (object) []
126 126
                     ],
127 127
                     'filter' => $queryFilter
128 128
                 ]
@@ -164,12 +164,12 @@  discard block
 block discarded – undo
164 164
                             'script' => [
165 165
                                 'lang' => 'painless',
166 166
                                 'source' =>
167
-                                    "for (int i = 0; i < doc['collections'].length; ++i) {".
168
-                                    "    if(doc['collections'][i] =='".
169
-                                    $this->clientConfigurationManager->getUniversityCollection() ."') {".
170
-                                    "        return 'true';".
171
-                                    "    }".
172
-                                    "}".
167
+                                    "for (int i = 0; i < doc['collections'].length; ++i) {" .
168
+                                    "    if(doc['collections'][i] =='" .
169
+                                    $this->clientConfigurationManager->getUniversityCollection() . "') {" .
170
+                                    "        return 'true';" .
171
+                                    "    }" .
172
+                                    "}" .
173 173
                                     "return 'false';"
174 174
                             ]
175 175
                         ]
@@ -185,23 +185,23 @@  discard block
 block discarded – undo
185 185
                             'script' => [
186 186
                                 'lang' => 'painless',
187 187
                                 'source' =>
188
-                                    "if (".
189
-                                    "    doc['creator'].size() > 0 &&".
190
-                                    "    doc['creator'].value == '".$this->security->getUser()->getUid()."') {".
191
-                                    "    return 'self';".
192
-                                    "}".
193
-                                    "if (".
194
-                                    "    doc['creatorRole'].size() > 0 &&".
195
-                                    "    doc['creatorRole'].value == '".Security::ROLE_LIBRARIAN."'".
196
-                                    ") {".
197
-                                    "    return 'librarian';".
198
-                                    "}".
199
-                                    "if (".
200
-                                    "    doc['creatorRole'].size() > 0 &&".
201
-                                    "    doc['creatorRole'].value == '".Security::ROLE_RESEARCHER."'".
202
-                                    ") {".
203
-                                    "    return 'user';".
204
-                                    "}".
188
+                                    "if (" .
189
+                                    "    doc['creator'].size() > 0 &&" .
190
+                                    "    doc['creator'].value == '" . $this->security->getUser()->getUid() . "') {" .
191
+                                    "    return 'self';" .
192
+                                    "}" .
193
+                                    "if (" .
194
+                                    "    doc['creatorRole'].size() > 0 &&" .
195
+                                    "    doc['creatorRole'].value == '" . Security::ROLE_LIBRARIAN . "'" .
196
+                                    ") {" .
197
+                                    "    return 'librarian';" .
198
+                                    "}" .
199
+                                    "if (" .
200
+                                    "    doc['creatorRole'].size() > 0 &&" .
201
+                                    "    doc['creatorRole'].value == '" . Security::ROLE_RESEARCHER . "'" .
202
+                                    ") {" .
203
+                                    "    return 'user';" .
204
+                                    "}" .
205 205
                                     "return 'unknown';"
206 206
                             ]
207 207
                         ]
@@ -414,8 +414,8 @@  discard block
 block discarded – undo
414 414
      */
415 415
     protected function buildSortQueryPart($sortField, $sortOrder) {
416 416
 
417
-        $sortField = ($sortField)? $sortField : 'title';
418
-        $sortOrder = ($sortOrder)? $sortOrder : 'asc';
417
+        $sortField = ($sortField) ? $sortField : 'title';
418
+        $sortOrder = ($sortOrder) ? $sortOrder : 'asc';
419 419
 
420 420
         // Build the sorting part.
421 421
         $script = "";
@@ -446,11 +446,11 @@  discard block
 block discarded – undo
446 446
             ];
447 447
         } else {
448 448
             if ($sortField == 'title') {
449
-                $sortField.= ".keyword";
449
+                $sortField .= ".keyword";
450 450
             }
451 451
 
452 452
             if ($sortField == 'personsSort') {
453
-                $sortField.= ".keyword";
453
+                $sortField .= ".keyword";
454 454
             }
455 455
 
456 456
             $sort = [
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
     protected function getSortScriptUniversityCollection($collection)
468 468
     {
469 469
         $script  = "for (int i = 0; i < doc['collections'].length; ++i) {";
470
-        $script .= "    if (doc['collections'][i] == '".$collection."') {";
470
+        $script .= "    if (doc['collections'][i] == '" . $collection . "') {";
471 471
         $script .= "        return '1';";
472 472
         $script .= "    }";
473 473
         $script .= "}";
@@ -488,13 +488,13 @@  discard block
 block discarded – undo
488 488
 
489 489
     protected function getSortScriptCreatorRole($feUserUid)
490 490
     {
491
-        $script = "if (doc['creator'].value == '".$feUserUid."') {";
491
+        $script = "if (doc['creator'].value == '" . $feUserUid . "') {";
492 492
         $script .= "    return '1';";
493 493
         $script .= "}";
494
-        $script .= "if (doc['creatorRole'].value == '".Security::ROLE_LIBRARIAN."') {";
494
+        $script .= "if (doc['creatorRole'].value == '" . Security::ROLE_LIBRARIAN . "') {";
495 495
         $script .= "return '2';";
496 496
         $script .= "}";
497
-        $script .= "if (doc['creatorRole'].value == '".Security::ROLE_RESEARCHER."') {";
497
+        $script .= "if (doc['creatorRole'].value == '" . Security::ROLE_RESEARCHER . "') {";
498 498
         $script .= "    return '3';";
499 499
         $script .= "}";
500 500
         $script .= "return '4';";
@@ -509,15 +509,15 @@  discard block
 block discarded – undo
509 509
         foreach (DocumentWorkflow::PLACES as $state) {
510 510
             if (array_key_exists($state, DocumentWorkflow::STATE_TO_ALIASSTATE_MAPPING)) {
511 511
                 $aliasState = DocumentWorkflow::STATE_TO_ALIASSTATE_MAPPING[$state];
512
-                $key = 'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:manager.documentList.state.'.$aliasState;
512
+                $key = 'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:manager.documentList.state.' . $aliasState;
513 513
                 $stateName = LocalizationUtility::translate($key, 'dpf');
514
-                $sortStates[] = "if (doc['state'].value == '".$state."') return '".$stateName."';";
514
+                $sortStates[] = "if (doc['state'].value == '" . $state . "') return '" . $stateName . "';";
515 515
             }
516 516
         }
517 517
 
518 518
         $sortStates = implode(" ", $sortStates);
519 519
 
520
-        return $sortStates." return '';";
520
+        return $sortStates . " return '';";
521 521
     }
522 522
 
523 523
 
@@ -526,14 +526,14 @@  discard block
 block discarded – undo
526 526
         $sortDoctypes = [];
527 527
         foreach ($this->documentTypeRepository->findAll() as $documentType) {
528 528
             if ($documentType->getName() && $documentType->getDisplayname()) {
529
-                $sortDoctypes[] = "if (doc['doctype'].value == '".$documentType->getName()."')"
530
-                    ." return '".$documentType->getDisplayname()."';";
529
+                $sortDoctypes[] = "if (doc['doctype'].value == '" . $documentType->getName() . "')"
530
+                    ." return '" . $documentType->getDisplayname() . "';";
531 531
             }
532 532
         }
533 533
 
534 534
         $sortDoctypes = implode(" ", $sortDoctypes);
535 535
 
536
-        return $sortDoctypes." return '';";
536
+        return $sortDoctypes . " return '';";
537 537
     }
538 538
 
539 539
 }
Please login to merge, or discard this patch.
Braces   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@  discard block
 block discarded – undo
19 19
 use EWW\Dpf\Security\Security;
20 20
 use TYPO3\CMS\Extbase\Utility\LocalizationUtility;
21 21
 
22
-class QueryBuilder
23
-{
22
+class QueryBuilder {
24 23
     /**
25 24
      *
26 25
      * @var \EWW\Dpf\Configuration\ClientConfigurationManager
@@ -62,8 +61,7 @@  discard block
 block discarded – undo
62 61
     public function buildQuery(
63 62
         $itemsPerPage, $workspaceFilter, $from = 0, $bookmarkIdentifiers = [], $filters = [],
64 63
         $excludeFilters = [], $sortField = null, $sortOrder = null, $queryString = null
65
-    )
66
-    {
64
+    ) {
67 65
 
68 66
         if ($workspaceFilter) {
69 67
             $workspaceFilter = [0 => $workspaceFilter];
@@ -464,8 +462,7 @@  discard block
 block discarded – undo
464 462
     }
465 463
 
466 464
 
467
-    protected function getSortScriptUniversityCollection($collection)
468
-    {
465
+    protected function getSortScriptUniversityCollection($collection) {
469 466
         $script  = "for (int i = 0; i < doc['collections'].length; ++i) {";
470 467
         $script .= "    if (doc['collections'][i] == '".$collection."') {";
471 468
         $script .= "        return '1';";
@@ -476,8 +473,7 @@  discard block
 block discarded – undo
476 473
         return $script;
477 474
     }
478 475
 
479
-    protected function getSortScriptHasFiles()
480
-    {
476
+    protected function getSortScriptHasFiles() {
481 477
         $script = "if (doc['hasFiles'].value == 'true') {";
482 478
         $script .= "    return '1';";
483 479
         $script .= "}";
@@ -486,8 +482,7 @@  discard block
 block discarded – undo
486 482
         return $script;
487 483
     }
488 484
 
489
-    protected function getSortScriptCreatorRole($feUserUid)
490
-    {
485
+    protected function getSortScriptCreatorRole($feUserUid) {
491 486
         $script = "if (doc['creator'].value == '".$feUserUid."') {";
492 487
         $script .= "    return '1';";
493 488
         $script .= "}";
@@ -503,8 +498,7 @@  discard block
 block discarded – undo
503 498
     }
504 499
 
505 500
 
506
-    protected function getSortScriptState()
507
-    {
501
+    protected function getSortScriptState() {
508 502
         $sortStates = [];
509 503
         foreach (DocumentWorkflow::PLACES as $state) {
510 504
             if (array_key_exists($state, DocumentWorkflow::STATE_TO_ALIASSTATE_MAPPING)) {
@@ -521,8 +515,7 @@  discard block
 block discarded – undo
521 515
     }
522 516
 
523 517
 
524
-    protected function getSortScriptDoctype()
525
-    {
518
+    protected function getSortScriptDoctype() {
526 519
         $sortDoctypes = [];
527 520
         foreach ($this->documentTypeRepository->findAll() as $documentType) {
528 521
             if ($documentType->getName() && $documentType->getDisplayname()) {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * @var \EWW\Dpf\Domain\Repository\DocumentTypeRepository
35 35
      * @TYPO3\CMS\Extbase\Annotation\Inject
36 36
      */
37
-    protected $documentTypeRepository = null;
37
+    protected $documentTypeRepository = NULL;
38 38
 
39 39
     /**
40 40
      * security
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      * @var \EWW\Dpf\Security\Security
43 43
      * @TYPO3\CMS\Extbase\Annotation\Inject
44 44
      */
45
-    protected $security = null;
45
+    protected $security = NULL;
46 46
 
47 47
     /**
48 48
      * Builds the document list query.
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function buildQuery(
63 63
         $itemsPerPage, $workspaceFilter, $from = 0, $bookmarkIdentifiers = [], $filters = [],
64
-        $excludeFilters = [], $sortField = null, $sortOrder = null, $queryString = null
64
+        $excludeFilters = [], $sortField = NULL, $sortOrder = NULL, $queryString = NULL
65 65
     )
66 66
     {
67 67
 
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 
239 239
             foreach ($filters as $key => $filterValues) {
240 240
                 $queryFilterPart = [];
241
-                if (in_array($key, $validKeys, true)) {
241
+                if (in_array($key, $validKeys, TRUE)) {
242 242
                     if ($key == 'universityCollection') {
243 243
                         if ($filterValues && is_array($filterValues)) {
244 244
                             if (in_array("true", $filterValues)) {
Please login to merge, or discard this patch.
Classes/Services/ParserGenerator.php 1 patch
Braces   +10 added lines, -20 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@  discard block
 block discarded – undo
23 23
 /**
24 24
  * ParserGenerator
25 25
  */
26
-class ParserGenerator
27
-{
26
+class ParserGenerator {
28 27
     /**
29 28
      * clientConfigurationManager
30 29
      *
@@ -93,8 +92,7 @@  discard block
 block discarded – undo
93 92
      * ParserGenerator constructor.
94 93
      * @param int $clientPid
95 94
      */
96
-    public function __construct($clientPid = 0)
97
-    {
95
+    public function __construct($clientPid = 0) {
98 96
         $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
99 97
         $this->clientConfigurationManager = $objectManager->get(ClientConfigurationManager::class);
100 98
 
@@ -128,16 +126,14 @@  discard block
 block discarded – undo
128 126
      * returns the mods xml string
129 127
      * @return string mods xml
130 128
      */
131
-    public function getXMLData()
132
-    {
129
+    public function getXMLData() {
133 130
         $xml = $this->xmlData->saveXML();
134 131
         $xml = preg_replace("/eww=\"\d-\d-\d\"/", '${1}${2}${3}', $xml);
135 132
 
136 133
         return $xml;
137 134
     }
138 135
 
139
-    public function transformInputXML($xml)
140
-    {
136
+    public function transformInputXML($xml) {
141 137
         $XSLTransformator = new XSLTransformator();
142 138
         return $XSLTransformator->transformInputXML($xml);
143 139
     }
@@ -146,8 +142,7 @@  discard block
 block discarded – undo
146 142
      * @param $document
147 143
      * @return string The transformed xml
148 144
      */
149
-    public function getTransformedOutputXML($document)
150
-    {
145
+    public function getTransformedOutputXML($document) {
151 146
         $XSLTransformator = new XSLTransformator();
152 147
         return $XSLTransformator->getTransformedOutputXML($document);
153 148
     }
@@ -157,8 +152,7 @@  discard block
 block discarded – undo
157 152
      * build mods from form array
158 153
      * @param array $array structured form data array
159 154
      */
160
-    public function buildXmlFromForm($array)
161
-    {
155
+    public function buildXmlFromForm($array) {
162 156
         $fedoraNamespace = $this->clientConfigurationManager->getFedoraNamespace();
163 157
 
164 158
         $this->xmlData = $this->xmlData;
@@ -241,8 +235,7 @@  discard block
 block discarded – undo
241 235
      * @param  xpath $xPath xPath expression
242 236
      * @return xml
243 237
      */
244
-    public function parseXPath($xPath)
245
-    {
238
+    public function parseXPath($xPath) {
246 239
 
247 240
         $this->parser->generateXmlFromXPath($xPath);
248 241
         $xml = $this->parser->getXML();
@@ -250,8 +243,7 @@  discard block
 block discarded – undo
250 243
         return $xml;
251 244
     }
252 245
 
253
-    public function parseXPathWrapped($xPath)
254
-    {
246
+    public function parseXPathWrapped($xPath) {
255 247
         $this->parser->generateXmlFromXPath($xPath);
256 248
         $xml = $this->parser->getXML();
257 249
 
@@ -266,8 +258,7 @@  discard block
 block discarded – undo
266 258
      * @param  string $value form value
267 259
      * @return xml    created xml
268 260
      */
269
-    public function customXPath($xPath, $newGroupFlag = false, $value = '', $attributeOnly = false)
270
-    {
261
+    public function customXPath($xPath, $newGroupFlag = false, $value = '', $attributeOnly = false) {
271 262
         if (!$attributeOnly) {
272 263
             // Explode xPath
273 264
             $newPath = explode('%', $xPath);
@@ -466,8 +457,7 @@  discard block
 block discarded – undo
466 457
      * sets the file data and generates file xml
467 458
      * @param string $value
468 459
      */
469
-    public function setFileData($value = '')
470
-    {
460
+    public function setFileData($value = '') {
471 461
         $this->files = $value;
472 462
         $this->generateFileXML();
473 463
     }
Please login to merge, or discard this patch.
Classes/Domain/Repository/DocumentRepository.php 3 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             case Security::ROLE_RESEARCHER:
47 47
                 $query->matching(
48 48
                     $query->logicalAnd(
49
-                        array(
49
+                        array (
50 50
                             $query->equals('suggestion', true),
51 51
                             $query->equals('creator', $creatorUid)
52 52
                         )
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         $query = $this->createQuery();
67 67
 
68
-        $constraints = array(
68
+        $constraints = array (
69 69
             $query->logicalNot($query->equals('object_identifier', '')),
70 70
             $query->logicalNot($query->equals('object_identifier', null))
71 71
         );
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         $result = $query->execute();
86 86
 
87
-        $objectIdentifiers = array();
87
+        $objectIdentifiers = array ();
88 88
 
89 89
         foreach ($result as $document) {
90 90
             $objectIdentifiers[$document->getObjectIdentifier()] = $document->getObjectIdentifier();
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $query = $this->createQuery();
105 105
         $query->getQuerySettings()->setRespectStoragePage(false);
106 106
 
107
-        $constraints = array();
107
+        $constraints = array ();
108 108
         $constraints[] = $query->equals('process_number', '');
109 109
         $constraints[] = $query->equals('process_number', null);
110 110
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         $dateTimeObj = new \DateTime();
134 134
         $dateTimeObj->sub(new \DateInterval("PT" . $timeout . "S"));
135 135
 
136
-        $constraints = array();
136
+        $constraints = array ();
137 137
         $constraints[] = $query->lessThan('tstamp', $dateTimeObj->getTimestamp());
138 138
 
139 139
         $query->matching(
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
         $dateTimeObj = new \DateTime();
160 160
         $dateTimeObj->sub(new \DateInterval("PT" . $timeout . "S"));
161 161
 
162
-        $constraints = array();
162
+        $constraints = array ();
163 163
         $constraints[] = $query->lessThan('tstamp', $dateTimeObj->getTimestamp());
164 164
 
165 165
         $query->matching(
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     {
182 182
         $query = $this->createQuery();
183 183
 
184
-        $constraints = array(
184
+        $constraints = array (
185 185
             $query->equals('object_identifier', $objectIdentifier),
186 186
             $query->logicalNot($query->equals('temporary', true)),
187 187
             $query->logicalNot($query->equals('suggestion', true))
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
             return null;
223 223
         }
224 224
 
225
-        $query->setOrderings(array("tstamp" => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING));
225
+        $query->setOrderings(array ("tstamp" => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING));
226 226
         $query->matching($query->logicalAnd($constraints));
227 227
 
228 228
         return $query->execute()->getFirst();
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
         $query = $this->createQuery();
310 310
         $query->matching(
311 311
             $query->logicalAnd(
312
-                array(
312
+                array (
313 313
                     $query->logicalNot(
314 314
                         $query->equals('embargo_date', 0)
315 315
                     )
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
                     $query->equals('suggestion', false)
348 348
                 );
349 349
 
350
-        $query->setOrderings(array("tstamp" => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING));
350
+        $query->setOrderings(array ("tstamp" => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING));
351 351
         $query->matching($query->logicalOr($constraints));
352 352
 
353 353
         return $query->execute();
Please login to merge, or discard this patch.
Braces   +13 added lines, -26 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@  discard block
 block discarded – undo
22 22
 /**
23 23
  * The repository for Documents
24 24
  */
25
-class DocumentRepository extends \EWW\Dpf\Domain\Repository\AbstractRepository
26
-{
25
+class DocumentRepository extends \EWW\Dpf\Domain\Repository\AbstractRepository {
27 26
     /**
28 27
      * Finds all suggestion documents of the given user role filtered by creator feuser uid
29 28
      *
@@ -31,8 +30,7 @@  discard block
 block discarded – undo
31 30
      * @param int $creatorUid
32 31
      * @return array|\TYPO3\CMS\Extbase\Persistence\QueryResultInterface
33 32
      */
34
-    public function findAllDocumentSuggestions($role, $creatorUid)
35
-    {
33
+    public function findAllDocumentSuggestions($role, $creatorUid) {
36 34
         $query = $this->createQuery();
37 35
 
38 36
         switch ($role) {
@@ -61,8 +59,7 @@  discard block
 block discarded – undo
61 59
      * @param boolean $temporary
62 60
      * @return array
63 61
      */
64
-    public function getObjectIdentifiers($temporary = false)
65
-    {
62
+    public function getObjectIdentifiers($temporary = false) {
66 63
         $query = $this->createQuery();
67 64
 
68 65
         $constraints = array(
@@ -99,8 +96,7 @@  discard block
 block discarded – undo
99 96
      *
100 97
      * @return array The found Document Objects
101 98
      */
102
-    public function findDocumentsWithoutProcessNumber()
103
-    {
99
+    public function findDocumentsWithoutProcessNumber() {
104 100
         $query = $this->createQuery();
105 101
         $query->getQuerySettings()->setRespectStoragePage(false);
106 102
 
@@ -126,8 +122,7 @@  discard block
 block discarded – undo
126 122
      * @param integer $timeout : Time interval (in seconds) in which documents are not outdated.
127 123
      * @return array The found Document Objects
128 124
      */
129
-    public function findOutdatedTemporaryDocuments($timeout = 3600)
130
-    {
125
+    public function findOutdatedTemporaryDocuments($timeout = 3600) {
131 126
         $query = $this->createQuery();
132 127
 
133 128
         $dateTimeObj = new \DateTime();
@@ -152,8 +147,7 @@  discard block
 block discarded – undo
152 147
      * @param integer $timeout : Time interval (in seconds) in which documents are not outdated.
153 148
      * @return array The found Document Objects
154 149
      */
155
-    public function findOutdatedLockedDocuments($timeout = 3600)
156
-    {
150
+    public function findOutdatedLockedDocuments($timeout = 3600) {
157 151
         $query = $this->createQuery();
158 152
 
159 153
         $dateTimeObj = new \DateTime();
@@ -177,8 +171,7 @@  discard block
 block discarded – undo
177 171
      * @param string $objectIdentifier
178 172
      * @return array
179 173
      */
180
-    public function findWorkingCopyByObjectIdentifier($objectIdentifier)
181
-    {
174
+    public function findWorkingCopyByObjectIdentifier($objectIdentifier) {
182 175
         $query = $this->createQuery();
183 176
 
184 177
         $constraints = array(
@@ -196,8 +189,7 @@  discard block
 block discarded – undo
196 189
      * @param string $identifier
197 190
      * @return Document
198 191
      */
199
-    public function findByIdentifier($identifier)
200
-    {
192
+    public function findByIdentifier($identifier) {
201 193
         $query = $this->createQuery();
202 194
 
203 195
         if (Identifier::isUid($identifier)) {
@@ -234,8 +226,7 @@  discard block
 block discarded – undo
234 226
      * @param bool $includeSuggestion
235 227
      * @return Document
236 228
      */
237
-    public function findWorkingCopy($identifier, $includeTemporary = false, $includeSuggestion = false)
238
-    {
229
+    public function findWorkingCopy($identifier, $includeTemporary = false, $includeSuggestion = false) {
239 230
         $query = $this->createQuery();
240 231
 
241 232
         if (is_numeric($identifier)) {
@@ -261,8 +252,7 @@  discard block
 block discarded – undo
261 252
      * @param object $modifiedObject The modified object
262 253
      * @throws \Exception
263 254
      */
264
-    public function update($modifiedObject)
265
-    {
255
+    public function update($modifiedObject) {
266 256
         /** @var Document $document */
267 257
         $document = $modifiedObject;
268 258
 
@@ -287,8 +277,7 @@  discard block
 block discarded – undo
287 277
     }
288 278
 
289 279
 
290
-    public function updateCreator()
291
-    {
280
+    public function updateCreator() {
292 281
 
293 282
         $query = $this->createQuery();
294 283
         $query->statement("update tx_dpf_domain_model_document set creator = owner");
@@ -300,8 +289,7 @@  discard block
 block discarded – undo
300 289
      * Finds all records with embargo date
301 290
      * @return mixed
302 291
      */
303
-    public function crossClientEmbargoFindAll()
304
-    {
292
+    public function crossClientEmbargoFindAll() {
305 293
         /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
306 294
         $querySettings = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings');
307 295
         $querySettings->setRespectStoragePage(false);
@@ -323,8 +311,7 @@  discard block
 block discarded – undo
323 311
      * @param string $identifier
324 312
      * @return array|\TYPO3\CMS\Extbase\Persistence\QueryResultInterface
325 313
      */
326
-    public function searchForIdentifier(string $identifier)
327
-    {
314
+    public function searchForIdentifier(string $identifier) {
328 315
         $identifier = str_replace("*", "%", $identifier);
329 316
 
330 317
         $query = $this->createQuery();
Please login to merge, or discard this patch.
Upper-Lower-Casing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
             case Security::ROLE_LIBRARIAN:
41 41
                 $query->matching(
42
-                    $query->equals('suggestion', true)
42
+                    $query->equals('suggestion', TRUE)
43 43
                 );
44 44
                 break;
45 45
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
                 $query->matching(
48 48
                     $query->logicalAnd(
49 49
                         array(
50
-                            $query->equals('suggestion', true),
50
+                            $query->equals('suggestion', TRUE),
51 51
                             $query->equals('creator', $creatorUid)
52 52
                         )
53 53
                     )
@@ -61,21 +61,21 @@  discard block
 block discarded – undo
61 61
      * @param boolean $temporary
62 62
      * @return array
63 63
      */
64
-    public function getObjectIdentifiers($temporary = false)
64
+    public function getObjectIdentifiers($temporary = FALSE)
65 65
     {
66 66
         $query = $this->createQuery();
67 67
 
68 68
         $constraints = array(
69 69
             $query->logicalNot($query->equals('object_identifier', '')),
70
-            $query->logicalNot($query->equals('object_identifier', null))
70
+            $query->logicalNot($query->equals('object_identifier', NULL))
71 71
         );
72 72
 
73 73
         if (count($constraints)) {
74 74
             $constraints[] = $query->logicalAnd(
75 75
                 $query->logicalNot(
76 76
                     $query->logicalOr(
77
-                        $query->equals('temporary', true),
78
-                        $query->equals('suggestion', true)
77
+                        $query->equals('temporary', TRUE),
78
+                        $query->equals('suggestion', TRUE)
79 79
                     )
80 80
                 )
81 81
             );
@@ -102,16 +102,16 @@  discard block
 block discarded – undo
102 102
     public function findDocumentsWithoutProcessNumber()
103 103
     {
104 104
         $query = $this->createQuery();
105
-        $query->getQuerySettings()->setRespectStoragePage(false);
105
+        $query->getQuerySettings()->setRespectStoragePage(FALSE);
106 106
 
107 107
         $constraints = array();
108 108
         $constraints[] = $query->equals('process_number', '');
109
-        $constraints[] = $query->equals('process_number', null);
109
+        $constraints[] = $query->equals('process_number', NULL);
110 110
 
111 111
         if (count($constraints)) {
112 112
             $query->matching(
113 113
                 $query->logicalAnd(
114
-                    $query->equals('temporary', false),
114
+                    $query->equals('temporary', FALSE),
115 115
                     $query->logicalOr($constraints)
116 116
                 )
117 117
             );
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 
139 139
         $query->matching(
140 140
             $query->logicalAnd(
141
-                $query->equals('temporary', true),
141
+                $query->equals('temporary', TRUE),
142 142
                 $query->logicalOr($constraints)
143 143
             )
144 144
         );
@@ -183,8 +183,8 @@  discard block
 block discarded – undo
183 183
 
184 184
         $constraints = array(
185 185
             $query->equals('object_identifier', $objectIdentifier),
186
-            $query->logicalNot($query->equals('temporary', true)),
187
-            $query->logicalNot($query->equals('suggestion', true))
186
+            $query->logicalNot($query->equals('temporary', TRUE)),
187
+            $query->logicalNot($query->equals('suggestion', TRUE))
188 188
         );
189 189
 
190 190
         $query->matching($query->logicalAnd($constraints));
@@ -208,18 +208,18 @@  discard block
 block discarded – undo
208 208
             $constraints = [
209 209
                 $query->logicalAnd(
210 210
                     $query->equals('object_identifier', $identifier),
211
-                    $query->equals('suggestion', false)
211
+                    $query->equals('suggestion', FALSE)
212 212
                 )
213 213
             ];
214 214
         } elseif (Identifier::isProcessNumber($identifier)) {
215 215
             $constraints = [
216 216
                 $query->logicalAnd(
217 217
                     $query->equals('process_number', $identifier),
218
-                    $query->equals('suggestion', false)
218
+                    $query->equals('suggestion', FALSE)
219 219
                 )
220 220
             ];
221 221
         } else {
222
-            return null;
222
+            return NULL;
223 223
         }
224 224
 
225 225
         $query->setOrderings(array("tstamp" => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING));
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      * @param bool $includeSuggestion
235 235
      * @return Document
236 236
      */
237
-    public function findWorkingCopy($identifier, $includeTemporary = false, $includeSuggestion = false)
237
+    public function findWorkingCopy($identifier, $includeTemporary = FALSE, $includeSuggestion = FALSE)
238 238
     {
239 239
         $query = $this->createQuery();
240 240
 
@@ -269,8 +269,8 @@  discard block
 block discarded – undo
269 269
         if (trim($document->getObjectIdentifier()) && !$document->isTemporary() && !$document->isSuggestion()) {
270 270
             $query = $this->createQuery();
271 271
             $constraints[] = $query->equals('object_identifier', trim($document->getObjectIdentifier()));
272
-            $constraints[] = $query->equals('temporary', false);
273
-            $constraints[] = $query->equals('suggestion', false);
272
+            $constraints[] = $query->equals('temporary', FALSE);
273
+            $constraints[] = $query->equals('suggestion', FALSE);
274 274
             $query->matching($query->logicalAnd($constraints));
275 275
 
276 276
             /** @var Document $workingCopy */
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     {
305 305
         /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
306 306
         $querySettings = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings');
307
-        $querySettings->setRespectStoragePage(false);
307
+        $querySettings->setRespectStoragePage(FALSE);
308 308
         $this->setDefaultQuerySettings($querySettings);
309 309
         $query = $this->createQuery();
310 310
         $query->matching(
@@ -332,19 +332,19 @@  discard block
 block discarded – undo
332 332
             $constraints[] =
333 333
                 $query->logicalAnd(
334 334
                     $query->like('uid', $identifier),
335
-                    $query->equals('suggestion', false)
335
+                    $query->equals('suggestion', FALSE)
336 336
                 );
337 337
 
338 338
             $constraints[] =
339 339
                 $query->logicalAnd(
340 340
                     $query->like('object_identifier', $identifier),
341
-                    $query->equals('suggestion', false)
341
+                    $query->equals('suggestion', FALSE)
342 342
                 );
343 343
 
344 344
             $constraints[] =
345 345
                 $query->logicalAnd(
346 346
                     $query->like('process_number', $identifier),
347
-                    $query->equals('suggestion', false)
347
+                    $query->equals('suggestion', FALSE)
348 348
                 );
349 349
 
350 350
         $query->setOrderings(array("tstamp" => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING));
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_depositlicenselog.php 1 patch
Spacing   +46 added lines, -46 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_depositlicenselog',
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,77 +36,77 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'username, licence_uri, title, object_identifier, process_number, urn, file_names',
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,
41 41
         username, licence_uri, title, object_identifier, process_number, urn, file_names',
42 42
     ),
43
-    'types'     => array(
44
-        '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,
43
+    'types'     => array (
44
+        '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,
45 45
         username, licence_uri, title, object_identifier, process_number, urn, file_names
46 46
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
47 47
     ),
48
-    'palettes'  => array(
49
-        '1' => array('showitem' => ''),
48
+    'palettes'  => array (
49
+        '1' => array ('showitem' => ''),
50 50
     ),
51
-    'columns'   => array(
51
+    'columns'   => array (
52 52
 
53
-        'sys_language_uid'           => array(
53
+        'sys_language_uid'           => array (
54 54
             'exclude' => 1,
55 55
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
56
-            'config'  => array(
56
+            'config'  => array (
57 57
                 'type'                => 'select',
58 58
                 'renderType'          => 'selectSingle',
59 59
                 'foreign_table'       => 'sys_language',
60 60
                 'foreign_table_where' => 'ORDER BY sys_language.title',
61
-                'items'               => array(
62
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
63
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
61
+                'items'               => array (
62
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
63
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
64 64
                 ),
65 65
                 'default' => 0,
66 66
             ),
67 67
         ),
68
-        'l10n_parent'                => array(
68
+        'l10n_parent'                => array (
69 69
             'displayCond' => 'FIELD:sys_language_uid:>:0',
70 70
             'exclude'     => 1,
71 71
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
72
-            'config'      => array(
72
+            'config'      => array (
73 73
                 'type'                => 'select',
74 74
                 'renderType'          => 'selectSingle',
75
-                'items'               => array(
76
-                    array('', 0),
75
+                'items'               => array (
76
+                    array ('', 0),
77 77
                 ),
78 78
                 'foreign_table'       => 'tx_dpf_domain_model_depositlicenselog',
79 79
                 'foreign_table_where' => 'AND tx_dpf_domain_model_depositlicenselog.pid=###CURRENT_PID### AND tx_dpf_domain_model_depositlicenselog.sys_language_uid IN (-1,0)',
80 80
                 'default' => 0,
81 81
             ),
82 82
         ),
83
-        'l10n_diffsource'            => array(
84
-            'config' => array(
83
+        'l10n_diffsource'            => array (
84
+            'config' => array (
85 85
                 'type' => 'passthrough',
86 86
             ),
87 87
         ),
88 88
 
89
-        't3ver_label'                => array(
89
+        't3ver_label'                => array (
90 90
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
91
-            'config' => array(
91
+            'config' => array (
92 92
                 'type' => 'input',
93 93
                 'size' => 30,
94 94
                 'max'  => 255,
95 95
             ),
96 96
         ),
97 97
 
98
-        'hidden'                     => array(
98
+        'hidden'                     => array (
99 99
             'exclude' => 1,
100 100
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
101
-            'config'  => array(
101
+            'config'  => array (
102 102
                 'type' => 'check',
103 103
             ),
104 104
         ),
105
-        'starttime'                  => array(
105
+        'starttime'                  => array (
106 106
             'exclude'   => 1,
107 107
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
108
-            'config'    => array(
109
-                'behaviour' => array(
108
+            'config'    => array (
109
+                'behaviour' => array (
110 110
                     'allowLanguageSynchronization' => true
111 111
                 ),
112 112
                 'type'     => 'input',
@@ -115,16 +115,16 @@  discard block
 block discarded – undo
115 115
                 'eval'     => 'datetime',
116 116
                 'checkbox' => 0,
117 117
                 'default'  => 0,
118
-                'range'    => array(
118
+                'range'    => array (
119 119
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
120 120
                 ),
121 121
             ),
122 122
         ),
123
-        'endtime'                    => array(
123
+        'endtime'                    => array (
124 124
             'exclude'   => 1,
125 125
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
126
-            'config'    => array(
127
-                'behaviour' => array(
126
+            'config'    => array (
127
+                'behaviour' => array (
128 128
                     'allowLanguageSynchronization' => true
129 129
                 ),
130 130
                 'type'     => 'input',
@@ -133,76 +133,76 @@  discard block
 block discarded – undo
133 133
                 'eval'     => 'datetime',
134 134
                 'checkbox' => 0,
135 135
                 'default'  => 0,
136
-                'range'    => array(
136
+                'range'    => array (
137 137
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
138 138
                 ),
139 139
             ),
140 140
         ),
141 141
 
142
-        'username'                   => array(
142
+        'username'                   => array (
143 143
             'exclude' => 1,
144 144
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicenselog.username',
145
-            'config'  => array(
145
+            'config'  => array (
146 146
                 'type' => 'input',
147 147
                 'size' => 30,
148 148
                 'eval' => 'trim',
149 149
             ),
150 150
         ),
151 151
 
152
-        'licence_uri'                => array(
152
+        'licence_uri'                => array (
153 153
             'exclude' => 1,
154 154
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicenselog.licence_uri',
155
-            'config'  => array(
155
+            'config'  => array (
156 156
                 'type' => 'input',
157 157
                 'size' => 30,
158 158
                 'eval' => 'trim',
159 159
             ),
160 160
         ),
161 161
 
162
-        'title'                      => array(
162
+        'title'                      => array (
163 163
             'exclude' => 1,
164 164
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicenselog.title',
165
-            'config'  => array(
165
+            'config'  => array (
166 166
                 'type' => 'input',
167 167
                 'size' => 30,
168 168
                 'eval' => 'trim',
169 169
             ),
170 170
         ),
171 171
 
172
-        'object_identifier'          => array(
172
+        'object_identifier'          => array (
173 173
             'exclude' => 1,
174 174
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicenselog.object_identifier',
175
-            'config'  => array(
175
+            'config'  => array (
176 176
                 'type' => 'input',
177 177
                 'size' => 30,
178 178
                 'eval' => 'trim',
179 179
             ),
180 180
         ),
181 181
 
182
-        'process_number'             => array(
182
+        'process_number'             => array (
183 183
             'exclude' => 1,
184 184
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicenselog.process_number',
185
-            'config'  => array(
185
+            'config'  => array (
186 186
                 'type' => 'input',
187 187
                 'size' => 30,
188 188
                 'eval' => 'trim',
189 189
             ),
190 190
         ),
191 191
 
192
-        'urn'                        => array(
192
+        'urn'                        => array (
193 193
             'exclude' => 1,
194 194
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicenselog.urn',
195
-            'config'  => array(
195
+            'config'  => array (
196 196
                 'type' => 'input',
197 197
                 'size' => 30,
198 198
                 'eval' => 'trim',
199 199
             ),
200 200
         ),
201 201
 
202
-        'file_names'                 => array(
202
+        'file_names'                 => array (
203 203
             'exclude' => 1,
204 204
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicenselog.file_names',
205
-            'config'  => array(
205
+            'config'  => array (
206 206
                 'type' => 'input',
207 207
                 'size' => 30,
208 208
                 'eval' => 'trim',
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_documenttransferlog.php 1 patch
Spacing   +43 added lines, -43 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_documenttransferlog',
22 22
         'label'                    => 'date',
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,91 +36,91 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'date, response, curl_error, document_uid, object_identifier, action',
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, date, response, curl_error, document_uid, object_identifier, action',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,
42
+    'types'     => array (
43
+        '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,
44 44
         date, response, curl_error, document_uid, object_identifier, action,
45 45
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
46 46
     ),
47
-    'palettes'  => array(
48
-        '1' => array('showitem' => ''),
47
+    'palettes'  => array (
48
+        '1' => array ('showitem' => ''),
49 49
     ),
50
-    'columns'   => array(
50
+    'columns'   => array (
51 51
 
52
-        'sys_language_uid'  => array(
52
+        'sys_language_uid'  => array (
53 53
             'exclude' => 1,
54 54
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
55
-            'config'  => array(
55
+            'config'  => array (
56 56
                 'type'                => 'select',
57 57
                 'renderType'          => 'selectSingle',
58 58
                 'foreign_table'       => 'sys_language',
59 59
                 'foreign_table_where' => 'ORDER BY sys_language.title',
60
-                'items'               => array(
61
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
62
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
60
+                'items'               => array (
61
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
62
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
63 63
                 ),
64 64
                 'default' => 0,
65 65
             ),
66 66
         ),
67
-        'l10n_parent'       => array(
67
+        'l10n_parent'       => array (
68 68
             'displayCond' => 'FIELD:sys_language_uid:>:0',
69 69
             'exclude'     => 1,
70 70
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
71
-            'config'      => array(
71
+            'config'      => array (
72 72
                 'type'                => 'select',
73 73
                 'renderType'          => 'selectSingle',
74
-                'items'               => array(
75
-                    array('', 0),
74
+                'items'               => array (
75
+                    array ('', 0),
76 76
                 ),
77 77
                 'foreign_table'       => 'tx_dpf_domain_model_documenttransferlog',
78 78
                 'foreign_table_where' => 'AND tx_dpf_domain_model_documenttransferlog.pid=###CURRENT_PID### AND tx_dpf_domain_model_documenttransferlog.sys_language_uid IN (-1,0)',
79 79
                 'default' => 0,
80 80
             ),
81 81
         ),
82
-        'l10n_diffsource'   => array(
83
-            'config' => array(
82
+        'l10n_diffsource'   => array (
83
+            'config' => array (
84 84
                 'type' => 'passthrough',
85 85
             ),
86 86
         ),
87 87
 
88
-        't3ver_label'       => array(
88
+        't3ver_label'       => array (
89 89
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
90
-            'config' => array(
90
+            'config' => array (
91 91
                 'type' => 'input',
92 92
                 'size' => 30,
93 93
                 'max'  => 255,
94 94
             ),
95 95
         ),
96 96
 
97
-        'hidden'            => array(
97
+        'hidden'            => array (
98 98
             'exclude' => 1,
99 99
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
100
-            'config'  => array(
100
+            'config'  => array (
101 101
                 'type' => 'check',
102 102
             ),
103 103
         ),
104
-        'starttime'         => array(
104
+        'starttime'         => array (
105 105
             'exclude'   => 1,
106 106
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
107
-            'config'    => array(
107
+            'config'    => array (
108 108
                 'type'     => 'input',
109 109
                 'renderType' => 'inputDateTime',
110 110
                 'size'     => 13,
111 111
                 'eval'     => 'datetime',
112 112
                 'checkbox' => 0,
113 113
                 'default'  => 0,
114
-                'range'    => array(
114
+                'range'    => array (
115 115
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
116 116
                 ),
117 117
             ),
118 118
         ),
119
-        'endtime'           => array(
119
+        'endtime'           => array (
120 120
             'exclude'   => 1,
121 121
             '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,16 +129,16 @@  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
-        'date'              => array(
138
+        'date'              => array (
139 139
             'exclude' => 1,
140 140
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.date',
141
-            'config'  => array(
141
+            'config'  => array (
142 142
                 'type'     => 'input',
143 143
                 'renderType' => 'inputDateTime',
144 144
                 'size'     => 10,
@@ -147,48 +147,48 @@  discard block
 block discarded – undo
147 147
                 'default'  => time(),
148 148
             ),
149 149
         ),
150
-        'response'          => array(
150
+        'response'          => array (
151 151
             'exclude' => 1,
152 152
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.response',
153
-            'config'  => array(
153
+            'config'  => array (
154 154
                 'type' => 'text',
155 155
                 'cols' => 40,
156 156
                 'rows' => 15,
157 157
                 'eval' => 'trim',
158 158
             ),
159 159
         ),
160
-        'curl_error'        => array(
160
+        'curl_error'        => array (
161 161
             'exclude' => 1,
162 162
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.curl_error',
163
-            'config'  => array(
163
+            'config'  => array (
164 164
                 'type' => 'text',
165 165
                 'cols' => 40,
166 166
                 'rows' => 15,
167 167
                 'eval' => 'trim',
168 168
             ),
169 169
         ),
170
-        'document_uid'      => array(
170
+        'document_uid'      => array (
171 171
             'exclude' => 1,
172 172
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.document_uid',
173
-            'config'  => array(
173
+            'config'  => array (
174 174
                 'type' => 'input',
175 175
                 'size' => 30,
176 176
                 'max'  => 255,
177 177
             ),
178 178
         ),
179
-        'object_identifier' => array(
179
+        'object_identifier' => array (
180 180
             'exclude' => 1,
181 181
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.object_identifier',
182
-            'config'  => array(
182
+            'config'  => array (
183 183
                 'type' => 'input',
184 184
                 'size' => 30,
185 185
                 'max'  => 255,
186 186
             ),
187 187
         ),
188
-        'action'            => array(
188
+        'action'            => array (
189 189
             'exclude' => 1,
190 190
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.action',
191
-            'config'  => array(
191
+            'config'  => array (
192 192
                 'type' => 'input',
193 193
                 'size' => 30,
194 194
                 'max'  => 255,
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,65 +110,65 @@  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
                 'default' => 0,
145 145
             ),
146 146
         ),
147
-        'l10n_diffsource'    => array(
148
-            'config' => array(
147
+        'l10n_diffsource'    => array (
148
+            'config' => array (
149 149
                 'type' => 'passthrough',
150 150
             ),
151 151
         ),
152
-        't3ver_label'        => array(
152
+        't3ver_label'        => array (
153 153
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
154
-            'config' => array(
154
+            'config' => array (
155 155
                 'type' => 'input',
156 156
                 'size' => 30,
157 157
                 'max'  => 255,
158 158
             ),
159 159
         ),
160
-        'hidden'             => array(
160
+        'hidden'             => array (
161 161
             'exclude' => 1,
162 162
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
163
-            'config'  => array(
163
+            'config'  => array (
164 164
                 'type' => 'check',
165 165
             ),
166 166
         ),
167
-        'starttime'          => array(
167
+        'starttime'          => array (
168 168
             'exclude'   => 1,
169 169
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
170
-            'config'    => array(
171
-                'behaviour' => array(
170
+            'config'    => array (
171
+                'behaviour' => array (
172 172
                     'allowLanguageSynchronization' => true
173 173
                 ),
174 174
                 'type'     => 'input',
@@ -177,16 +177,16 @@  discard block
 block discarded – undo
177 177
                 'eval'     => 'datetime',
178 178
                 'checkbox' => 0,
179 179
                 'default'  => 0,
180
-                'range'    => array(
180
+                'range'    => array (
181 181
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
182 182
                 ),
183 183
             ),
184 184
         ),
185
-        'endtime'            => array(
185
+        'endtime'            => array (
186 186
             'exclude'   => 1,
187 187
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
188
-            'config'    => array(
189
-                'behaviour' => array(
188
+            'config'    => array (
189
+                'behaviour' => array (
190 190
                     'allowLanguageSynchronization' => true
191 191
                 ),
192 192
                 'type'     => 'input',
@@ -195,249 +195,249 @@  discard block
 block discarded – undo
195 195
                 'eval'     => 'datetime',
196 196
                 'checkbox' => 0,
197 197
                 'default'  => 0,
198
-                'range'    => array(
198
+                'range'    => array (
199 199
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
200 200
                 ),
201 201
             ),
202 202
         ),
203
-        'project'            => array(
203
+        'project'            => array (
204 204
             'exclude'   => 1,
205 205
             'l10n_mode' => 'exclude',
206 206
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.project',
207
-            'config'    => array(
207
+            'config'    => array (
208 208
                 'type' => 'input',
209 209
                 'size' => 30,
210 210
                 'eval' => 'trim',
211 211
             ),
212 212
         ),
213
-        'client'             => array(
213
+        'client'             => array (
214 214
             'exclude'      => 1,
215 215
             'l10n_mode'    => 'exclude',
216 216
             'l10n_display' => 'defaultAsReadonly',
217 217
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.client',
218
-            'config'       => array(
218
+            'config'       => array (
219 219
                 'type' => 'input',
220 220
                 'size' => 30,
221 221
                 'eval' => 'trim',
222 222
             ),
223 223
         ),
224
-        'network_initial'    => array(
224
+        'network_initial'    => array (
225 225
             'exclude'   => 1,
226 226
             'l10n_mode' => 'exclude',
227 227
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.network_initial',
228
-            'config'    => array(
228
+            'config'    => array (
229 229
                 'type' => 'input',
230 230
                 'size' => 30,
231 231
                 'eval' => 'trim',
232 232
             ),
233 233
         ),
234
-        'library_identifier' => array(
234
+        'library_identifier' => array (
235 235
             'exclude'   => 1,
236 236
             'l10n_mode' => 'exclude',
237 237
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.library_identifier',
238
-            'config'    => array(
238
+            'config'    => array (
239 239
                 'type' => 'input',
240 240
                 'size' => 30,
241 241
                 'eval' => 'trim',
242 242
             ),
243 243
         ),
244
-        'owner_id'           => array(
244
+        'owner_id'           => array (
245 245
             'exclude'   => 1,
246 246
             'l10n_mode' => 'exclude',
247 247
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.owner_id',
248
-            'config'    => array(
248
+            'config'    => array (
249 249
                 'type' => 'input',
250 250
                 'size' => 30,
251 251
                 'eval' => 'trim,required',
252 252
             ),
253 253
         ),
254
-        'admin_email'        => array(
254
+        'admin_email'        => array (
255 255
             'exclude'   => 1,
256 256
             'l10n_mode' => 'exclude',
257 257
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_email',
258
-            'config'    => array(
258
+            'config'    => array (
259 259
                 'type' => 'input',
260 260
                 'size' => 30,
261 261
                 'eval' => 'trim',
262 262
             ),
263 263
         ),
264
-        'replace_niss_part'  => array(
264
+        'replace_niss_part'  => array (
265 265
             'exclude'   => 1,
266 266
             'l10n_mode' => 'exclude',
267 267
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.replace_niss_part',
268
-            'config'    => array(
268
+            'config'    => array (
269 269
                 'type'    => 'check',
270 270
                 'default' => 0,
271 271
             ),
272 272
             'onChange' => 'reload',
273 273
         ),
274
-        'niss_part_search'   => array(
274
+        'niss_part_search'   => array (
275 275
             'exclude'     => 1,
276 276
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_search',
277 277
             'displayCond' => 'FIELD:replace_niss_part:=:1',
278
-            'config'      => array(
278
+            'config'      => array (
279 279
                 'type' => 'input',
280 280
                 'size' => 30,
281 281
                 'eval' => 'trim,required',
282 282
                 'default' => '',
283 283
             ),
284 284
         ),
285
-        'niss_part_replace'  => array(
285
+        'niss_part_replace'  => array (
286 286
             'exclude'     => 1,
287 287
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_replace',
288 288
             'displayCond' => 'FIELD:replace_niss_part:=:1',
289
-            'config'      => array(
289
+            'config'      => array (
290 290
                 'type' => 'input',
291 291
                 'size' => 30,
292 292
                 'eval' => 'trim,required',
293 293
                 'default' => '',
294 294
             ),
295 295
         ),
296
-        'sword_host' => array(
296
+        'sword_host' => array (
297 297
             'exclude'      => 1,
298 298
             'l10n_mode'    => 'exclude',
299 299
             'l10n_display' => 'defaultAsReadonly',
300 300
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_host',
301
-            'config'       => array(
301
+            'config'       => array (
302 302
                 'type' => 'input',
303 303
                 'size' => 30,
304 304
                 'eval' => 'trim',
305 305
             ),
306 306
         ),
307
-        'sword_user' => array(
307
+        'sword_user' => array (
308 308
             'exclude'      => 1,
309 309
             'l10n_mode'    => 'exclude',
310 310
             'l10n_display' => 'defaultAsReadonly',
311 311
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_user',
312
-            'config'       => array(
312
+            'config'       => array (
313 313
                 'type' => 'input',
314 314
                 'size' => 30,
315 315
                 'eval' => 'trim',
316 316
             ),
317 317
         ),
318
-        'sword_password' => array(
318
+        'sword_password' => array (
319 319
             'exclude'      => 1,
320 320
             'l10n_mode'    => 'exclude',
321 321
             'l10n_display' => 'defaultAsReadonly',
322 322
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_password',
323
-            'config'       => array(
323
+            'config'       => array (
324 324
                 'type' => 'input',
325 325
                 'size' => 30,
326 326
                 'eval' => 'trim',
327 327
             ),
328 328
         ),
329
-        'sword_collection_namespace' => array(
329
+        'sword_collection_namespace' => array (
330 330
             'exclude'      => 1,
331 331
             'l10n_mode'    => 'exclude',
332 332
             'l10n_display' => 'defaultAsReadonly',
333 333
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_collection_namespace',
334
-            'config'       => array(
334
+            'config'       => array (
335 335
                 'type' => 'input',
336 336
                 'size' => 30,
337 337
                 'eval' => 'trim',
338 338
             ),
339 339
         ),
340
-        'fedora_host' => array(
340
+        'fedora_host' => array (
341 341
             'exclude'      => 1,
342 342
             'l10n_mode'    => 'exclude',
343 343
             'l10n_display' => 'defaultAsReadonly',
344 344
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_host',
345
-            'config'       => array(
345
+            'config'       => array (
346 346
                 'type' => 'input',
347 347
                 'size' => 30,
348 348
                 'eval' => 'trim',
349 349
             ),
350 350
         ),
351
-        'fedora_user' => array(
351
+        'fedora_user' => array (
352 352
             'exclude'      => 1,
353 353
             'l10n_mode'    => 'exclude',
354 354
             'l10n_display' => 'defaultAsReadonly',
355 355
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_user',
356
-            'config'       => array(
356
+            'config'       => array (
357 357
                 'type' => 'input',
358 358
                 'size' => 30,
359 359
                 'eval' => 'trim',
360 360
             ),
361 361
         ),
362
-        'fedora_password' => array(
362
+        'fedora_password' => array (
363 363
             'exclude'      => 1,
364 364
             'l10n_mode'    => 'exclude',
365 365
             'l10n_display' => 'defaultAsReadonly',
366 366
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_password',
367
-            'config'       => array(
367
+            'config'       => array (
368 368
                 'type' => 'input',
369 369
                 'size' => 30,
370 370
                 'eval' => 'trim',
371 371
             ),
372 372
         ),
373
-        'elastic_search_host' => array(
373
+        'elastic_search_host' => array (
374 374
             'exclude'      => 1,
375 375
             'l10n_mode'    => 'exclude',
376 376
             'l10n_display' => 'defaultAsReadonly',
377 377
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_host',
378
-            'config'       => array(
378
+            'config'       => array (
379 379
                 'type' => 'input',
380 380
                 'size' => 30,
381 381
                 'eval' => 'trim',
382 382
             ),
383 383
         ),
384
-        'elastic_search_port' => array(
384
+        'elastic_search_port' => array (
385 385
             'exclude'      => 1,
386 386
             'l10n_mode'    => 'exclude',
387 387
             'l10n_display' => 'defaultAsReadonly',
388 388
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_port',
389
-            'config'       => array(
389
+            'config'       => array (
390 390
                 'type' => 'input',
391 391
                 'size' => 30,
392 392
                 'eval' => 'trim',
393 393
             ),
394 394
         ),
395
-        'elastic_search_index_name' => array(
395
+        'elastic_search_index_name' => array (
396 396
             'exclude'      => 1,
397 397
             'l10n_mode'    => 'exclude',
398 398
             'l10n_display' => 'defaultAsReadonly',
399 399
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_index_name',
400
-            'config'       => array(
400
+            'config'       => array (
401 401
                 'type' => 'input',
402 402
                 'size' => 30,
403 403
                 'eval' => 'trim',
404 404
             ),
405 405
         ),
406
-        'upload_directory' => array(
406
+        'upload_directory' => array (
407 407
             'exclude'      => 1,
408 408
             'l10n_mode'    => 'exclude',
409 409
             'l10n_display' => 'defaultAsReadonly',
410 410
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_directory',
411
-            'config'       => array(
411
+            'config'       => array (
412 412
                 'type' => 'input',
413 413
                 'size' => 30,
414 414
                 'eval' => 'trim',
415 415
             ),
416 416
         ),
417
-        'upload_domain' => array(
417
+        'upload_domain' => array (
418 418
             'exclude'      => 1,
419 419
             'l10n_mode'    => 'exclude',
420 420
             'l10n_display' => 'defaultAsReadonly',
421 421
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_domain',
422
-            'config'       => array(
422
+            'config'       => array (
423 423
                 'type' => 'input',
424 424
                 'size' => 30,
425 425
                 'eval' => 'trim',
426 426
             ),
427 427
         ),
428
-        'admin_new_document_notification_subject' => array(
428
+        'admin_new_document_notification_subject' => array (
429 429
             'exclude' => 1,
430 430
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_subject',
431
-            'config'  => array(
431
+            'config'  => array (
432 432
                 'type' => 'input',
433 433
                 'size' => 50,
434 434
                 'eval' => 'trim',
435 435
             ),
436 436
         ),
437
-        'admin_new_document_notification_body' => array(
437
+        'admin_new_document_notification_body' => array (
438 438
             'exclude' => 1,
439 439
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_body',
440
-            'config'  => array(
440
+            'config'  => array (
441 441
                 'type' => 'text',
442 442
                 'cols' => 40,
443 443
                 'rows' => 15,
@@ -445,19 +445,19 @@  discard block
 block discarded – undo
445 445
                 'enableRichtext' => true,
446 446
             ),
447 447
         ),
448
-        'admin_register_document_notification_subject' => array(
448
+        'admin_register_document_notification_subject' => array (
449 449
             'exclude' => 1,
450 450
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_subject',
451
-            'config'  => array(
451
+            'config'  => array (
452 452
                 'type' => 'input',
453 453
                 'size' => 50,
454 454
                 'eval' => 'trim',
455 455
             ),
456 456
         ),
457
-        'admin_register_document_notification_body' => array(
457
+        'admin_register_document_notification_body' => array (
458 458
             'exclude' => 1,
459 459
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_body',
460
-            'config'  => array(
460
+            'config'  => array (
461 461
                 'type' => 'text',
462 462
                 'cols' => 40,
463 463
                 'rows' => 15,
@@ -465,19 +465,19 @@  discard block
 block discarded – undo
465 465
                 'enableRichtext' => true,
466 466
             ),
467 467
         ),
468
-        'submitter_new_document_notification_subject' => array(
468
+        'submitter_new_document_notification_subject' => array (
469 469
             'exclude' => 1,
470 470
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_subject',
471
-            'config'  => array(
471
+            'config'  => array (
472 472
                 'type' => 'input',
473 473
                 'size' => 50,
474 474
                 'eval' => 'trim',
475 475
             ),
476 476
         ),
477
-        'submitter_new_document_notification_body' => array(
477
+        'submitter_new_document_notification_body' => array (
478 478
             'exclude' => 1,
479 479
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_body',
480
-            'config'  => array(
480
+            'config'  => array (
481 481
                 'type' => 'text',
482 482
                 'cols' => 40,
483 483
                 'rows' => 15,
@@ -485,19 +485,19 @@  discard block
 block discarded – undo
485 485
                 'enableRichtext' => true,
486 486
             ),
487 487
         ),
488
-        'submitter_ingest_notification_subject' => array(
488
+        'submitter_ingest_notification_subject' => array (
489 489
             'exclude' => 1,
490 490
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_subject',
491
-            'config'  => array(
491
+            'config'  => array (
492 492
                 'type' => 'input',
493 493
                 'size' => 50,
494 494
                 'eval' => 'trim',
495 495
             ),
496 496
         ),
497
-        'submitter_ingest_notification_body' => array(
497
+        'submitter_ingest_notification_body' => array (
498 498
             'exclude' => 1,
499 499
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_body',
500
-            'config'  => array(
500
+            'config'  => array (
501 501
                 'type' => 'text',
502 502
                 'cols' => 40,
503 503
                 'rows' => 15,
@@ -505,19 +505,19 @@  discard block
 block discarded – undo
505 505
                 'enableRichtext' => true,
506 506
             ),
507 507
         ),
508
-        'admin_new_suggestion_subject' => array(
508
+        'admin_new_suggestion_subject' => array (
509 509
             'exclude' => 1,
510 510
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_subject',
511
-            'config'  => array(
511
+            'config'  => array (
512 512
                 'type' => 'input',
513 513
                 'size' => 50,
514 514
                 'eval' => 'trim',
515 515
             ),
516 516
         ),
517
-        'admin_new_suggestion_body' => array(
517
+        'admin_new_suggestion_body' => array (
518 518
             'exclude' => 1,
519 519
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_body',
520
-            'config'  => array(
520
+            'config'  => array (
521 521
                 'type' => 'text',
522 522
                 'cols' => 40,
523 523
                 'rows' => 15,
@@ -525,19 +525,19 @@  discard block
 block discarded – undo
525 525
                 'enableRichtext' => true,
526 526
             ),
527 527
         ),
528
-        'admin_embargo_subject' => array(
528
+        'admin_embargo_subject' => array (
529 529
             'exclude' => 1,
530 530
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_subject',
531
-            'config'  => array(
531
+            'config'  => array (
532 532
                 'type' => 'input',
533 533
                 'size' => 50,
534 534
                 'eval' => 'trim',
535 535
             ),
536 536
         ),
537
-        'admin_embargo_body' => array(
537
+        'admin_embargo_body' => array (
538 538
             'exclude' => 1,
539 539
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_body',
540
-            'config'  => array(
540
+            'config'  => array (
541 541
                 'type' => 'text',
542 542
                 'cols' => 40,
543 543
                 'rows' => 15,
@@ -545,378 +545,378 @@  discard block
 block discarded – undo
545 545
                 'enableRichtext' => true,
546 546
             ),
547 547
         ),
548
-        'suggestion_flashmessage' => array(
548
+        'suggestion_flashmessage' => array (
549 549
             'exclude' => 1,
550 550
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.suggestion_flashmessage',
551
-            'config'  => array(
551
+            'config'  => array (
552 552
                 'type' => 'input',
553 553
                 'size' => 50,
554 554
                 'eval' => 'trim',
555 555
             ),
556 556
         ),
557
-        'file_xpath' => array(
557
+        'file_xpath' => array (
558 558
             'exclude'   => 1,
559 559
             'l10n_mode' => 'exclude',
560 560
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_xpath',
561
-            'config'    => array(
561
+            'config'    => array (
562 562
                 'type' => 'input',
563 563
                 'size' => 80,
564 564
                 'eval' => 'trim',
565 565
             ),
566 566
         ),
567
-        'state_xpath' => array(
567
+        'state_xpath' => array (
568 568
             'exclude'   => 1,
569 569
             'l10n_mode' => 'exclude',
570 570
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.state_xpath',
571
-            'config'    => array(
571
+            'config'    => array (
572 572
                 'type' => 'input',
573 573
                 'size' => 80,
574 574
                 'eval' => 'trim',
575 575
             ),
576 576
         ),
577
-        'type_xpath' => array(
577
+        'type_xpath' => array (
578 578
             'exclude'   => 1,
579 579
             'l10n_mode' => 'exclude',
580 580
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.type_xpath',
581
-            'config'    => array(
581
+            'config'    => array (
582 582
                 'type' => 'input',
583 583
                 'size' => 80,
584 584
                 'eval' => 'trim',
585 585
             ),
586 586
         ),
587
-        'type_xpath_input' => array(
587
+        'type_xpath_input' => array (
588 588
             'exclude'   => 1,
589 589
             'l10n_mode' => 'exclude',
590 590
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.type_xpath_input',
591
-            'config'    => array(
591
+            'config'    => array (
592 592
                 'type' => 'input',
593 593
                 'size' => 80,
594 594
                 'eval' => 'trim',
595 595
             ),
596 596
         ),
597
-        'date_xpath' => array(
597
+        'date_xpath' => array (
598 598
             'exclude'   => 1,
599 599
             'l10n_mode' => 'exclude',
600 600
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.date_xpath',
601
-            'config'    => array(
601
+            'config'    => array (
602 602
                 'type' => 'input',
603 603
                 'size' => 80,
604 604
                 'eval' => 'trim',
605 605
             ),
606 606
         ),
607
-        'publishing_year_xpath' => array(
607
+        'publishing_year_xpath' => array (
608 608
             'exclude'   => 1,
609 609
             'l10n_mode' => 'exclude',
610 610
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.publishing_year_xpath',
611
-            'config'    => array(
611
+            'config'    => array (
612 612
                 'type' => 'input',
613 613
                 'size' => 80,
614 614
                 'eval' => 'trim',
615 615
             ),
616 616
         ),
617
-        'urn_xpath' => array(
617
+        'urn_xpath' => array (
618 618
             'exclude'   => 1,
619 619
             'l10n_mode' => 'exclude',
620 620
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.urn_xpath',
621
-            'config'    => array(
621
+            'config'    => array (
622 622
                 'type' => 'input',
623 623
                 'size' => 80,
624 624
                 'eval' => 'trim',
625 625
             ),
626 626
         ),
627
-        'primary_urn_xpath' => array(
627
+        'primary_urn_xpath' => array (
628 628
             'exclude'   => 1,
629 629
             'l10n_mode' => 'exclude',
630 630
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.primary_urn_xpath',
631
-            'config'    => array(
631
+            'config'    => array (
632 632
                 'type' => 'input',
633 633
                 'size' => 80,
634 634
                 'eval' => 'trim',
635 635
             ),
636 636
         ),
637
-        'namespaces' => array(
637
+        'namespaces' => array (
638 638
             'exclude'   => 1,
639 639
             'l10n_mode' => 'exclude',
640 640
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.namespaces',
641
-            'config'    => array(
641
+            'config'    => array (
642 642
                 'type' => 'input',
643 643
                 'size' => 80,
644 644
                 'eval' => 'trim',
645 645
             ),
646 646
         ),
647
-        'title_xpath' => array(
647
+        'title_xpath' => array (
648 648
             'exclude'   => 1,
649 649
             'l10n_mode' => 'exclude',
650 650
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.title_xpath',
651
-            'config'    => array(
651
+            'config'    => array (
652 652
                 'type' => 'input',
653 653
                 'size' => 30,
654 654
                 'eval' => 'trim',
655 655
             ),
656 656
         ),
657
-        'process_number_xpath' => array(
657
+        'process_number_xpath' => array (
658 658
             'exclude'   => 1,
659 659
             'l10n_mode' => 'exclude',
660 660
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.process_number_xpath',
661
-            'config'    => array(
661
+            'config'    => array (
662 662
                 'type' => 'input',
663 663
                 'size' => 80,
664 664
                 'eval' => 'trim',
665 665
             ),
666 666
         ),
667
-        'submitter_name_xpath' => array(
667
+        'submitter_name_xpath' => array (
668 668
             'exclude'   => 1,
669 669
             'l10n_mode' => 'exclude',
670 670
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_name',
671
-            'config'    => array(
671
+            'config'    => array (
672 672
                 'type' => 'input',
673 673
                 'size' => 80,
674 674
                 'eval' => 'trim',
675 675
             ),
676 676
         ),
677
-        'submitter_email_xpath' => array(
677
+        'submitter_email_xpath' => array (
678 678
             'exclude'   => 1,
679 679
             'l10n_mode' => 'exclude',
680 680
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_email',
681
-            'config'    => array(
681
+            'config'    => array (
682 682
                 'type' => 'input',
683 683
                 'size' => 80,
684 684
                 'eval' => 'trim',
685 685
             ),
686 686
         ),
687
-        'submitter_notice_xpath' => array(
687
+        'submitter_notice_xpath' => array (
688 688
             'exclude'   => 1,
689 689
             'l10n_mode' => 'exclude',
690 690
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_notice',
691
-            'config'    => array(
691
+            'config'    => array (
692 692
                 'type' => 'input',
693 693
                 'size' => 80,
694 694
                 'eval' => 'trim',
695 695
             ),
696 696
         ),
697
-        'original_source_title_xpath' => array(
697
+        'original_source_title_xpath' => array (
698 698
             'exclude'   => 1,
699 699
             'l10n_mode' => 'exclude',
700 700
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.original_source_title_xpath',
701
-            'config'    => array(
701
+            'config'    => array (
702 702
                 'type' => 'input',
703 703
                 'size' => 80,
704 704
                 'eval' => 'trim',
705 705
             ),
706 706
         ),
707
-        'creator_xpath' => array(
707
+        'creator_xpath' => array (
708 708
             'exclude'   => 1,
709 709
             'l10n_mode' => 'exclude',
710 710
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.creator_xpath',
711
-            'config'    => array(
711
+            'config'    => array (
712 712
                 'type' => 'input',
713 713
                 'size' => 80,
714 714
                 'eval' => 'trim',
715 715
             ),
716 716
         ),
717
-        'creation_date_xpath' => array(
717
+        'creation_date_xpath' => array (
718 718
             'exclude'   => 1,
719 719
             'l10n_mode' => 'exclude',
720 720
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.creation_date_xpath',
721
-            'config'    => array(
721
+            'config'    => array (
722 722
                 'type' => 'input',
723 723
                 'size' => 80,
724 724
                 'eval' => 'trim',
725 725
             ),
726 726
         ),
727 727
 
728
-        'repository_creation_date_xpath' => array(
728
+        'repository_creation_date_xpath' => array (
729 729
             'exclude'   => 1,
730 730
             'l10n_mode' => 'exclude',
731 731
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.repository_creation_date_xpath',
732
-            'config'    => array(
732
+            'config'    => array (
733 733
                 'type' => 'input',
734 734
                 'size' => 80,
735 735
                 'eval' => 'trim',
736 736
             ),
737 737
         ),
738
-        'repository_last_mod_date_xpath' => array(
738
+        'repository_last_mod_date_xpath' => array (
739 739
             'exclude'   => 1,
740 740
             'l10n_mode' => 'exclude',
741 741
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.repository_last_mod_date_xpath',
742
-            'config'    => array(
742
+            'config'    => array (
743 743
                 'type' => 'input',
744 744
                 'size' => 80,
745 745
                 'eval' => 'trim',
746 746
             ),
747 747
         ),
748
-        'deposit_license_xpath' => array(
748
+        'deposit_license_xpath' => array (
749 749
             'exclude'   => 1,
750 750
             'l10n_mode' => 'exclude',
751 751
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.deposit_license_xpath',
752
-            'config'    => array(
752
+            'config'    => array (
753 753
                 'type' => 'input',
754 754
                 'size' => 80,
755 755
                 'eval' => 'trim',
756 756
             ),
757 757
         ),
758
-        'all_notes_xpath' => array(
758
+        'all_notes_xpath' => array (
759 759
             'exclude'   => 1,
760 760
             'l10n_mode' => 'exclude',
761 761
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.all_notes_xpath',
762
-            'config'    => array(
762
+            'config'    => array (
763 763
                 'type' => 'input',
764 764
                 'size' => 80,
765 765
                 'eval' => 'trim',
766 766
             ),
767 767
         ),
768
-        'private_notes_xpath' => array(
768
+        'private_notes_xpath' => array (
769 769
             'exclude'   => 1,
770 770
             'l10n_mode' => 'exclude',
771 771
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.private_notes_xpath',
772
-            'config'    => array(
772
+            'config'    => array (
773 773
                 'type' => 'input',
774 774
                 'size' => 80,
775 775
                 'eval' => 'trim',
776 776
             ),
777 777
         ),
778
-        'person_xpath' => array(
778
+        'person_xpath' => array (
779 779
             'exclude'   => 1,
780 780
             'l10n_mode' => 'exclude',
781 781
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_xpath',
782
-            'config'    => array(
782
+            'config'    => array (
783 783
                 'type' => 'input',
784 784
                 'size' => 80,
785 785
                 'eval' => 'trim',
786 786
             ),
787 787
         ),
788
-        'person_family_xpath' => array(
788
+        'person_family_xpath' => array (
789 789
             'exclude'   => 1,
790 790
             'l10n_mode' => 'exclude',
791 791
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_family_xpath',
792
-            'config'    => array(
792
+            'config'    => array (
793 793
                 'type' => 'input',
794 794
                 'size' => 80,
795 795
                 'eval' => 'trim',
796 796
             ),
797 797
         ),
798
-        'person_given_xpath' => array(
798
+        'person_given_xpath' => array (
799 799
             'exclude'   => 1,
800 800
             'l10n_mode' => 'exclude',
801 801
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_given_xpath',
802
-            'config'    => array(
802
+            'config'    => array (
803 803
                 'type' => 'input',
804 804
                 'size' => 80,
805 805
                 'eval' => 'trim',
806 806
             ),
807 807
         ),
808
-        'person_role_xpath' => array(
808
+        'person_role_xpath' => array (
809 809
             'exclude'   => 1,
810 810
             'l10n_mode' => 'exclude',
811 811
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_role_xpath',
812
-            'config'    => array(
812
+            'config'    => array (
813 813
                 'type' => 'input',
814 814
                 'size' => 80,
815 815
                 'eval' => 'trim',
816 816
             ),
817 817
         ),
818
-        'person_fis_identifier_xpath' => array(
818
+        'person_fis_identifier_xpath' => array (
819 819
             'exclude'   => 1,
820 820
             'l10n_mode' => 'exclude',
821 821
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_fis_identifier_xpath',
822
-            'config'    => array(
822
+            'config'    => array (
823 823
                 'type' => 'input',
824 824
                 'size' => 80,
825 825
                 'eval' => 'trim',
826 826
             ),
827 827
         ),
828
-        'person_affiliation_xpath' => array(
828
+        'person_affiliation_xpath' => array (
829 829
             'exclude'   => 1,
830 830
             'l10n_mode' => 'exclude',
831 831
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_affiliation_xpath',
832
-            'config'    => array(
832
+            'config'    => array (
833 833
                 'type' => 'input',
834 834
                 'size' => 80,
835 835
                 'eval' => 'trim',
836 836
             ),
837 837
         ),
838
-        'person_affiliation_identifier_xpath' => array(
838
+        'person_affiliation_identifier_xpath' => array (
839 839
             'exclude'   => 1,
840 840
             'l10n_mode' => 'exclude',
841 841
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_affiliation_identifier_xpath',
842
-            'config'    => array(
842
+            'config'    => array (
843 843
                 'type' => 'input',
844 844
                 'size' => 80,
845 845
                 'eval' => 'trim',
846 846
             ),
847 847
         ),
848
-        'person_author_role' => array(
848
+        'person_author_role' => array (
849 849
             'exclude'   => 1,
850 850
             'l10n_mode' => 'exclude',
851 851
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_author_role',
852
-            'config'    => array(
852
+            'config'    => array (
853 853
                 'type' => 'input',
854 854
                 'size' => 30,
855 855
                 'eval' => 'trim',
856 856
             ),
857 857
         ),
858
-        'person_publisher_role' => array(
858
+        'person_publisher_role' => array (
859 859
             'exclude'   => 1,
860 860
             'l10n_mode' => 'exclude',
861 861
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_publisher_role',
862
-            'config'    => array(
862
+            'config'    => array (
863 863
                 'type' => 'input',
864 864
                 'size' => 30,
865 865
                 'eval' => 'trim',
866 866
             ),
867 867
         ),
868
-        'validation_xpath' => array(
868
+        'validation_xpath' => array (
869 869
             'exclude'   => 1,
870 870
             'l10n_mode' => 'exclude',
871 871
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.validation_xpath',
872
-            'config'    => array(
872
+            'config'    => array (
873 873
                 'type' => 'input',
874 874
                 'size' => 80,
875 875
                 'eval' => 'trim',
876 876
             ),
877 877
         ),
878
-        'fis_id_xpath' => array(
878
+        'fis_id_xpath' => array (
879 879
             'exclude'   => 1,
880 880
             'l10n_mode' => 'exclude',
881 881
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fis_id_xpath',
882
-            'config'    => array(
882
+            'config'    => array (
883 883
                 'type' => 'input',
884 884
                 'size' => 80,
885 885
                 'eval' => 'trim',
886 886
             ),
887 887
         ),
888
-        'source_details_xpaths' => array(
888
+        'source_details_xpaths' => array (
889 889
             'exclude'   => 1,
890 890
             'l10n_mode' => 'exclude',
891 891
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.source_details_xpaths',
892
-            'config'    => array(
892
+            'config'    => array (
893 893
                 'type' => 'input',
894 894
                 'size' => 80,
895 895
                 'eval' => 'trim',
896 896
             ),
897 897
         ),
898
-        'mypublications_update_notification_subject' => array(
898
+        'mypublications_update_notification_subject' => array (
899 899
             'exclude' => 1,
900 900
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_update_notification_subject',
901
-            'config'  => array(
901
+            'config'  => array (
902 902
                 'type' => 'input',
903 903
                 'size' => 50,
904 904
                 'eval' => 'trim',
905 905
             ),
906 906
         ),
907
-        'admin_deposit_license_notification_subject' => array(
907
+        'admin_deposit_license_notification_subject' => array (
908 908
             'exclude' => 1,
909 909
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_deposit_license_notification_subject',
910
-            'config'  => array(
910
+            'config'  => array (
911 911
                 'type' => 'input',
912 912
                 'size' => 50,
913 913
                 'eval' => 'trim',
914 914
             ),
915 915
         ),
916
-        'mypublications_update_notification_body' => array(
916
+        'mypublications_update_notification_body' => array (
917 917
             'exclude' => 1,
918 918
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_update_notification_body',
919
-            'config'  => array(
919
+            'config'  => array (
920 920
                 'type' => 'text',
921 921
                 'cols' => 40,
922 922
                 'rows' => 15,
@@ -924,10 +924,10 @@  discard block
 block discarded – undo
924 924
                 'enableRichtext' => true,
925 925
             ),
926 926
         ),
927
-        'admin_deposit_license_notification_body' => array(
927
+        'admin_deposit_license_notification_body' => array (
928 928
             'exclude' => 1,
929 929
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_deposit_license_notification_body',
930
-            'config'  => array(
930
+            'config'  => array (
931 931
                 'type' => 'text',
932 932
                 'cols' => 40,
933 933
                 'rows' => 15,
@@ -935,19 +935,19 @@  discard block
 block discarded – undo
935 935
                 'enableRichtext' => true,
936 936
             ),
937 937
         ),
938
-        'mypublications_new_notification_subject' => array(
938
+        'mypublications_new_notification_subject' => array (
939 939
             'exclude' => 1,
940 940
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_new_notification_subject',
941
-            'config'  => array(
941
+            'config'  => array (
942 942
                 'type' => 'input',
943 943
                 'size' => 50,
944 944
                 'eval' => 'trim',
945 945
             ),
946 946
         ),
947
-        'mypublications_new_notification_body' => array(
947
+        'mypublications_new_notification_body' => array (
948 948
             'exclude' => 1,
949 949
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_new_notification_body',
950
-            'config'  => array(
950
+            'config'  => array (
951 951
                 'type' => 'text',
952 952
                 'cols' => 40,
953 953
                 'rows' => 15,
@@ -960,8 +960,8 @@  discard block
 block discarded – undo
960 960
             'l10n_mode' => 'exclude',
961 961
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.output_transformation',
962 962
             'config'    => [
963
-                'items' => array(
964
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
963
+                'items' => array (
964
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
965 965
                 ),
966 966
                 'type'           => 'select',
967 967
                 'renderType'     => 'selectSingle',
@@ -976,8 +976,8 @@  discard block
 block discarded – undo
976 976
             'l10n_mode' => 'exclude',
977 977
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.input_transformation',
978 978
             'config'    => [
979
-                'items' => array(
980
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
979
+                'items' => array (
980
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
981 981
                 ),
982 982
                 'type'           => 'select',
983 983
                 'renderType'     => 'selectSingle',
@@ -992,8 +992,8 @@  discard block
 block discarded – undo
992 992
             'l10n_mode' => 'exclude',
993 993
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_transformation',
994 994
             'config'    => [
995
-                'items' => array(
996
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
995
+                'items' => array (
996
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
997 997
                 ),
998 998
                 'type'           => 'select',
999 999
                 'renderType'     => 'selectSingle',
@@ -1003,13 +1003,13 @@  discard block
 block discarded – undo
1003 1003
                 'default' => 0,
1004 1004
             ],
1005 1005
         ],
1006
-        'crossref_transformation' => array(
1006
+        'crossref_transformation' => array (
1007 1007
             'exclude' => 1,
1008 1008
             'l10n_mode' => 'exclude',
1009 1009
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.crossref_transformation',
1010
-            'config'    => array(
1011
-                'items' => array(
1012
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1010
+            'config'    => array (
1011
+                'items' => array (
1012
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1013 1013
                 ),
1014 1014
                 'type'           => 'select',
1015 1015
                 'renderType'     => 'selectSingle',
@@ -1019,13 +1019,13 @@  discard block
 block discarded – undo
1019 1019
                 'default' => 0,
1020 1020
             ),
1021 1021
         ),
1022
-        'datacite_transformation' => array(
1022
+        'datacite_transformation' => array (
1023 1023
             'exclude' => 1,
1024 1024
             'l10n_mode' => 'exclude',
1025 1025
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.datacite_transformation',
1026
-            'config'    => array(
1027
-                'items' => array(
1028
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1026
+            'config'    => array (
1027
+                'items' => array (
1028
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1029 1029
                 ),
1030 1030
                 'type'           => 'select',
1031 1031
                 'renderType'     => 'selectSingle',
@@ -1035,13 +1035,13 @@  discard block
 block discarded – undo
1035 1035
                 'default' => 0,
1036 1036
             ),
1037 1037
         ),
1038
-        'k10plus_transformation' => array(
1038
+        'k10plus_transformation' => array (
1039 1039
             'exclude' => 1,
1040 1040
             'l10n_mode' => 'exclude',
1041 1041
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.k10plus_transformation',
1042
-            'config'    => array(
1043
-                'items' => array(
1044
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1042
+            'config'    => array (
1043
+                'items' => array (
1044
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1045 1045
                 ),
1046 1046
                 'type'           => 'select',
1047 1047
                 'renderType'     => 'selectSingle',
@@ -1051,13 +1051,13 @@  discard block
 block discarded – undo
1051 1051
                 'default' => 0,
1052 1052
             ),
1053 1053
         ),
1054
-        'pubmed_transformation' => array(
1054
+        'pubmed_transformation' => array (
1055 1055
             'exclude' => 1,
1056 1056
             'l10n_mode' => 'exclude',
1057 1057
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.pubmed_transformation',
1058
-            'config'    => array(
1059
-                'items' => array(
1060
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1058
+            'config'    => array (
1059
+                'items' => array (
1060
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1061 1061
                 ),
1062 1062
                 'type'           => 'select',
1063 1063
                 'renderType'     => 'selectSingle',
@@ -1067,13 +1067,13 @@  discard block
 block discarded – undo
1067 1067
                 'default' => 0,
1068 1068
             ),
1069 1069
         ),
1070
-        'bibtex_transformation' => array(
1070
+        'bibtex_transformation' => array (
1071 1071
             'exclude' => 1,
1072 1072
             'l10n_mode' => 'exclude',
1073 1073
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.bibtex_transformation',
1074
-            'config'    => array(
1075
-                'items' => array(
1076
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1074
+            'config'    => array (
1075
+                'items' => array (
1076
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1077 1077
                 ),
1078 1078
                 'type'           => 'select',
1079 1079
                 'renderType'     => 'selectSingle',
@@ -1083,13 +1083,13 @@  discard block
 block discarded – undo
1083 1083
                 'default' => 0,
1084 1084
             ),
1085 1085
         ),
1086
-        'riswos_transformation' => array(
1086
+        'riswos_transformation' => array (
1087 1087
             'exclude' => 1,
1088 1088
             'l10n_mode' => 'exclude',
1089 1089
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.riswos_transformation',
1090
-            'config'    => array(
1091
-                'items' => array(
1092
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0)
1090
+            'config'    => array (
1091
+                'items' => array (
1092
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0)
1093 1093
                 ),
1094 1094
                 'type'           => 'select',
1095 1095
                 'renderType'     => 'selectSingle',
@@ -1099,95 +1099,95 @@  discard block
 block discarded – undo
1099 1099
                 'default' => 0,
1100 1100
             ),
1101 1101
         ),
1102
-        'send_admin_deposit_license_notification'  => array(
1102
+        'send_admin_deposit_license_notification'  => array (
1103 1103
             'exclude'   => 1,
1104 1104
             'l10n_mode' => 'exclude',
1105 1105
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.send_admin_deposit_license_notification',
1106
-            'config'    => array(
1106
+            'config'    => array (
1107 1107
                 'type'    => 'check',
1108 1108
                 'default' => 0,
1109 1109
             ),
1110 1110
         ),
1111
-        'active_messaging_suggestion_accept_url' => array(
1111
+        'active_messaging_suggestion_accept_url' => array (
1112 1112
             'exclude' => 1,
1113 1113
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_accept_url',
1114
-            'config'  => array(
1114
+            'config'  => array (
1115 1115
                 'type' => 'input',
1116 1116
                 'size' => 50,
1117 1117
                 'eval' => 'trim',
1118 1118
             ),
1119 1119
         ),
1120
-        'active_messaging_suggestion_decline_url' => array(
1120
+        'active_messaging_suggestion_decline_url' => array (
1121 1121
             'exclude' => 1,
1122 1122
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_decline_url',
1123
-            'config'  => array(
1123
+            'config'  => array (
1124 1124
                 'type' => 'input',
1125 1125
                 'size' => 50,
1126 1126
                 'eval' => 'trim',
1127 1127
             ),
1128 1128
         ),
1129
-        'active_messaging_new_document_url' => array(
1129
+        'active_messaging_new_document_url' => array (
1130 1130
             'exclude' => 1,
1131 1131
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_new_document_url',
1132
-            'config'  => array(
1132
+            'config'  => array (
1133 1133
                 'type' => 'input',
1134 1134
                 'size' => 50,
1135 1135
                 'eval' => 'trim',
1136 1136
             ),
1137 1137
         ),
1138
-        'active_messaging_changed_document_url' => array(
1138
+        'active_messaging_changed_document_url' => array (
1139 1139
             'exclude' => 1,
1140 1140
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_changed_document_url',
1141
-            'config'  => array(
1141
+            'config'  => array (
1142 1142
                 'type' => 'input',
1143 1143
                 'size' => 50,
1144 1144
                 'eval' => 'trim',
1145 1145
             ),
1146 1146
         ),
1147
-        'active_messaging_suggestion_accept_url_body' => array(
1147
+        'active_messaging_suggestion_accept_url_body' => array (
1148 1148
             'exclude' => 1,
1149 1149
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_accept_url_body',
1150
-            'config'  => array(
1150
+            'config'  => array (
1151 1151
                 'type' => 'text',
1152 1152
                 'cols' => 40,
1153 1153
                 'rows' => 15,
1154 1154
                 'eval' => 'trim',
1155 1155
             ),
1156 1156
         ),
1157
-        'active_messaging_suggestion_decline_url_body' => array(
1157
+        'active_messaging_suggestion_decline_url_body' => array (
1158 1158
             'exclude' => 1,
1159 1159
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_decline_url_body',
1160
-            'config'  => array(
1160
+            'config'  => array (
1161 1161
                 'type' => 'text',
1162 1162
                 'cols' => 40,
1163 1163
                 'rows' => 15,
1164 1164
                 'eval' => 'trim',
1165 1165
             ),
1166 1166
         ),
1167
-        'active_messaging_new_document_url_body' => array(
1167
+        'active_messaging_new_document_url_body' => array (
1168 1168
             'exclude' => 1,
1169 1169
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_new_document_url_body',
1170
-            'config'  => array(
1170
+            'config'  => array (
1171 1171
                 'type' => 'text',
1172 1172
                 'cols' => 40,
1173 1173
                 'rows' => 15,
1174 1174
                 'eval' => 'trim',
1175 1175
             ),
1176 1176
         ),
1177
-        'active_messaging_changed_document_url_body' => array(
1177
+        'active_messaging_changed_document_url_body' => array (
1178 1178
             'exclude' => 1,
1179 1179
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_changed_document_url_body',
1180
-            'config'  => array(
1180
+            'config'  => array (
1181 1181
                 'type' => 'text',
1182 1182
                 'cols' => 40,
1183 1183
                 'rows' => 15,
1184 1184
                 'eval' => 'trim',
1185 1185
             ),
1186 1186
         ),
1187
-        'fis_mapping' => array(
1187
+        'fis_mapping' => array (
1188 1188
             'exclude' => 1,
1189 1189
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fis_mapping',
1190
-            'config'  => array(
1190
+            'config'  => array (
1191 1191
                 'type' => 'text',
1192 1192
                 'cols' => 40,
1193 1193
                 'rows' => 15,
Please login to merge, or discard this patch.
Configuration/TCA/tx_dpf_domain_model_storedsearch.php 1 patch
Spacing   +36 added lines, -36 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_storedsearch',
22 22
         'label'                    => 'name',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -36,76 +36,76 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'title',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/default.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'name, query',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => ',--palette--;;1,
42
+    'types'     => array (
43
+        '1' => array ('showitem' => ',--palette--;;1,
44 44
         name, query,
45 45
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access'),
46 46
     ),
47
-    'palettes'  => array(
48
-        '1' => array('showitem' => ''),
47
+    'palettes'  => array (
48
+        '1' => array ('showitem' => ''),
49 49
     ),
50
-    'columns'   => array(
50
+    'columns'   => array (
51 51
 
52
-        'sys_language_uid'           => array(
52
+        'sys_language_uid'           => array (
53 53
             'exclude' => 1,
54 54
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
55
-            'config'  => array(
55
+            'config'  => array (
56 56
                 'type'                => 'select',
57 57
                 'renderType'          => 'selectSingle',
58 58
                 'foreign_table'       => 'sys_language',
59 59
                 'foreign_table_where' => 'ORDER BY sys_language.title',
60
-                'items'               => array(
61
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
62
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
60
+                'items'               => array (
61
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
62
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
63 63
                 ),
64 64
                 'default' => 0,
65 65
             ),
66 66
         ),
67
-        'l10n_parent'                => array(
67
+        'l10n_parent'                => array (
68 68
             'displayCond' => 'FIELD:sys_language_uid:>:0',
69 69
             'exclude'     => 1,
70 70
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
71
-            'config'      => array(
71
+            'config'      => array (
72 72
                 'type'                => 'select',
73 73
                 'renderType'          => 'selectSingle',
74
-                'items'               => array(
75
-                    array('', 0),
74
+                'items'               => array (
75
+                    array ('', 0),
76 76
                 ),
77 77
                 'foreign_table'       => 'tx_dpf_domain_model_storedsearch',
78 78
                 'foreign_table_where' => 'AND tx_dpf_domain_model_storedsearch.pid=###CURRENT_PID### AND tx_dpf_domain_model_storedsearch.sys_language_uid IN (-1,0)',
79 79
                 'default' => 0,
80 80
             ),
81 81
         ),
82
-        'l10n_diffsource'            => array(
83
-            'config' => array(
82
+        'l10n_diffsource'            => array (
83
+            'config' => array (
84 84
                 'type' => 'passthrough',
85 85
             ),
86 86
         ),
87 87
 
88
-        't3ver_label'                => array(
88
+        't3ver_label'                => array (
89 89
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
90
-            'config' => array(
90
+            'config' => array (
91 91
                 'type' => 'input',
92 92
                 'size' => 30,
93 93
                 'max'  => 255,
94 94
             ),
95 95
         ),
96 96
 
97
-        'hidden'                     => array(
97
+        'hidden'                     => array (
98 98
             'exclude' => 1,
99 99
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
100
-            'config'  => array(
100
+            'config'  => array (
101 101
                 'type' => 'check',
102 102
             ),
103 103
         ),
104
-        'starttime'                  => array(
104
+        'starttime'                  => array (
105 105
             'exclude'   => 1,
106 106
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
107
-            'config'    => array(
108
-                'behaviour' => array(
107
+            'config'    => array (
108
+                'behaviour' => array (
109 109
                     'allowLanguageSynchronization' => true
110 110
                 ),
111 111
                 'type'     => 'input',
@@ -114,16 +114,16 @@  discard block
 block discarded – undo
114 114
                 'eval'     => 'datetime',
115 115
                 'checkbox' => 0,
116 116
                 'default'  => 0,
117
-                'range'    => array(
117
+                'range'    => array (
118 118
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
119 119
                 ),
120 120
             ),
121 121
         ),
122
-        'endtime'                    => array(
122
+        'endtime'                    => array (
123 123
             'exclude'   => 1,
124 124
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
125
-            'config'    => array(
126
-                'behaviour' => array(
125
+            'config'    => array (
126
+                'behaviour' => array (
127 127
                     'allowLanguageSynchronization' => true
128 128
                 ),
129 129
                 'type'     => 'input',
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                 'eval'     => 'datetime',
133 133
                 'checkbox' => 0,
134 134
                 'default'  => 0,
135
-                'range'    => array(
135
+                'range'    => array (
136 136
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
137 137
                 ),
138 138
             ),
@@ -144,20 +144,20 @@  discard block
 block discarded – undo
144 144
             ],
145 145
         ],
146 146
 
147
-        'name'                      => array(
147
+        'name'                      => array (
148 148
             'exclude' => 1,
149 149
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_storedsearch.name',
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
-        'query'                      => array(
157
+        'query'                      => array (
158 158
             'exclude' => 1,
159 159
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_storedsearch.query',
160
-            'config'  => array(
160
+            'config'  => array (
161 161
                 'type' => 'text',
162 162
                 'cols' => 40,
163 163
                 'rows' => 15,
Please login to merge, or discard this patch.