@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | public function setRepositoryState($state) |
112 | 112 | { |
113 | 113 | $stateXpath = $this->clientConfigurationManager->getStateXpath(); |
114 | - $this->setValue($stateXpath,$state); |
|
114 | + $this->setValue($stateXpath, $state); |
|
115 | 115 | } |
116 | 116 | |
117 | 117 | public function getProcessNumber() |
@@ -386,7 +386,7 @@ discard block |
||
386 | 386 | $xpath = $this->getXpath(); |
387 | 387 | $data = []; |
388 | 388 | $sourceDetailsXpaths = $this->clientConfigurationManager->getSourceDetailsXpaths(); |
389 | - $sourceDetailsXpathList = explode(";", trim($sourceDetailsXpaths," ;")); |
|
389 | + $sourceDetailsXpathList = explode(";", trim($sourceDetailsXpaths, " ;")); |
|
390 | 390 | $dataNodes = []; |
391 | 391 | |
392 | 392 | foreach ($sourceDetailsXpathList as $sourceDetailsXpathItem) { |
@@ -421,7 +421,7 @@ discard block |
||
421 | 421 | { |
422 | 422 | $xpath = $this->getXpath(); |
423 | 423 | $personXpath = $this->clientConfigurationManager->getPersonXpath(); |
424 | - $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath(); |
|
424 | + $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath(); |
|
425 | 425 | $personNodes = $xpath->query(self::rootNode . $personXpath); |
426 | 426 | $identifiers = []; |
427 | 427 | foreach ($personNodes as $key => $node) { |
@@ -453,9 +453,9 @@ discard block |
||
453 | 453 | $xpath = $this->getXpath(); |
454 | 454 | $notesNodes = $xpath->query(self::rootNode . $notesXpath); |
455 | 455 | |
456 | - $notes = array(); |
|
456 | + $notes = array (); |
|
457 | 457 | |
458 | - for ($i=0; $i < $notesNodes->length; $i++) |
|
458 | + for ($i = 0; $i < $notesNodes->length; $i++) |
|
459 | 459 | { |
460 | 460 | $notes[] = $notesNodes->item($i)->nodeValue; |
461 | 461 | } |
@@ -469,7 +469,7 @@ discard block |
||
469 | 469 | |
470 | 470 | $parserGenerator = new ParserGenerator($this->clientPid); |
471 | 471 | $parserGenerator->setXml($this->xml->saveXML()); |
472 | - $parserGenerator->customXPath($notesXpath,true, $noteContent); |
|
472 | + $parserGenerator->customXPath($notesXpath, true, $noteContent); |
|
473 | 473 | $this->xml = new \DOMDocument(); |
474 | 474 | $this->xml->loadXML($parserGenerator->getXMLData()); |
475 | 475 | } |
@@ -496,9 +496,9 @@ discard block |
||
496 | 496 | $familyXpath = $this->clientConfigurationManager->getPersonFamilyXpath(); |
497 | 497 | $givenXpath = $this->clientConfigurationManager->getPersonGivenXpath(); |
498 | 498 | $roleXpath = $this->clientConfigurationManager->getPersonRoleXpath(); |
499 | - $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath(); |
|
500 | - $affiliationXpath = $this->clientConfigurationManager->getPersonAffiliationXpath(); |
|
501 | - $affiliationIdentifierXpath = $this->clientConfigurationManager->getPersonAffiliationIdentifierXpath(); |
|
499 | + $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath(); |
|
500 | + $affiliationXpath = $this->clientConfigurationManager->getPersonAffiliationXpath(); |
|
501 | + $affiliationIdentifierXpath = $this->clientConfigurationManager->getPersonAffiliationIdentifierXpath(); |
|
502 | 502 | |
503 | 503 | $xpath = $this->getXpath(); |
504 | 504 | $personNodes = $xpath->query(self::rootNode . $personXpath); |
@@ -578,9 +578,9 @@ discard block |
||
578 | 578 | */ |
579 | 579 | public function getValidation() |
580 | 580 | { |
581 | - $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
|
581 | + $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
|
582 | 582 | $validation = $this->getValue($validationXpath); |
583 | - return (strtolower($validation) === 'true')? true : false; |
|
583 | + return (strtolower($validation) === 'true') ? true : false; |
|
584 | 584 | } |
585 | 585 | |
586 | 586 | /** |
@@ -588,8 +588,8 @@ discard block |
||
588 | 588 | */ |
589 | 589 | public function setValidation($validated) |
590 | 590 | { |
591 | - $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
|
592 | - $this->setValue($validationXpath, ($validated? 'true' : 'false')); |
|
591 | + $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
|
592 | + $this->setValue($validationXpath, ($validated ? 'true' : 'false')); |
|
593 | 593 | } |
594 | 594 | |
595 | 595 | /** |
@@ -597,7 +597,7 @@ discard block |
||
597 | 597 | */ |
598 | 598 | public function setFisId($fisId) |
599 | 599 | { |
600 | - $fisIdXpath = $this->clientConfigurationManager->getFisIdXpath(); |
|
600 | + $fisIdXpath = $this->clientConfigurationManager->getFisIdXpath(); |
|
601 | 601 | $this->setValue($fisIdXpath, $fisId); |
602 | 602 | } |
603 | 603 | |
@@ -625,10 +625,10 @@ discard block |
||
625 | 625 | $nodes = $xpath->query(self::rootNode . $xpathString); |
626 | 626 | if ($nodes->length > 0) { |
627 | 627 | $nodes->item(0)->nodeValue = $value; |
628 | - } elseif(!empty($value)) { |
|
628 | + } elseif (!empty($value)) { |
|
629 | 629 | $parserGenerator = new ParserGenerator($this->clientPid); |
630 | 630 | $parserGenerator->setXml($this->xml->saveXML()); |
631 | - $parserGenerator->customXPath($xpathString,true, $value); |
|
631 | + $parserGenerator->customXPath($xpathString, true, $value); |
|
632 | 632 | $this->xml = new \DOMDocument(); |
633 | 633 | $this->xml->loadXML($parserGenerator->getXMLData()); |
634 | 634 | } |
@@ -728,7 +728,7 @@ discard block |
||
728 | 728 | } |
729 | 729 | } else { |
730 | 730 | $fileNodes = $xpath->query( |
731 | - self::rootNode . $fileXpath . '[./'.trim($idXpath, '@/ ').'="'.$file->getFileIdentifier().'"]' |
|
731 | + self::rootNode . $fileXpath . '[./' . trim($idXpath, '@/ ') . '="' . $file->getFileIdentifier() . '"]' |
|
732 | 732 | ); |
733 | 733 | |
734 | 734 | if ($fileNodes->length > 0) { |
@@ -23,8 +23,7 @@ discard block |
||
23 | 23 | use TYPO3\CMS\Extbase\Persistence\ObjectStorage; |
24 | 24 | use DOMNode; |
25 | 25 | |
26 | -class InternalFormat |
|
27 | -{ |
|
26 | +class InternalFormat { |
|
28 | 27 | const rootNode = '//data/'; |
29 | 28 | |
30 | 29 | /** |
@@ -51,8 +50,7 @@ discard block |
||
51 | 50 | * @param string $xml |
52 | 51 | * @param int $clientPid |
53 | 52 | */ |
54 | - public function __construct(string $xml, $clientPid = 0) |
|
55 | - { |
|
53 | + public function __construct(string $xml, $clientPid = 0) { |
|
56 | 54 | $this->clientPid = $clientPid; |
57 | 55 | |
58 | 56 | $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class); |
@@ -65,8 +63,7 @@ discard block |
||
65 | 63 | $this->setXml($xml); |
66 | 64 | } |
67 | 65 | |
68 | - public function setXml($xml) |
|
69 | - { |
|
66 | + public function setXml($xml) { |
|
70 | 67 | if (empty($xml)) { |
71 | 68 | $xml = "<data></data>"; |
72 | 69 | } |
@@ -76,8 +73,7 @@ discard block |
||
76 | 73 | $this->xml = $dom; |
77 | 74 | } |
78 | 75 | |
79 | - public function getXml() |
|
80 | - { |
|
76 | + public function getXml() { |
|
81 | 77 | return $this->xml->saveXML(); |
82 | 78 | } |
83 | 79 | |
@@ -85,37 +81,31 @@ discard block |
||
85 | 81 | return $this->xml; |
86 | 82 | } |
87 | 83 | |
88 | - public function getXpath() |
|
89 | - { |
|
84 | + public function getXpath() { |
|
90 | 85 | return $domXPath = \EWW\Dpf\Helper\XPath::create($this->xml); |
91 | 86 | } |
92 | 87 | |
93 | - public function getDocumentType() |
|
94 | - { |
|
88 | + public function getDocumentType() { |
|
95 | 89 | $typeXpath = $this->clientConfigurationManager->getTypeXpath(); |
96 | 90 | return $this->getValue($typeXpath); |
97 | 91 | } |
98 | 92 | |
99 | - public function setDocumentType($type) |
|
100 | - { |
|
93 | + public function setDocumentType($type) { |
|
101 | 94 | $typeXpath = $this->clientConfigurationManager->getTypeXpath(); |
102 | 95 | $this->setValue($typeXpath, $type); |
103 | 96 | } |
104 | 97 | |
105 | - public function getRepositoryState() |
|
106 | - { |
|
98 | + public function getRepositoryState() { |
|
107 | 99 | $stateXpath = $this->clientConfigurationManager->getStateXpath(); |
108 | 100 | return $this->getValue($stateXpath); |
109 | 101 | } |
110 | 102 | |
111 | - public function setRepositoryState($state) |
|
112 | - { |
|
103 | + public function setRepositoryState($state) { |
|
113 | 104 | $stateXpath = $this->clientConfigurationManager->getStateXpath(); |
114 | 105 | $this->setValue($stateXpath,$state); |
115 | 106 | } |
116 | 107 | |
117 | - public function getProcessNumber() |
|
118 | - { |
|
108 | + public function getProcessNumber() { |
|
119 | 109 | $processNumberXpath = $this->clientConfigurationManager->getProcessNumberXpath(); |
120 | 110 | if ($processNumberXpath) { |
121 | 111 | return $this->getValue($processNumberXpath); |
@@ -124,14 +114,12 @@ discard block |
||
124 | 114 | } |
125 | 115 | } |
126 | 116 | |
127 | - public function setProcessNumber($processNumber) |
|
128 | - { |
|
117 | + public function setProcessNumber($processNumber) { |
|
129 | 118 | $processNumberXpath = $this->clientConfigurationManager->getProcessNumberXpath(); |
130 | 119 | $this->setValue($processNumberXpath, $processNumber); |
131 | 120 | } |
132 | 121 | |
133 | - public function getTitle() |
|
134 | - { |
|
122 | + public function getTitle() { |
|
135 | 123 | $titleXpath = $this->clientConfigurationManager->getTitleXpath(); |
136 | 124 | $xpath = $this->getXpath(); |
137 | 125 | |
@@ -146,14 +134,12 @@ discard block |
||
146 | 134 | /** |
147 | 135 | * @param string $title |
148 | 136 | */ |
149 | - public function setTitle($title) |
|
150 | - { |
|
137 | + public function setTitle($title) { |
|
151 | 138 | $titleXpath = $this->clientConfigurationManager->getTitleXpath(); |
152 | 139 | $this->setValue($titleXpath, $title); |
153 | 140 | } |
154 | 141 | |
155 | - public function getFiles() |
|
156 | - { |
|
142 | + public function getFiles() { |
|
157 | 143 | $xpath = $this->getXpath(); |
158 | 144 | |
159 | 145 | $fileXpath = $this->clientConfigurationManager->getFileXpath(); |
@@ -226,8 +212,7 @@ discard block |
||
226 | 212 | return $this->getValue($dateXpath); |
227 | 213 | } |
228 | 214 | |
229 | - public function removeDateIssued() |
|
230 | - { |
|
215 | + public function removeDateIssued() { |
|
231 | 216 | $xpath = $this->getXpath(); |
232 | 217 | $dateXpath = $this->clientConfigurationManager->getDateXpath(); |
233 | 218 | |
@@ -238,8 +223,7 @@ discard block |
||
238 | 223 | |
239 | 224 | } |
240 | 225 | |
241 | - public function hasPrimaryUrn() |
|
242 | - { |
|
226 | + public function hasPrimaryUrn() { |
|
243 | 227 | $xpath = $this->getXpath(); |
244 | 228 | $primaryUrnXpath = $this->clientConfigurationManager->getPrimaryUrnXpath(); |
245 | 229 | |
@@ -251,8 +235,7 @@ discard block |
||
251 | 235 | } |
252 | 236 | } |
253 | 237 | |
254 | - public function getPrimaryUrn() |
|
255 | - { |
|
238 | + public function getPrimaryUrn() { |
|
256 | 239 | $xpath = $this->getXpath(); |
257 | 240 | $primaryUrnXpath = $this->clientConfigurationManager->getPrimaryUrnXpath(); |
258 | 241 | |
@@ -264,14 +247,12 @@ discard block |
||
264 | 247 | } |
265 | 248 | } |
266 | 249 | |
267 | - public function setPrimaryUrn($urn) |
|
268 | - { |
|
250 | + public function setPrimaryUrn($urn) { |
|
269 | 251 | $primaryUrnXpath = $this->clientConfigurationManager->getPrimaryUrnXpath(); |
270 | 252 | $this->setValue($primaryUrnXpath, $urn); |
271 | 253 | } |
272 | 254 | |
273 | - public function clearAllUrn() |
|
274 | - { |
|
255 | + public function clearAllUrn() { |
|
275 | 256 | $xpath = $this->getXpath(); |
276 | 257 | $urnXpath = $this->clientConfigurationManager->getUrnXpath(); |
277 | 258 | $primaryUrnXpath = $this->clientConfigurationManager->getPrimaryUrnXpath(); |
@@ -326,50 +307,42 @@ discard block |
||
326 | 307 | } |
327 | 308 | } |
328 | 309 | |
329 | - public function getCreator() |
|
330 | - { |
|
310 | + public function getCreator() { |
|
331 | 311 | $creatorXpath = $this->clientConfigurationManager->getCreatorXpath(); |
332 | 312 | return $this->getValue($creatorXpath); |
333 | 313 | } |
334 | 314 | |
335 | - public function setCreator($creator) |
|
336 | - { |
|
315 | + public function setCreator($creator) { |
|
337 | 316 | $creatorXpath = $this->clientConfigurationManager->getCreatorXpath(); |
338 | 317 | $this->setValue($creatorXpath, $creator); |
339 | 318 | } |
340 | 319 | |
341 | - public function getCreationDate() |
|
342 | - { |
|
320 | + public function getCreationDate() { |
|
343 | 321 | $xpath = $this->clientConfigurationManager->getCreationDateXpath(); |
344 | 322 | return $this->getValue($xpath); |
345 | 323 | } |
346 | 324 | |
347 | - public function setCreationDate($creationDate) |
|
348 | - { |
|
325 | + public function setCreationDate($creationDate) { |
|
349 | 326 | $xpath = $this->clientConfigurationManager->getCreationDateXpath(); |
350 | 327 | $this->setValue($xpath, $creationDate); |
351 | 328 | } |
352 | 329 | |
353 | - public function getRepositoryCreationDate() |
|
354 | - { |
|
330 | + public function getRepositoryCreationDate() { |
|
355 | 331 | $xpath = $this->clientConfigurationManager->getRepositoryCreationDateXpath(); |
356 | 332 | return $this->getValue($xpath); |
357 | 333 | } |
358 | 334 | |
359 | - public function getRepositoryLastModDate() |
|
360 | - { |
|
335 | + public function getRepositoryLastModDate() { |
|
361 | 336 | $xpath = $this->clientConfigurationManager->getRepositoryLastModDateXpath(); |
362 | 337 | return $this->getValue($xpath); |
363 | 338 | } |
364 | 339 | |
365 | - public function getPublishingYear() |
|
366 | - { |
|
340 | + public function getPublishingYear() { |
|
367 | 341 | $publishingYearXpath = $this->clientConfigurationManager->getPublishingYearXpath(); |
368 | 342 | return $this->getValue($publishingYearXpath); |
369 | 343 | } |
370 | 344 | |
371 | - public function getOriginalSourceTitle() |
|
372 | - { |
|
345 | + public function getOriginalSourceTitle() { |
|
373 | 346 | $originalSourceTitleXpath = $this->clientConfigurationManager->getOriginalSourceTitleXpath(); |
374 | 347 | return $this->getValue($originalSourceTitleXpath); |
375 | 348 | } |
@@ -377,8 +350,7 @@ discard block |
||
377 | 350 | /** |
378 | 351 | * @return string |
379 | 352 | */ |
380 | - public function getSourceDetails() |
|
381 | - { |
|
353 | + public function getSourceDetails() { |
|
382 | 354 | if (empty($sourceDetailsXpaths)) { |
383 | 355 | return ''; |
384 | 356 | } |
@@ -437,8 +409,7 @@ discard block |
||
437 | 409 | /** |
438 | 410 | * @return string |
439 | 411 | */ |
440 | - public function getDepositLicense() |
|
441 | - { |
|
412 | + public function getDepositLicense() { |
|
442 | 413 | $depositLicenseXpath = $this->clientConfigurationManager->getDepositLicenseXpath(); |
443 | 414 | return $this->getValue($depositLicenseXpath); |
444 | 415 | } |
@@ -446,8 +417,7 @@ discard block |
||
446 | 417 | /** |
447 | 418 | * @return array |
448 | 419 | */ |
449 | - public function getNotes() |
|
450 | - { |
|
420 | + public function getNotes() { |
|
451 | 421 | $notesXpath = $this->clientConfigurationManager->getAllNotesXpath(); |
452 | 422 | |
453 | 423 | $xpath = $this->getXpath(); |
@@ -455,16 +425,14 @@ discard block |
||
455 | 425 | |
456 | 426 | $notes = array(); |
457 | 427 | |
458 | - for ($i=0; $i < $notesNodes->length; $i++) |
|
459 | - { |
|
428 | + for ($i=0; $i < $notesNodes->length; $i++) { |
|
460 | 429 | $notes[] = $notesNodes->item($i)->nodeValue; |
461 | 430 | } |
462 | 431 | |
463 | 432 | return $notes; |
464 | 433 | } |
465 | 434 | |
466 | - public function addNote($noteContent) |
|
467 | - { |
|
435 | + public function addNote($noteContent) { |
|
468 | 436 | $notesXpath = $this->clientConfigurationManager->getPrivateNotesXpath(); |
469 | 437 | |
470 | 438 | $parserGenerator = new ParserGenerator($this->clientPid); |
@@ -474,13 +442,11 @@ discard block |
||
474 | 442 | $this->xml->loadXML($parserGenerator->getXMLData()); |
475 | 443 | } |
476 | 444 | |
477 | - public function getAuthors() |
|
478 | - { |
|
445 | + public function getAuthors() { |
|
479 | 446 | return $this->getPersons($this->clientConfigurationManager->getPersonAuthorRole()); |
480 | 447 | } |
481 | 448 | |
482 | - public function getPublishers() |
|
483 | - { |
|
449 | + public function getPublishers() { |
|
484 | 450 | return $this->getPersons($this->clientConfigurationManager->getPersonPublisherRole()); |
485 | 451 | } |
486 | 452 | |
@@ -490,8 +456,7 @@ discard block |
||
490 | 456 | * @param string $role |
491 | 457 | * @return array |
492 | 458 | */ |
493 | - public function getPersons($role = '') |
|
494 | - { |
|
459 | + public function getPersons($role = '') { |
|
495 | 460 | $personXpath = $this->clientConfigurationManager->getPersonXpath(); |
496 | 461 | $familyXpath = $this->clientConfigurationManager->getPersonFamilyXpath(); |
497 | 462 | $givenXpath = $this->clientConfigurationManager->getPersonGivenXpath(); |
@@ -564,8 +529,9 @@ discard block |
||
564 | 529 | if ($role) { |
565 | 530 | $result = []; |
566 | 531 | foreach ($persons as $person) { |
567 | - if ($person['role'] == $role) |
|
568 | - $result[] = $person; |
|
532 | + if ($person['role'] == $role) { |
|
533 | + $result[] = $person; |
|
534 | + } |
|
569 | 535 | } |
570 | 536 | return $result; |
571 | 537 | } else { |
@@ -576,8 +542,7 @@ discard block |
||
576 | 542 | /** |
577 | 543 | * @return bool |
578 | 544 | */ |
579 | - public function getValidation() |
|
580 | - { |
|
545 | + public function getValidation() { |
|
581 | 546 | $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
582 | 547 | $validation = $this->getValue($validationXpath); |
583 | 548 | return (strtolower($validation) === 'true')? true : false; |
@@ -586,8 +551,7 @@ discard block |
||
586 | 551 | /** |
587 | 552 | * @param bool $validated |
588 | 553 | */ |
589 | - public function setValidation($validated) |
|
590 | - { |
|
554 | + public function setValidation($validated) { |
|
591 | 555 | $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
592 | 556 | $this->setValue($validationXpath, ($validated? 'true' : 'false')); |
593 | 557 | } |
@@ -595,8 +559,7 @@ discard block |
||
595 | 559 | /** |
596 | 560 | * @param string $fisId |
597 | 561 | */ |
598 | - public function setFisId($fisId) |
|
599 | - { |
|
562 | + public function setFisId($fisId) { |
|
600 | 563 | $fisIdXpath = $this->clientConfigurationManager->getFisIdXpath(); |
601 | 564 | $this->setValue($fisIdXpath, $fisId); |
602 | 565 | } |
@@ -605,8 +568,7 @@ discard block |
||
605 | 568 | * @param string $xpathString |
606 | 569 | * @return string |
607 | 570 | */ |
608 | - protected function getValue($xpathString) |
|
609 | - { |
|
571 | + protected function getValue($xpathString) { |
|
610 | 572 | $xpath = $this->getXpath(); |
611 | 573 | $nodeList = $xpath->query(self::rootNode . $xpathString); |
612 | 574 | if ($nodeList->length > 0) { |
@@ -619,8 +581,7 @@ discard block |
||
619 | 581 | * @param string $xpathString |
620 | 582 | * @param string $value |
621 | 583 | */ |
622 | - protected function setValue($xpathString, $value) |
|
623 | - { |
|
584 | + protected function setValue($xpathString, $value) { |
|
624 | 585 | $xpath = $this->getXpath(); |
625 | 586 | $nodes = $xpath->query(self::rootNode . $xpathString); |
626 | 587 | if ($nodes->length > 0) { |
@@ -651,8 +612,7 @@ discard block |
||
651 | 612 | * @param string $nodeXpath |
652 | 613 | * @param string $value |
653 | 614 | */ |
654 | - public function setFileData(DOMNode $fileNode, string $nodeXpath, string $value) |
|
655 | - { |
|
615 | + public function setFileData(DOMNode $fileNode, string $nodeXpath, string $value) { |
|
656 | 616 | $xpath = $this->getXpath(); |
657 | 617 | |
658 | 618 | if ($fileNode) { |
@@ -685,8 +645,7 @@ discard block |
||
685 | 645 | * @param ObjectStorage<File> $files |
686 | 646 | * @throws \Exception |
687 | 647 | */ |
688 | - public function completeFileData(ObjectStorage $files) |
|
689 | - { |
|
648 | + public function completeFileData(ObjectStorage $files) { |
|
690 | 649 | $fileId = new FileId($files); |
691 | 650 | |
692 | 651 | $xpath = $this->getXpath(); |
@@ -174,9 +174,9 @@ discard block |
||
174 | 174 | 'mimetype' => '', |
175 | 175 | 'href' => '', |
176 | 176 | 'title' => '', |
177 | - 'download' => false, |
|
178 | - 'archive' => false, |
|
179 | - 'deleted' => false |
|
177 | + 'download' => FALSE, |
|
178 | + 'archive' => FALSE, |
|
179 | + 'deleted' => FALSE |
|
180 | 180 | ]; |
181 | 181 | foreach ($file->childNodes as $fileAttributes) { |
182 | 182 | switch ($fileAttributes->tagName) { |
@@ -245,9 +245,9 @@ discard block |
||
245 | 245 | |
246 | 246 | $urnNodes = $xpath->query(self::rootNode . $primaryUrnXpath); |
247 | 247 | if ($urnNodes->length > 0) { |
248 | - return true; |
|
248 | + return TRUE; |
|
249 | 249 | } else { |
250 | - return false; |
|
250 | + return FALSE; |
|
251 | 251 | } |
252 | 252 | } |
253 | 253 | |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | if ($urnNodes->length > 0) { |
261 | 261 | return $urnNodes->item(0)->nodeValue; |
262 | 262 | } else { |
263 | - return false; |
|
263 | + return FALSE; |
|
264 | 264 | } |
265 | 265 | } |
266 | 266 | |
@@ -469,7 +469,7 @@ discard block |
||
469 | 469 | |
470 | 470 | $parserGenerator = new ParserGenerator($this->clientPid); |
471 | 471 | $parserGenerator->setXml($this->xml->saveXML()); |
472 | - $parserGenerator->customXPath($notesXpath,true, $noteContent); |
|
472 | + $parserGenerator->customXPath($notesXpath,TRUE, $noteContent); |
|
473 | 473 | $this->xml = new \DOMDocument(); |
474 | 474 | $this->xml->loadXML($parserGenerator->getXMLData()); |
475 | 475 | } |
@@ -580,7 +580,7 @@ discard block |
||
580 | 580 | { |
581 | 581 | $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
582 | 582 | $validation = $this->getValue($validationXpath); |
583 | - return (strtolower($validation) === 'true')? true : false; |
|
583 | + return (strtolower($validation) === 'true')? TRUE : FALSE; |
|
584 | 584 | } |
585 | 585 | |
586 | 586 | /** |
@@ -628,7 +628,7 @@ discard block |
||
628 | 628 | } elseif(!empty($value)) { |
629 | 629 | $parserGenerator = new ParserGenerator($this->clientPid); |
630 | 630 | $parserGenerator->setXml($this->xml->saveXML()); |
631 | - $parserGenerator->customXPath($xpathString,true, $value); |
|
631 | + $parserGenerator->customXPath($xpathString,TRUE, $value); |
|
632 | 632 | $this->xml = new \DOMDocument(); |
633 | 633 | $this->xml->loadXML($parserGenerator->getXMLData()); |
634 | 634 | } |
@@ -668,13 +668,13 @@ discard block |
||
668 | 668 | // FIXME: XPATHXmlGenerator XPATH does not generate any namespaces, |
669 | 669 | // which DOMDocument cannot cope with. Actually, namespaces should not be necessary here, |
670 | 670 | // since it is about child elements that are then added to the overall XML. |
671 | - libxml_use_internal_errors(true); |
|
671 | + libxml_use_internal_errors(TRUE); |
|
672 | 672 | $dom = new \DOMDocument(); |
673 | 673 | $domLoaded = $dom->loadXML($xPathXMLGenerator->getXML()); |
674 | - libxml_use_internal_errors(false); |
|
674 | + libxml_use_internal_errors(FALSE); |
|
675 | 675 | |
676 | 676 | if ($domLoaded) { |
677 | - $newField = $this->xml->importNode($dom->firstChild, true); |
|
677 | + $newField = $this->xml->importNode($dom->firstChild, TRUE); |
|
678 | 678 | $fileNode->appendChild($newField); |
679 | 679 | } |
680 | 680 | } |
@@ -713,13 +713,13 @@ discard block |
||
713 | 713 | // FIXME: XPATHXmlGenerator XPATH does not generate any namespaces, |
714 | 714 | // which DOMDocument cannot cope with. Actually, namespaces should not be necessary here, |
715 | 715 | // since it is about child elements that are then added to the overall XML. |
716 | - libxml_use_internal_errors(true); |
|
716 | + libxml_use_internal_errors(TRUE); |
|
717 | 717 | $dom = new \DOMDocument(); |
718 | 718 | $domLoaded = $dom->loadXML($xPathXMLGenerator->getXML()); |
719 | - libxml_use_internal_errors(false); |
|
719 | + libxml_use_internal_errors(FALSE); |
|
720 | 720 | |
721 | 721 | if ($domLoaded) { |
722 | - $newFile = $this->xml->importNode($dom->firstChild, true); |
|
722 | + $newFile = $this->xml->importNode($dom->firstChild, TRUE); |
|
723 | 723 | $newFile->setAttribute('usage', 'delete'); |
724 | 724 | $this->setFileData($newFile, $idXpath, $file->getDatastreamIdentifier()); |
725 | 725 | $this->setFileData($newFile, $deletedXpath, 'yes'); |
@@ -22,8 +22,7 @@ discard block |
||
22 | 22 | use EWW\Dpf\Domain\Repository\ClientRepository; |
23 | 23 | use TYPO3\CMS\Core\Configuration\ExtensionConfiguration; |
24 | 24 | |
25 | -class ClientConfigurationManager |
|
26 | -{ |
|
25 | +class ClientConfigurationManager { |
|
27 | 26 | /** |
28 | 27 | * settings |
29 | 28 | * |
@@ -46,8 +45,7 @@ discard block |
||
46 | 45 | */ |
47 | 46 | protected $extensionConfiguration = array(); |
48 | 47 | |
49 | - public function __construct() |
|
50 | - { |
|
48 | + public function __construct() { |
|
51 | 49 | $objectManager = GeneralUtility::makeInstance(ObjectManager::class); |
52 | 50 | $clientRepository = $objectManager->get(ClientRepository::class); |
53 | 51 | |
@@ -77,8 +75,7 @@ discard block |
||
77 | 75 | |
78 | 76 | } |
79 | 77 | |
80 | - public function setConfigurationPid($pid) |
|
81 | - { |
|
78 | + public function setConfigurationPid($pid) { |
|
82 | 79 | $objectManager = GeneralUtility::makeInstance(ObjectManager::class); |
83 | 80 | $clientRepository = $objectManager->get(ClientRepository::class); |
84 | 81 | |
@@ -88,8 +85,7 @@ discard block |
||
88 | 85 | /** |
89 | 86 | * @return int|null |
90 | 87 | */ |
91 | - public function getClientPid() |
|
92 | - { |
|
88 | + public function getClientPid() { |
|
93 | 89 | return $this->client->getPid(); |
94 | 90 | } |
95 | 91 | |
@@ -98,8 +94,7 @@ discard block |
||
98 | 94 | * |
99 | 95 | * @var array |
100 | 96 | */ |
101 | - public function getSetting($settingName, $extConfig = null) |
|
102 | - { |
|
97 | + public function getSetting($settingName, $extConfig = null) { |
|
103 | 98 | $setting = null; |
104 | 99 | if ($this->client) { |
105 | 100 | $setting = trim($this->client->{"get" . ucfirst($settingName)}()); |
@@ -114,270 +109,217 @@ discard block |
||
114 | 109 | } |
115 | 110 | |
116 | 111 | |
117 | - public function getOwnerId() |
|
118 | - { |
|
112 | + public function getOwnerId() { |
|
119 | 113 | return $this->getSetting("ownerId"); |
120 | 114 | } |
121 | 115 | |
122 | - public function getSwordHost() |
|
123 | - { |
|
116 | + public function getSwordHost() { |
|
124 | 117 | return $this->getSetting("swordHost", "swordHost"); |
125 | 118 | } |
126 | 119 | |
127 | - public function getSwordUser() |
|
128 | - { |
|
120 | + public function getSwordUser() { |
|
129 | 121 | return $this->getSetting("swordUser", "swordUser"); |
130 | 122 | } |
131 | 123 | |
132 | - public function getSwordPassword() |
|
133 | - { |
|
124 | + public function getSwordPassword() { |
|
134 | 125 | return $this->getSetting("swordPassword", "swordPassword"); |
135 | 126 | } |
136 | 127 | |
137 | - public function getSwordCollectionNamespace() |
|
138 | - { |
|
128 | + public function getSwordCollectionNamespace() { |
|
139 | 129 | return $this->getSetting("swordCollectionNamespace", "swordCollectionNamespace"); |
140 | 130 | } |
141 | 131 | |
142 | - public function getFedoraHost() |
|
143 | - { |
|
132 | + public function getFedoraHost() { |
|
144 | 133 | return $this->getSetting("fedoraHost", "fedoraHost"); |
145 | 134 | } |
146 | 135 | |
147 | - public function getFedoraUser() |
|
148 | - { |
|
136 | + public function getFedoraUser() { |
|
149 | 137 | return $this->getSetting("fedoraUser", "fedoraUser"); |
150 | 138 | } |
151 | 139 | |
152 | - public function getFedoraPassword() |
|
153 | - { |
|
140 | + public function getFedoraPassword() { |
|
154 | 141 | return $this->getSetting("fedoraPassword", "fedoraPassword"); |
155 | 142 | } |
156 | 143 | |
157 | - public function getElasticSearchHost() |
|
158 | - { |
|
144 | + public function getElasticSearchHost() { |
|
159 | 145 | return $this->getSetting("elasticSearchHost", "elasticSearchHost"); |
160 | 146 | } |
161 | 147 | |
162 | - public function getElasticSearchPort() |
|
163 | - { |
|
148 | + public function getElasticSearchPort() { |
|
164 | 149 | return $this->getSetting("elasticSearchPort", "elasticSearchPort"); |
165 | 150 | } |
166 | 151 | |
167 | - public function getElasticSearchIndexName() |
|
168 | - { |
|
152 | + public function getElasticSearchIndexName() { |
|
169 | 153 | return $this->getSetting("elasticSearchIndexName", "elasticSearchIndexName"); |
170 | 154 | } |
171 | 155 | |
172 | - public function getUploadDirectory() |
|
173 | - { |
|
156 | + public function getUploadDirectory() { |
|
174 | 157 | return $this->getSetting("uploadDirectory", "uploadDirectory"); |
175 | 158 | } |
176 | 159 | |
177 | - public function getUploadDomain() |
|
178 | - { |
|
160 | + public function getUploadDomain() { |
|
179 | 161 | return $this->getSetting("uploadDomain", "uploadDomain"); |
180 | 162 | } |
181 | 163 | |
182 | - public function getSuggestionFlashMessage() |
|
183 | - { |
|
164 | + public function getSuggestionFlashMessage() { |
|
184 | 165 | return $this->getSetting("suggestionFlashmessage", "suggestionFlashmessage"); |
185 | 166 | } |
186 | 167 | |
187 | - public function getFileXpath() |
|
188 | - { |
|
168 | + public function getFileXpath() { |
|
189 | 169 | return $this->getSetting("fileXpath", "fileXpath"); |
190 | 170 | } |
191 | 171 | |
192 | - public function getStateXpath() |
|
193 | - { |
|
172 | + public function getStateXpath() { |
|
194 | 173 | return $this->getSetting("stateXpath", "stateXpath"); |
195 | 174 | } |
196 | 175 | |
197 | - public function getTypeXpath() |
|
198 | - { |
|
176 | + public function getTypeXpath() { |
|
199 | 177 | return $this->getSetting("typeXpath", "typeXpath"); |
200 | 178 | } |
201 | 179 | |
202 | - public function getTypeXpathInput() |
|
203 | - { |
|
180 | + public function getTypeXpathInput() { |
|
204 | 181 | return $this->getSetting("typeXpathInput", "typeXpathInput"); |
205 | 182 | } |
206 | 183 | |
207 | - public function getUrnXpath() |
|
208 | - { |
|
184 | + public function getUrnXpath() { |
|
209 | 185 | return $this->getSetting("urnXpath", "urnXpath"); |
210 | 186 | } |
211 | 187 | |
212 | - public function getPrimaryUrnXpath() |
|
213 | - { |
|
188 | + public function getPrimaryUrnXpath() { |
|
214 | 189 | return $this->getSetting("primaryUrnXpath", "primaryUrnXpath"); |
215 | 190 | } |
216 | 191 | |
217 | - public function getDateXpath() |
|
218 | - { |
|
192 | + public function getDateXpath() { |
|
219 | 193 | return $this->getSetting("dateXpath", "dateXpath"); |
220 | 194 | } |
221 | 195 | |
222 | - public function getPublishingYearXpath() |
|
223 | - { |
|
196 | + public function getPublishingYearXpath() { |
|
224 | 197 | return $this->getSetting("publishingYearXpath", "publishingYearXpath"); |
225 | 198 | } |
226 | 199 | |
227 | - public function getNamespaces() |
|
228 | - { |
|
200 | + public function getNamespaces() { |
|
229 | 201 | return $this->getSetting("namespaces", "namespaces"); |
230 | 202 | } |
231 | 203 | |
232 | - public function getTitleXpath() |
|
233 | - { |
|
204 | + public function getTitleXpath() { |
|
234 | 205 | return $this->getSetting("titleXpath", "titleXpath"); |
235 | 206 | } |
236 | 207 | |
237 | - public function getOriginalSourceTitleXpath() |
|
238 | - { |
|
208 | + public function getOriginalSourceTitleXpath() { |
|
239 | 209 | return $this->getSetting("originalSourceTitleXpath", "originalSourceTitleXpath"); |
240 | 210 | } |
241 | 211 | |
242 | - public function getProcessNumberXpath() |
|
243 | - { |
|
212 | + public function getProcessNumberXpath() { |
|
244 | 213 | return $this->getSetting("processnumberXpath", "processnumberXpath"); |
245 | 214 | } |
246 | 215 | |
247 | - public function getSubmitterNameXpath() |
|
248 | - { |
|
216 | + public function getSubmitterNameXpath() { |
|
249 | 217 | return $this->getSetting("submitterNameXpath", "submitterNameXpath"); |
250 | 218 | } |
251 | 219 | |
252 | - public function getSubmitterEmailXpath() |
|
253 | - { |
|
220 | + public function getSubmitterEmailXpath() { |
|
254 | 221 | return $this->getSetting("submitterEmailXpath", "submitterEmailXpath"); |
255 | 222 | } |
256 | 223 | |
257 | - public function getSubmitterNoticeXpath() |
|
258 | - { |
|
224 | + public function getSubmitterNoticeXpath() { |
|
259 | 225 | return $this->getSetting("submitterNoticeXpath", "submitterNoticeXpath"); |
260 | 226 | } |
261 | 227 | |
262 | - public function getCreatorXpath() |
|
263 | - { |
|
228 | + public function getCreatorXpath() { |
|
264 | 229 | return $this->getSetting("creatorXpath", "creatorXpath"); |
265 | 230 | } |
266 | 231 | |
267 | - public function getCreationDateXpath() |
|
268 | - { |
|
232 | + public function getCreationDateXpath() { |
|
269 | 233 | return $this->getSetting("creationDateXpath", "creationDateXpath"); |
270 | 234 | } |
271 | 235 | |
272 | - public function getRepositoryCreationDateXpath() |
|
273 | - { |
|
236 | + public function getRepositoryCreationDateXpath() { |
|
274 | 237 | return $this->getSetting("repositoryCreationDateXpath", "repositoryCreationDateXpath"); |
275 | 238 | } |
276 | 239 | |
277 | - public function getRepositoryLastModDateXpath() |
|
278 | - { |
|
240 | + public function getRepositoryLastModDateXpath() { |
|
279 | 241 | return $this->getSetting("repositoryLastModDateXpath", "repositoryLastModDateXpath"); |
280 | 242 | } |
281 | 243 | |
282 | - public function getDepositLicenseXpath() |
|
283 | - { |
|
244 | + public function getDepositLicenseXpath() { |
|
284 | 245 | return $this->getSetting("depositLicenseXpath", "depositLicenseXpath"); |
285 | 246 | } |
286 | 247 | |
287 | - public function getAllNotesXpath() |
|
288 | - { |
|
248 | + public function getAllNotesXpath() { |
|
289 | 249 | return $this->getSetting("allNotesXpath", "allNotesXpath"); |
290 | 250 | } |
291 | 251 | |
292 | - public function getPrivateNotesXpath() |
|
293 | - { |
|
252 | + public function getPrivateNotesXpath() { |
|
294 | 253 | return $this->getSetting("privateNotesXpath", "privateNotesXpath"); |
295 | 254 | } |
296 | 255 | |
297 | - public function getInputTransformation() |
|
298 | - { |
|
256 | + public function getInputTransformation() { |
|
299 | 257 | return $this->client->getInputTransformation()->current(); |
300 | 258 | } |
301 | 259 | |
302 | - public function getOutputTransformation() |
|
303 | - { |
|
260 | + public function getOutputTransformation() { |
|
304 | 261 | return $this->client->getOutputTransformation()->current(); |
305 | 262 | } |
306 | 263 | |
307 | - public function getPersonXpath() |
|
308 | - { |
|
264 | + public function getPersonXpath() { |
|
309 | 265 | return $this->getSetting("personXpath", "personXpath"); |
310 | 266 | } |
311 | 267 | |
312 | - public function getPersonFamilyXpath() |
|
313 | - { |
|
268 | + public function getPersonFamilyXpath() { |
|
314 | 269 | return $this->getSetting("personFamilyXpath", "personFamilyXpath"); |
315 | 270 | } |
316 | 271 | |
317 | - public function getPersonGivenXpath() |
|
318 | - { |
|
272 | + public function getPersonGivenXpath() { |
|
319 | 273 | return $this->getSetting("personGivenXpath", "personGivenXpath"); |
320 | 274 | } |
321 | 275 | |
322 | - public function getPersonRoleXpath() |
|
323 | - { |
|
276 | + public function getPersonRoleXpath() { |
|
324 | 277 | return $this->getSetting("personRoleXpath", "personRoleXpath"); |
325 | 278 | } |
326 | 279 | |
327 | - public function getPersonFisIdentifierXpath() |
|
328 | - { |
|
280 | + public function getPersonFisIdentifierXpath() { |
|
329 | 281 | return $this->getSetting("personFisIdentifierXpath", "personFisIdentifierXpath"); |
330 | 282 | } |
331 | 283 | |
332 | - public function getPersonAffiliationXpath() |
|
333 | - { |
|
284 | + public function getPersonAffiliationXpath() { |
|
334 | 285 | return $this->getSetting("personAffiliationXpath", "personAffiliationXpath"); |
335 | 286 | } |
336 | 287 | |
337 | - public function getPersonAffiliationIdentifierXpath() |
|
338 | - { |
|
288 | + public function getPersonAffiliationIdentifierXpath() { |
|
339 | 289 | return $this->getSetting("personAffiliationIdentifierXpath", "personAffiliationIdentifierXpath"); |
340 | 290 | } |
341 | 291 | |
342 | - public function getPersonAuthorRole() |
|
343 | - { |
|
292 | + public function getPersonAuthorRole() { |
|
344 | 293 | return $this->getSetting("personAuthorRole", "personAuthorRole"); |
345 | 294 | } |
346 | 295 | |
347 | - public function getPersonPublisherRole() |
|
348 | - { |
|
296 | + public function getPersonPublisherRole() { |
|
349 | 297 | return $this->getSetting("personPublisherRole", "personPublisherRole"); |
350 | 298 | } |
351 | 299 | |
352 | - public function getValidationXpath() |
|
353 | - { |
|
300 | + public function getValidationXpath() { |
|
354 | 301 | return $this->getSetting("validationXpath", "validationXpath"); |
355 | 302 | } |
356 | 303 | |
357 | - public function fisIdXpath() |
|
358 | - { |
|
304 | + public function fisIdXpath() { |
|
359 | 305 | return $this->getSetting("fisIdXpath", "fisIdXpath"); |
360 | 306 | } |
361 | 307 | |
362 | - public function getSourceDetailsXpaths() |
|
363 | - { |
|
308 | + public function getSourceDetailsXpaths() { |
|
364 | 309 | return $this->getSetting("sourceDetailsXpaths", "sourceDetailsXpaths"); |
365 | 310 | } |
366 | 311 | |
367 | - public function getFedoraNamespace() |
|
368 | - { |
|
312 | + public function getFedoraNamespace() { |
|
369 | 313 | $settings = $this->getTypoScriptSettings(); |
370 | 314 | return $settings['fedoraNamespace']; |
371 | 315 | } |
372 | 316 | |
373 | - public function getUniversityCollection() |
|
374 | - { |
|
317 | + public function getUniversityCollection() { |
|
375 | 318 | $settings = $this->getTypoScriptSettings(); |
376 | 319 | return $settings['universityCollection']; |
377 | 320 | } |
378 | 321 | |
379 | - public function getTypoScriptSettings() |
|
380 | - { |
|
322 | + public function getTypoScriptSettings() { |
|
381 | 323 | $objectManager = GeneralUtility::makeInstance(ObjectManager::class); |
382 | 324 | $configurationManager = $objectManager->get(ConfigurationManager::class); |
383 | 325 | $settings = $configurationManager->getConfiguration( |
@@ -387,38 +329,31 @@ discard block |
||
387 | 329 | return $settings; |
388 | 330 | } |
389 | 331 | |
390 | - public function getFileIdXpath() |
|
391 | - { |
|
332 | + public function getFileIdXpath() { |
|
392 | 333 | return $this->trimFileXpath($this->getSetting("fileIdXpath", "fileIdXpath")); |
393 | 334 | } |
394 | 335 | |
395 | - public function getFileMimetypeXpath() |
|
396 | - { |
|
336 | + public function getFileMimetypeXpath() { |
|
397 | 337 | return $this->trimFileXpath($this->getSetting("fileMimetypeXpath", "fileMimetypeXpath")); |
398 | 338 | } |
399 | 339 | |
400 | - public function getFileHrefXpath() |
|
401 | - { |
|
340 | + public function getFileHrefXpath() { |
|
402 | 341 | return $this->trimFileXpath($this->getSetting("fileHrefXpath", "fileHrefXpath")); |
403 | 342 | } |
404 | 343 | |
405 | - public function getFileDownloadXpath() |
|
406 | - { |
|
344 | + public function getFileDownloadXpath() { |
|
407 | 345 | return $this->trimFileXpath($this->getSetting("fileDownloadXpath", "fileDownloadXpath")); |
408 | 346 | } |
409 | 347 | |
410 | - public function getFileArchiveXpath() |
|
411 | - { |
|
348 | + public function getFileArchiveXpath() { |
|
412 | 349 | return $this->trimFileXpath($this->getSetting("fileArchiveXpath", "fileArchiveXpath")); |
413 | 350 | } |
414 | 351 | |
415 | - public function getFileDeletedXpath() |
|
416 | - { |
|
352 | + public function getFileDeletedXpath() { |
|
417 | 353 | return$this->trimFileXpath($this->getSetting("fileDeletedXpath", "fileDeletedXpath")); |
418 | 354 | } |
419 | 355 | |
420 | - public function getFileTitleXpath() |
|
421 | - { |
|
356 | + public function getFileTitleXpath() { |
|
422 | 357 | return $this->trimFileXpath($this->getSetting("fileTitleXpath", "fileTitleXpath")); |
423 | 358 | } |
424 | 359 |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) |
134 | 134 | { |
135 | 135 | |
136 | - $this->inputOptions = array(); |
|
136 | + $this->inputOptions = array (); |
|
137 | 137 | |
138 | 138 | if ($inputOptionList) { |
139 | 139 | $this->inputOptions[''] = ''; |
@@ -315,12 +315,12 @@ discard block |
||
315 | 315 | { |
316 | 316 | if ($this->helpText) { |
317 | 317 | $domDocument = new \DOMDocument(); |
318 | - $domDocument->loadXML("<html>".$this->helpText."</html>"); |
|
318 | + $domDocument->loadXML("<html>" . $this->helpText . "</html>"); |
|
319 | 319 | $xpath = \EWW\Dpf\Helper\XPath::create($domDocument); |
320 | 320 | $nodes = $xpath->query("//p"); |
321 | 321 | if ($nodes->length > 1) { |
322 | 322 | $domDocument->firstChild->removeChild($nodes->item(0)); |
323 | - return str_replace(['<html>','</html>'], '', $domDocument->saveHTML()); |
|
323 | + return str_replace(['<html>', '</html>'], '', $domDocument->saveHTML()); |
|
324 | 324 | } |
325 | 325 | } |
326 | 326 | } |
@@ -14,8 +14,7 @@ discard block |
||
14 | 14 | * The TYPO3 project - inspiring people to share! |
15 | 15 | */ |
16 | 16 | |
17 | -class DocumentFormField extends AbstractFormElement |
|
18 | -{ |
|
17 | +class DocumentFormField extends AbstractFormElement { |
|
19 | 18 | protected $file; |
20 | 19 | |
21 | 20 | protected $value; |
@@ -70,13 +69,11 @@ discard block |
||
70 | 69 | */ |
71 | 70 | protected $objectType = ''; |
72 | 71 | |
73 | - public function getValue() |
|
74 | - { |
|
72 | + public function getValue() { |
|
75 | 73 | return $this->value; |
76 | 74 | } |
77 | 75 | |
78 | - public function setValue($value, $defaultValue = '') |
|
79 | - { |
|
76 | + public function setValue($value, $defaultValue = '') { |
|
80 | 77 | |
81 | 78 | $this->hasDefaultValue = !empty($defaultValue); |
82 | 79 | |
@@ -107,13 +104,11 @@ discard block |
||
107 | 104 | } |
108 | 105 | } |
109 | 106 | |
110 | - public function getInputField() |
|
111 | - { |
|
107 | + public function getInputField() { |
|
112 | 108 | return $this->inputField; |
113 | 109 | } |
114 | 110 | |
115 | - public function setInputField($inputField) |
|
116 | - { |
|
111 | + public function setInputField($inputField) { |
|
117 | 112 | $this->inputField = $inputField; |
118 | 113 | } |
119 | 114 | |
@@ -121,8 +116,7 @@ discard block |
||
121 | 116 | * |
122 | 117 | * @return array |
123 | 118 | */ |
124 | - public function getInputOptions() |
|
125 | - { |
|
119 | + public function getInputOptions() { |
|
126 | 120 | return $this->inputOptions; |
127 | 121 | } |
128 | 122 | |
@@ -130,8 +124,7 @@ discard block |
||
130 | 124 | * |
131 | 125 | * @param \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList |
132 | 126 | */ |
133 | - public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) |
|
134 | - { |
|
127 | + public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) { |
|
135 | 128 | |
136 | 129 | $this->inputOptions = array(); |
137 | 130 | |
@@ -151,8 +144,7 @@ discard block |
||
151 | 144 | * |
152 | 145 | * @return string $fillOutService |
153 | 146 | */ |
154 | - public function getFillOutService() |
|
155 | - { |
|
147 | + public function getFillOutService() { |
|
156 | 148 | return $this->fillOutService; |
157 | 149 | } |
158 | 150 | |
@@ -162,8 +154,7 @@ discard block |
||
162 | 154 | * @param string $fillOutService |
163 | 155 | * @return void |
164 | 156 | */ |
165 | - public function setFillOutService($fillOutService) |
|
166 | - { |
|
157 | + public function setFillOutService($fillOutService) { |
|
167 | 158 | $this->fillOutService = $fillOutService; |
168 | 159 | } |
169 | 160 | |
@@ -172,8 +163,7 @@ discard block |
||
172 | 163 | * |
173 | 164 | * @return boolean $consent |
174 | 165 | */ |
175 | - public function getConsent() |
|
176 | - { |
|
166 | + public function getConsent() { |
|
177 | 167 | return $this->consent; |
178 | 168 | } |
179 | 169 | |
@@ -183,23 +173,19 @@ discard block |
||
183 | 173 | * @param boolean $consent |
184 | 174 | * @return void |
185 | 175 | */ |
186 | - public function setConsent($consent) |
|
187 | - { |
|
176 | + public function setConsent($consent) { |
|
188 | 177 | $this->consent = boolval($consent); |
189 | 178 | } |
190 | 179 | |
191 | - public function getHasDefaultValue() |
|
192 | - { |
|
180 | + public function getHasDefaultValue() { |
|
193 | 181 | return $this->hasDefaultValue; |
194 | 182 | } |
195 | 183 | |
196 | - public function getValidation() |
|
197 | - { |
|
184 | + public function getValidation() { |
|
198 | 185 | return $this->validation; |
199 | 186 | } |
200 | 187 | |
201 | - public function setValidation($validation) |
|
202 | - { |
|
188 | + public function setValidation($validation) { |
|
203 | 189 | $this->validation = $validation; |
204 | 190 | } |
205 | 191 | |
@@ -208,8 +194,7 @@ discard block |
||
208 | 194 | * |
209 | 195 | * @return string |
210 | 196 | */ |
211 | - public function getDataType() |
|
212 | - { |
|
197 | + public function getDataType() { |
|
213 | 198 | return $this->dataType; |
214 | 199 | } |
215 | 200 | |
@@ -219,8 +204,7 @@ discard block |
||
219 | 204 | * @param string $dataType |
220 | 205 | * @return void |
221 | 206 | */ |
222 | - public function setDataType($dataType) |
|
223 | - { |
|
207 | + public function setDataType($dataType) { |
|
224 | 208 | $this->dataType = $dataType; |
225 | 209 | } |
226 | 210 | |
@@ -282,8 +266,7 @@ discard block |
||
282 | 266 | /** |
283 | 267 | * @return mixed |
284 | 268 | */ |
285 | - public function getDepositLicense() |
|
286 | - { |
|
269 | + public function getDepositLicense() { |
|
287 | 270 | return $this->depositLicense; |
288 | 271 | } |
289 | 272 | |
@@ -311,8 +294,7 @@ discard block |
||
311 | 294 | $this->helpText = $helpText; |
312 | 295 | } |
313 | 296 | |
314 | - public function getHelpTextLong() |
|
315 | - { |
|
297 | + public function getHelpTextLong() { |
|
316 | 298 | if ($this->helpText) { |
317 | 299 | $domDocument = new \DOMDocument(); |
318 | 300 | $domDocument->loadXML("<html>".$this->helpText."</html>"); |
@@ -325,8 +307,7 @@ discard block |
||
325 | 307 | } |
326 | 308 | } |
327 | 309 | |
328 | - public function getHelpTextShort() |
|
329 | - { |
|
310 | + public function getHelpTextShort() { |
|
330 | 311 | if ($this->helpText) { |
331 | 312 | $domDocument = new \DOMDocument(); |
332 | 313 | $domDocument->loadXML("<html>" . $this->helpText . "</html>"); |
@@ -341,8 +322,7 @@ discard block |
||
341 | 322 | /** |
342 | 323 | * @return mixed |
343 | 324 | */ |
344 | - public function getFile() |
|
345 | - { |
|
325 | + public function getFile() { |
|
346 | 326 | return $this->file; |
347 | 327 | } |
348 | 328 |
@@ -15,8 +15,8 @@ discard block |
||
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 |
||
27 | 27 | 'transOrigPointerField' => 'l10n_parent', |
28 | 28 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
29 | 29 | 'delete' => 'deleted', |
30 | - 'enablecolumns' => array( |
|
30 | + 'enablecolumns' => array ( |
|
31 | 31 | 'disabled' => 'hidden', |
32 | 32 | 'starttime' => 'starttime', |
33 | 33 | 'endtime' => 'endtime', |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | validation_xpath, fis_id_xpath, source_details_xpaths', |
62 | 62 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
63 | 63 | ), |
64 | - 'interface' => array( |
|
64 | + 'interface' => array ( |
|
65 | 65 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, client, owner_id, |
66 | 66 | network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace, |
67 | 67 | sword_host, sword_user, sword_password, sword_collection_namespace, fedora_host, fedora_user, fedora_password, |
@@ -90,8 +90,8 @@ discard block |
||
90 | 90 | person_author_role, person_publisher_role, |
91 | 91 | validation_xpath, fis_id_xpath, source_details_xpaths' |
92 | 92 | ), |
93 | - 'types' => array( |
|
94 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, |
|
93 | + 'types' => array ( |
|
94 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, |
|
95 | 95 | client, owner_id, network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace, |
96 | 96 | --div--;Static XML, namespaces, file_xpath, file_id_xpath, file_mimetype_xpath, |
97 | 97 | file_href_xpath, file_download_xpath, file_archive_xpath, file_deleted_xpath ,file_title_xpath, |
@@ -116,65 +116,65 @@ discard block |
||
116 | 116 | --div--;Default internal format XSLT, input_transformation, output_transformation, elastic_search_transformation, |
117 | 117 | --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
118 | 118 | ), |
119 | - 'palettes' => array( |
|
120 | - '1' => array('showitem' => ''), |
|
119 | + 'palettes' => array ( |
|
120 | + '1' => array ('showitem' => ''), |
|
121 | 121 | ), |
122 | - 'columns' => array( |
|
123 | - 'sys_language_uid' => array( |
|
122 | + 'columns' => array ( |
|
123 | + 'sys_language_uid' => array ( |
|
124 | 124 | 'exclude' => 1, |
125 | 125 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
126 | - 'config' => array( |
|
126 | + 'config' => array ( |
|
127 | 127 | 'type' => 'select', |
128 | 128 | 'renderType' => 'selectSingle', |
129 | 129 | 'foreign_table' => 'sys_language', |
130 | 130 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
131 | - 'items' => array( |
|
132 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
133 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
131 | + 'items' => array ( |
|
132 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
133 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
134 | 134 | ), |
135 | 135 | 'default' => 0, |
136 | 136 | ), |
137 | 137 | ), |
138 | - 'l10n_parent' => array( |
|
138 | + 'l10n_parent' => array ( |
|
139 | 139 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
140 | 140 | 'exclude' => 1, |
141 | 141 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
142 | - 'config' => array( |
|
142 | + 'config' => array ( |
|
143 | 143 | 'type' => 'select', |
144 | 144 | 'renderType' => 'selectSingle', |
145 | - 'items' => array( |
|
146 | - array('', 0), |
|
145 | + 'items' => array ( |
|
146 | + array ('', 0), |
|
147 | 147 | ), |
148 | 148 | 'foreign_table' => 'tx_dpf_domain_model_client', |
149 | 149 | 'foreign_table_where' => 'AND tx_dpf_domain_model_client.pid=###CURRENT_PID### AND tx_dpf_domain_model_client.sys_language_uid IN (-1,0)', |
150 | 150 | 'default' => 0, |
151 | 151 | ), |
152 | 152 | ), |
153 | - 'l10n_diffsource' => array( |
|
154 | - 'config' => array( |
|
153 | + 'l10n_diffsource' => array ( |
|
154 | + 'config' => array ( |
|
155 | 155 | 'type' => 'passthrough', |
156 | 156 | ), |
157 | 157 | ), |
158 | - 't3ver_label' => array( |
|
158 | + 't3ver_label' => array ( |
|
159 | 159 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
160 | - 'config' => array( |
|
160 | + 'config' => array ( |
|
161 | 161 | 'type' => 'input', |
162 | 162 | 'size' => 30, |
163 | 163 | 'max' => 255, |
164 | 164 | ), |
165 | 165 | ), |
166 | - 'hidden' => array( |
|
166 | + 'hidden' => array ( |
|
167 | 167 | 'exclude' => 1, |
168 | 168 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
169 | - 'config' => array( |
|
169 | + 'config' => array ( |
|
170 | 170 | 'type' => 'check', |
171 | 171 | ), |
172 | 172 | ), |
173 | - 'starttime' => array( |
|
173 | + 'starttime' => array ( |
|
174 | 174 | 'exclude' => 1, |
175 | 175 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
176 | - 'config' => array( |
|
177 | - 'behaviour' => array( |
|
176 | + 'config' => array ( |
|
177 | + 'behaviour' => array ( |
|
178 | 178 | 'allowLanguageSynchronization' => true |
179 | 179 | ), |
180 | 180 | 'type' => 'input', |
@@ -183,16 +183,16 @@ discard block |
||
183 | 183 | 'eval' => 'datetime', |
184 | 184 | 'checkbox' => 0, |
185 | 185 | 'default' => 0, |
186 | - 'range' => array( |
|
186 | + 'range' => array ( |
|
187 | 187 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
188 | 188 | ), |
189 | 189 | ), |
190 | 190 | ), |
191 | - 'endtime' => array( |
|
191 | + 'endtime' => array ( |
|
192 | 192 | 'exclude' => 1, |
193 | 193 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
194 | - 'config' => array( |
|
195 | - 'behaviour' => array( |
|
194 | + 'config' => array ( |
|
195 | + 'behaviour' => array ( |
|
196 | 196 | 'allowLanguageSynchronization' => true |
197 | 197 | ), |
198 | 198 | 'type' => 'input', |
@@ -201,249 +201,249 @@ discard block |
||
201 | 201 | 'eval' => 'datetime', |
202 | 202 | 'checkbox' => 0, |
203 | 203 | 'default' => 0, |
204 | - 'range' => array( |
|
204 | + 'range' => array ( |
|
205 | 205 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
206 | 206 | ), |
207 | 207 | ), |
208 | 208 | ), |
209 | - 'project' => array( |
|
209 | + 'project' => array ( |
|
210 | 210 | 'exclude' => 1, |
211 | 211 | 'l10n_mode' => 'exclude', |
212 | 212 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.project', |
213 | - 'config' => array( |
|
213 | + 'config' => array ( |
|
214 | 214 | 'type' => 'input', |
215 | 215 | 'size' => 30, |
216 | 216 | 'eval' => 'trim', |
217 | 217 | ), |
218 | 218 | ), |
219 | - 'client' => array( |
|
219 | + 'client' => array ( |
|
220 | 220 | 'exclude' => 1, |
221 | 221 | 'l10n_mode' => 'exclude', |
222 | 222 | 'l10n_display' => 'defaultAsReadonly', |
223 | 223 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.client', |
224 | - 'config' => array( |
|
224 | + 'config' => array ( |
|
225 | 225 | 'type' => 'input', |
226 | 226 | 'size' => 30, |
227 | 227 | 'eval' => 'trim', |
228 | 228 | ), |
229 | 229 | ), |
230 | - 'network_initial' => array( |
|
230 | + 'network_initial' => array ( |
|
231 | 231 | 'exclude' => 1, |
232 | 232 | 'l10n_mode' => 'exclude', |
233 | 233 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.network_initial', |
234 | - 'config' => array( |
|
234 | + 'config' => array ( |
|
235 | 235 | 'type' => 'input', |
236 | 236 | 'size' => 30, |
237 | 237 | 'eval' => 'trim', |
238 | 238 | ), |
239 | 239 | ), |
240 | - 'library_identifier' => array( |
|
240 | + 'library_identifier' => array ( |
|
241 | 241 | 'exclude' => 1, |
242 | 242 | 'l10n_mode' => 'exclude', |
243 | 243 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.library_identifier', |
244 | - 'config' => array( |
|
244 | + 'config' => array ( |
|
245 | 245 | 'type' => 'input', |
246 | 246 | 'size' => 30, |
247 | 247 | 'eval' => 'trim', |
248 | 248 | ), |
249 | 249 | ), |
250 | - 'owner_id' => array( |
|
250 | + 'owner_id' => array ( |
|
251 | 251 | 'exclude' => 1, |
252 | 252 | 'l10n_mode' => 'exclude', |
253 | 253 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.owner_id', |
254 | - 'config' => array( |
|
254 | + 'config' => array ( |
|
255 | 255 | 'type' => 'input', |
256 | 256 | 'size' => 30, |
257 | 257 | 'eval' => 'trim,required', |
258 | 258 | ), |
259 | 259 | ), |
260 | - 'admin_email' => array( |
|
260 | + 'admin_email' => array ( |
|
261 | 261 | 'exclude' => 1, |
262 | 262 | 'l10n_mode' => 'exclude', |
263 | 263 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_email', |
264 | - 'config' => array( |
|
264 | + 'config' => array ( |
|
265 | 265 | 'type' => 'input', |
266 | 266 | 'size' => 30, |
267 | 267 | 'eval' => 'trim', |
268 | 268 | ), |
269 | 269 | ), |
270 | - 'replace_niss_part' => array( |
|
270 | + 'replace_niss_part' => array ( |
|
271 | 271 | 'exclude' => 1, |
272 | 272 | 'l10n_mode' => 'exclude', |
273 | 273 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.replace_niss_part', |
274 | - 'config' => array( |
|
274 | + 'config' => array ( |
|
275 | 275 | 'type' => 'check', |
276 | 276 | 'default' => 0, |
277 | 277 | ), |
278 | 278 | 'onChange' => 'reload', |
279 | 279 | ), |
280 | - 'niss_part_search' => array( |
|
280 | + 'niss_part_search' => array ( |
|
281 | 281 | 'exclude' => 1, |
282 | 282 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_search', |
283 | 283 | 'displayCond' => 'FIELD:replace_niss_part:=:1', |
284 | - 'config' => array( |
|
284 | + 'config' => array ( |
|
285 | 285 | 'type' => 'input', |
286 | 286 | 'size' => 30, |
287 | 287 | 'eval' => 'trim,required', |
288 | 288 | 'default' => '', |
289 | 289 | ), |
290 | 290 | ), |
291 | - 'niss_part_replace' => array( |
|
291 | + 'niss_part_replace' => array ( |
|
292 | 292 | 'exclude' => 1, |
293 | 293 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_replace', |
294 | 294 | 'displayCond' => 'FIELD:replace_niss_part:=:1', |
295 | - 'config' => array( |
|
295 | + 'config' => array ( |
|
296 | 296 | 'type' => 'input', |
297 | 297 | 'size' => 30, |
298 | 298 | 'eval' => 'trim,required', |
299 | 299 | 'default' => '', |
300 | 300 | ), |
301 | 301 | ), |
302 | - 'sword_host' => array( |
|
302 | + 'sword_host' => array ( |
|
303 | 303 | 'exclude' => 1, |
304 | 304 | 'l10n_mode' => 'exclude', |
305 | 305 | 'l10n_display' => 'defaultAsReadonly', |
306 | 306 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_host', |
307 | - 'config' => array( |
|
307 | + 'config' => array ( |
|
308 | 308 | 'type' => 'input', |
309 | 309 | 'size' => 30, |
310 | 310 | 'eval' => 'trim', |
311 | 311 | ), |
312 | 312 | ), |
313 | - 'sword_user' => array( |
|
313 | + 'sword_user' => array ( |
|
314 | 314 | 'exclude' => 1, |
315 | 315 | 'l10n_mode' => 'exclude', |
316 | 316 | 'l10n_display' => 'defaultAsReadonly', |
317 | 317 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_user', |
318 | - 'config' => array( |
|
318 | + 'config' => array ( |
|
319 | 319 | 'type' => 'input', |
320 | 320 | 'size' => 30, |
321 | 321 | 'eval' => 'trim', |
322 | 322 | ), |
323 | 323 | ), |
324 | - 'sword_password' => array( |
|
324 | + 'sword_password' => array ( |
|
325 | 325 | 'exclude' => 1, |
326 | 326 | 'l10n_mode' => 'exclude', |
327 | 327 | 'l10n_display' => 'defaultAsReadonly', |
328 | 328 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_password', |
329 | - 'config' => array( |
|
329 | + 'config' => array ( |
|
330 | 330 | 'type' => 'input', |
331 | 331 | 'size' => 30, |
332 | 332 | 'eval' => 'trim', |
333 | 333 | ), |
334 | 334 | ), |
335 | - 'sword_collection_namespace' => array( |
|
335 | + 'sword_collection_namespace' => array ( |
|
336 | 336 | 'exclude' => 1, |
337 | 337 | 'l10n_mode' => 'exclude', |
338 | 338 | 'l10n_display' => 'defaultAsReadonly', |
339 | 339 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_collection_namespace', |
340 | - 'config' => array( |
|
340 | + 'config' => array ( |
|
341 | 341 | 'type' => 'input', |
342 | 342 | 'size' => 30, |
343 | 343 | 'eval' => 'trim', |
344 | 344 | ), |
345 | 345 | ), |
346 | - 'fedora_host' => array( |
|
346 | + 'fedora_host' => array ( |
|
347 | 347 | 'exclude' => 1, |
348 | 348 | 'l10n_mode' => 'exclude', |
349 | 349 | 'l10n_display' => 'defaultAsReadonly', |
350 | 350 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_host', |
351 | - 'config' => array( |
|
351 | + 'config' => array ( |
|
352 | 352 | 'type' => 'input', |
353 | 353 | 'size' => 30, |
354 | 354 | 'eval' => 'trim', |
355 | 355 | ), |
356 | 356 | ), |
357 | - 'fedora_user' => array( |
|
357 | + 'fedora_user' => array ( |
|
358 | 358 | 'exclude' => 1, |
359 | 359 | 'l10n_mode' => 'exclude', |
360 | 360 | 'l10n_display' => 'defaultAsReadonly', |
361 | 361 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_user', |
362 | - 'config' => array( |
|
362 | + 'config' => array ( |
|
363 | 363 | 'type' => 'input', |
364 | 364 | 'size' => 30, |
365 | 365 | 'eval' => 'trim', |
366 | 366 | ), |
367 | 367 | ), |
368 | - 'fedora_password' => array( |
|
368 | + 'fedora_password' => array ( |
|
369 | 369 | 'exclude' => 1, |
370 | 370 | 'l10n_mode' => 'exclude', |
371 | 371 | 'l10n_display' => 'defaultAsReadonly', |
372 | 372 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_password', |
373 | - 'config' => array( |
|
373 | + 'config' => array ( |
|
374 | 374 | 'type' => 'input', |
375 | 375 | 'size' => 30, |
376 | 376 | 'eval' => 'trim', |
377 | 377 | ), |
378 | 378 | ), |
379 | - 'elastic_search_host' => array( |
|
379 | + 'elastic_search_host' => array ( |
|
380 | 380 | 'exclude' => 1, |
381 | 381 | 'l10n_mode' => 'exclude', |
382 | 382 | 'l10n_display' => 'defaultAsReadonly', |
383 | 383 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_host', |
384 | - 'config' => array( |
|
384 | + 'config' => array ( |
|
385 | 385 | 'type' => 'input', |
386 | 386 | 'size' => 30, |
387 | 387 | 'eval' => 'trim', |
388 | 388 | ), |
389 | 389 | ), |
390 | - 'elastic_search_port' => array( |
|
390 | + 'elastic_search_port' => array ( |
|
391 | 391 | 'exclude' => 1, |
392 | 392 | 'l10n_mode' => 'exclude', |
393 | 393 | 'l10n_display' => 'defaultAsReadonly', |
394 | 394 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_port', |
395 | - 'config' => array( |
|
395 | + 'config' => array ( |
|
396 | 396 | 'type' => 'input', |
397 | 397 | 'size' => 30, |
398 | 398 | 'eval' => 'trim', |
399 | 399 | ), |
400 | 400 | ), |
401 | - 'elastic_search_index_name' => array( |
|
401 | + 'elastic_search_index_name' => array ( |
|
402 | 402 | 'exclude' => 1, |
403 | 403 | 'l10n_mode' => 'exclude', |
404 | 404 | 'l10n_display' => 'defaultAsReadonly', |
405 | 405 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_index_name', |
406 | - 'config' => array( |
|
406 | + 'config' => array ( |
|
407 | 407 | 'type' => 'input', |
408 | 408 | 'size' => 30, |
409 | 409 | 'eval' => 'trim', |
410 | 410 | ), |
411 | 411 | ), |
412 | - 'upload_directory' => array( |
|
412 | + 'upload_directory' => array ( |
|
413 | 413 | 'exclude' => 1, |
414 | 414 | 'l10n_mode' => 'exclude', |
415 | 415 | 'l10n_display' => 'defaultAsReadonly', |
416 | 416 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_directory', |
417 | - 'config' => array( |
|
417 | + 'config' => array ( |
|
418 | 418 | 'type' => 'input', |
419 | 419 | 'size' => 30, |
420 | 420 | 'eval' => 'trim', |
421 | 421 | ), |
422 | 422 | ), |
423 | - 'upload_domain' => array( |
|
423 | + 'upload_domain' => array ( |
|
424 | 424 | 'exclude' => 1, |
425 | 425 | 'l10n_mode' => 'exclude', |
426 | 426 | 'l10n_display' => 'defaultAsReadonly', |
427 | 427 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_domain', |
428 | - 'config' => array( |
|
428 | + 'config' => array ( |
|
429 | 429 | 'type' => 'input', |
430 | 430 | 'size' => 30, |
431 | 431 | 'eval' => 'trim', |
432 | 432 | ), |
433 | 433 | ), |
434 | - 'admin_new_document_notification_subject' => array( |
|
434 | + 'admin_new_document_notification_subject' => array ( |
|
435 | 435 | 'exclude' => 1, |
436 | 436 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_subject', |
437 | - 'config' => array( |
|
437 | + 'config' => array ( |
|
438 | 438 | 'type' => 'input', |
439 | 439 | 'size' => 50, |
440 | 440 | 'eval' => 'trim', |
441 | 441 | ), |
442 | 442 | ), |
443 | - 'admin_new_document_notification_body' => array( |
|
443 | + 'admin_new_document_notification_body' => array ( |
|
444 | 444 | 'exclude' => 1, |
445 | 445 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_body', |
446 | - 'config' => array( |
|
446 | + 'config' => array ( |
|
447 | 447 | 'type' => 'text', |
448 | 448 | 'cols' => 40, |
449 | 449 | 'rows' => 15, |
@@ -451,19 +451,19 @@ discard block |
||
451 | 451 | 'enableRichtext' => true, |
452 | 452 | ), |
453 | 453 | ), |
454 | - 'admin_register_document_notification_subject' => array( |
|
454 | + 'admin_register_document_notification_subject' => array ( |
|
455 | 455 | 'exclude' => 1, |
456 | 456 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_subject', |
457 | - 'config' => array( |
|
457 | + 'config' => array ( |
|
458 | 458 | 'type' => 'input', |
459 | 459 | 'size' => 50, |
460 | 460 | 'eval' => 'trim', |
461 | 461 | ), |
462 | 462 | ), |
463 | - 'admin_register_document_notification_body' => array( |
|
463 | + 'admin_register_document_notification_body' => array ( |
|
464 | 464 | 'exclude' => 1, |
465 | 465 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_body', |
466 | - 'config' => array( |
|
466 | + 'config' => array ( |
|
467 | 467 | 'type' => 'text', |
468 | 468 | 'cols' => 40, |
469 | 469 | 'rows' => 15, |
@@ -471,19 +471,19 @@ discard block |
||
471 | 471 | 'enableRichtext' => true, |
472 | 472 | ), |
473 | 473 | ), |
474 | - 'submitter_new_document_notification_subject' => array( |
|
474 | + 'submitter_new_document_notification_subject' => array ( |
|
475 | 475 | 'exclude' => 1, |
476 | 476 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_subject', |
477 | - 'config' => array( |
|
477 | + 'config' => array ( |
|
478 | 478 | 'type' => 'input', |
479 | 479 | 'size' => 50, |
480 | 480 | 'eval' => 'trim', |
481 | 481 | ), |
482 | 482 | ), |
483 | - 'submitter_new_document_notification_body' => array( |
|
483 | + 'submitter_new_document_notification_body' => array ( |
|
484 | 484 | 'exclude' => 1, |
485 | 485 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_body', |
486 | - 'config' => array( |
|
486 | + 'config' => array ( |
|
487 | 487 | 'type' => 'text', |
488 | 488 | 'cols' => 40, |
489 | 489 | 'rows' => 15, |
@@ -491,19 +491,19 @@ discard block |
||
491 | 491 | 'enableRichtext' => true, |
492 | 492 | ), |
493 | 493 | ), |
494 | - 'submitter_ingest_notification_subject' => array( |
|
494 | + 'submitter_ingest_notification_subject' => array ( |
|
495 | 495 | 'exclude' => 1, |
496 | 496 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_subject', |
497 | - 'config' => array( |
|
497 | + 'config' => array ( |
|
498 | 498 | 'type' => 'input', |
499 | 499 | 'size' => 50, |
500 | 500 | 'eval' => 'trim', |
501 | 501 | ), |
502 | 502 | ), |
503 | - 'submitter_ingest_notification_body' => array( |
|
503 | + 'submitter_ingest_notification_body' => array ( |
|
504 | 504 | 'exclude' => 1, |
505 | 505 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_body', |
506 | - 'config' => array( |
|
506 | + 'config' => array ( |
|
507 | 507 | 'type' => 'text', |
508 | 508 | 'cols' => 40, |
509 | 509 | 'rows' => 15, |
@@ -511,19 +511,19 @@ discard block |
||
511 | 511 | 'enableRichtext' => true, |
512 | 512 | ), |
513 | 513 | ), |
514 | - 'admin_new_suggestion_subject' => array( |
|
514 | + 'admin_new_suggestion_subject' => array ( |
|
515 | 515 | 'exclude' => 1, |
516 | 516 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_subject', |
517 | - 'config' => array( |
|
517 | + 'config' => array ( |
|
518 | 518 | 'type' => 'input', |
519 | 519 | 'size' => 50, |
520 | 520 | 'eval' => 'trim', |
521 | 521 | ), |
522 | 522 | ), |
523 | - 'admin_new_suggestion_body' => array( |
|
523 | + 'admin_new_suggestion_body' => array ( |
|
524 | 524 | 'exclude' => 1, |
525 | 525 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_body', |
526 | - 'config' => array( |
|
526 | + 'config' => array ( |
|
527 | 527 | 'type' => 'text', |
528 | 528 | 'cols' => 40, |
529 | 529 | 'rows' => 15, |
@@ -531,19 +531,19 @@ discard block |
||
531 | 531 | 'enableRichtext' => true, |
532 | 532 | ), |
533 | 533 | ), |
534 | - 'admin_embargo_subject' => array( |
|
534 | + 'admin_embargo_subject' => array ( |
|
535 | 535 | 'exclude' => 1, |
536 | 536 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_subject', |
537 | - 'config' => array( |
|
537 | + 'config' => array ( |
|
538 | 538 | 'type' => 'input', |
539 | 539 | 'size' => 50, |
540 | 540 | 'eval' => 'trim', |
541 | 541 | ), |
542 | 542 | ), |
543 | - 'admin_embargo_body' => array( |
|
543 | + 'admin_embargo_body' => array ( |
|
544 | 544 | 'exclude' => 1, |
545 | 545 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_body', |
546 | - 'config' => array( |
|
546 | + 'config' => array ( |
|
547 | 547 | 'type' => 'text', |
548 | 548 | 'cols' => 40, |
549 | 549 | 'rows' => 15, |
@@ -551,448 +551,448 @@ discard block |
||
551 | 551 | 'enableRichtext' => true, |
552 | 552 | ), |
553 | 553 | ), |
554 | - 'suggestion_flashmessage' => array( |
|
554 | + 'suggestion_flashmessage' => array ( |
|
555 | 555 | 'exclude' => 1, |
556 | 556 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.suggestion_flashmessage', |
557 | - 'config' => array( |
|
557 | + 'config' => array ( |
|
558 | 558 | 'type' => 'input', |
559 | 559 | 'size' => 50, |
560 | 560 | 'eval' => 'trim', |
561 | 561 | ), |
562 | 562 | ), |
563 | - 'file_xpath' => array( |
|
563 | + 'file_xpath' => array ( |
|
564 | 564 | 'exclude' => 1, |
565 | 565 | 'l10n_mode' => 'exclude', |
566 | 566 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_xpath', |
567 | - 'config' => array( |
|
567 | + 'config' => array ( |
|
568 | 568 | 'type' => 'input', |
569 | 569 | 'size' => 80, |
570 | 570 | 'eval' => 'trim', |
571 | 571 | ), |
572 | 572 | ), |
573 | - 'file_id_xpath' => array( |
|
573 | + 'file_id_xpath' => array ( |
|
574 | 574 | 'exclude' => 1, |
575 | 575 | 'l10n_mode' => 'exclude', |
576 | 576 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_id_xpath', |
577 | - 'config' => array( |
|
577 | + 'config' => array ( |
|
578 | 578 | 'type' => 'input', |
579 | 579 | 'size' => 80, |
580 | 580 | 'eval' => 'trim', |
581 | 581 | ), |
582 | 582 | ), |
583 | - 'file_mimetype_xpath' => array( |
|
583 | + 'file_mimetype_xpath' => array ( |
|
584 | 584 | 'exclude' => 1, |
585 | 585 | 'l10n_mode' => 'exclude', |
586 | 586 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_mimetype_xpath', |
587 | - 'config' => array( |
|
587 | + 'config' => array ( |
|
588 | 588 | 'type' => 'input', |
589 | 589 | 'size' => 80, |
590 | 590 | 'eval' => 'trim', |
591 | 591 | ), |
592 | 592 | ), |
593 | - 'file_href_xpath' => array( |
|
593 | + 'file_href_xpath' => array ( |
|
594 | 594 | 'exclude' => 1, |
595 | 595 | 'l10n_mode' => 'exclude', |
596 | 596 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_href_xpath', |
597 | - 'config' => array( |
|
597 | + 'config' => array ( |
|
598 | 598 | 'type' => 'input', |
599 | 599 | 'size' => 80, |
600 | 600 | 'eval' => 'trim', |
601 | 601 | ), |
602 | 602 | ), |
603 | - 'file_download_xpath' => array( |
|
603 | + 'file_download_xpath' => array ( |
|
604 | 604 | 'exclude' => 1, |
605 | 605 | 'l10n_mode' => 'exclude', |
606 | 606 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_download_xpath', |
607 | - 'config' => array( |
|
607 | + 'config' => array ( |
|
608 | 608 | 'type' => 'input', |
609 | 609 | 'size' => 80, |
610 | 610 | 'eval' => 'trim', |
611 | 611 | ), |
612 | 612 | ), |
613 | - 'file_archive_xpath' => array( |
|
613 | + 'file_archive_xpath' => array ( |
|
614 | 614 | 'exclude' => 1, |
615 | 615 | 'l10n_mode' => 'exclude', |
616 | 616 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_archive_xpath', |
617 | - 'config' => array( |
|
617 | + 'config' => array ( |
|
618 | 618 | 'type' => 'input', |
619 | 619 | 'size' => 80, |
620 | 620 | 'eval' => 'trim', |
621 | 621 | ), |
622 | 622 | ), |
623 | - 'file_deleted_xpath' => array( |
|
623 | + 'file_deleted_xpath' => array ( |
|
624 | 624 | 'exclude' => 1, |
625 | 625 | 'l10n_mode' => 'exclude', |
626 | 626 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_deleted_xpath', |
627 | - 'config' => array( |
|
627 | + 'config' => array ( |
|
628 | 628 | 'type' => 'input', |
629 | 629 | 'size' => 80, |
630 | 630 | 'eval' => 'trim', |
631 | 631 | ), |
632 | 632 | ), |
633 | - 'file_title_xpath' => array( |
|
633 | + 'file_title_xpath' => array ( |
|
634 | 634 | 'exclude' => 1, |
635 | 635 | 'l10n_mode' => 'exclude', |
636 | 636 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.file_title_xpath', |
637 | - 'config' => array( |
|
637 | + 'config' => array ( |
|
638 | 638 | 'type' => 'input', |
639 | 639 | 'size' => 80, |
640 | 640 | 'eval' => 'trim', |
641 | 641 | ), |
642 | 642 | ), |
643 | - 'state_xpath' => array( |
|
643 | + 'state_xpath' => array ( |
|
644 | 644 | 'exclude' => 1, |
645 | 645 | 'l10n_mode' => 'exclude', |
646 | 646 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.state_xpath', |
647 | - 'config' => array( |
|
647 | + 'config' => array ( |
|
648 | 648 | 'type' => 'input', |
649 | 649 | 'size' => 80, |
650 | 650 | 'eval' => 'trim', |
651 | 651 | ), |
652 | 652 | ), |
653 | - 'type_xpath' => array( |
|
653 | + 'type_xpath' => array ( |
|
654 | 654 | 'exclude' => 1, |
655 | 655 | 'l10n_mode' => 'exclude', |
656 | 656 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.type_xpath', |
657 | - 'config' => array( |
|
657 | + 'config' => array ( |
|
658 | 658 | 'type' => 'input', |
659 | 659 | 'size' => 80, |
660 | 660 | 'eval' => 'trim', |
661 | 661 | ), |
662 | 662 | ), |
663 | - 'type_xpath_input' => array( |
|
663 | + 'type_xpath_input' => array ( |
|
664 | 664 | 'exclude' => 1, |
665 | 665 | 'l10n_mode' => 'exclude', |
666 | 666 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.type_xpath_input', |
667 | - 'config' => array( |
|
667 | + 'config' => array ( |
|
668 | 668 | 'type' => 'input', |
669 | 669 | 'size' => 80, |
670 | 670 | 'eval' => 'trim', |
671 | 671 | ), |
672 | 672 | ), |
673 | - 'date_xpath' => array( |
|
673 | + 'date_xpath' => array ( |
|
674 | 674 | 'exclude' => 1, |
675 | 675 | 'l10n_mode' => 'exclude', |
676 | 676 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.date_xpath', |
677 | - 'config' => array( |
|
677 | + 'config' => array ( |
|
678 | 678 | 'type' => 'input', |
679 | 679 | 'size' => 80, |
680 | 680 | 'eval' => 'trim', |
681 | 681 | ), |
682 | 682 | ), |
683 | - 'publishing_year_xpath' => array( |
|
683 | + 'publishing_year_xpath' => array ( |
|
684 | 684 | 'exclude' => 1, |
685 | 685 | 'l10n_mode' => 'exclude', |
686 | 686 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.publishing_year_xpath', |
687 | - 'config' => array( |
|
687 | + 'config' => array ( |
|
688 | 688 | 'type' => 'input', |
689 | 689 | 'size' => 80, |
690 | 690 | 'eval' => 'trim', |
691 | 691 | ), |
692 | 692 | ), |
693 | - 'urn_xpath' => array( |
|
693 | + 'urn_xpath' => array ( |
|
694 | 694 | 'exclude' => 1, |
695 | 695 | 'l10n_mode' => 'exclude', |
696 | 696 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.urn_xpath', |
697 | - 'config' => array( |
|
697 | + 'config' => array ( |
|
698 | 698 | 'type' => 'input', |
699 | 699 | 'size' => 80, |
700 | 700 | 'eval' => 'trim', |
701 | 701 | ), |
702 | 702 | ), |
703 | - 'primary_urn_xpath' => array( |
|
703 | + 'primary_urn_xpath' => array ( |
|
704 | 704 | 'exclude' => 1, |
705 | 705 | 'l10n_mode' => 'exclude', |
706 | 706 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.primary_urn_xpath', |
707 | - 'config' => array( |
|
707 | + 'config' => array ( |
|
708 | 708 | 'type' => 'input', |
709 | 709 | 'size' => 80, |
710 | 710 | 'eval' => 'trim', |
711 | 711 | ), |
712 | 712 | ), |
713 | - 'namespaces' => array( |
|
713 | + 'namespaces' => array ( |
|
714 | 714 | 'exclude' => 1, |
715 | 715 | 'l10n_mode' => 'exclude', |
716 | 716 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.namespaces', |
717 | - 'config' => array( |
|
717 | + 'config' => array ( |
|
718 | 718 | 'type' => 'input', |
719 | 719 | 'size' => 80, |
720 | 720 | 'eval' => 'trim', |
721 | 721 | ), |
722 | 722 | ), |
723 | - 'title_xpath' => array( |
|
723 | + 'title_xpath' => array ( |
|
724 | 724 | 'exclude' => 1, |
725 | 725 | 'l10n_mode' => 'exclude', |
726 | 726 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.title_xpath', |
727 | - 'config' => array( |
|
727 | + 'config' => array ( |
|
728 | 728 | 'type' => 'input', |
729 | 729 | 'size' => 30, |
730 | 730 | 'eval' => 'trim', |
731 | 731 | ), |
732 | 732 | ), |
733 | - 'process_number_xpath' => array( |
|
733 | + 'process_number_xpath' => array ( |
|
734 | 734 | 'exclude' => 1, |
735 | 735 | 'l10n_mode' => 'exclude', |
736 | 736 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.process_number_xpath', |
737 | - 'config' => array( |
|
737 | + 'config' => array ( |
|
738 | 738 | 'type' => 'input', |
739 | 739 | 'size' => 80, |
740 | 740 | 'eval' => 'trim', |
741 | 741 | ), |
742 | 742 | ), |
743 | - 'submitter_name_xpath' => array( |
|
743 | + 'submitter_name_xpath' => array ( |
|
744 | 744 | 'exclude' => 1, |
745 | 745 | 'l10n_mode' => 'exclude', |
746 | 746 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_name', |
747 | - 'config' => array( |
|
747 | + 'config' => array ( |
|
748 | 748 | 'type' => 'input', |
749 | 749 | 'size' => 80, |
750 | 750 | 'eval' => 'trim', |
751 | 751 | ), |
752 | 752 | ), |
753 | - 'submitter_email_xpath' => array( |
|
753 | + 'submitter_email_xpath' => array ( |
|
754 | 754 | 'exclude' => 1, |
755 | 755 | 'l10n_mode' => 'exclude', |
756 | 756 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_email', |
757 | - 'config' => array( |
|
757 | + 'config' => array ( |
|
758 | 758 | 'type' => 'input', |
759 | 759 | 'size' => 80, |
760 | 760 | 'eval' => 'trim', |
761 | 761 | ), |
762 | 762 | ), |
763 | - 'submitter_notice_xpath' => array( |
|
763 | + 'submitter_notice_xpath' => array ( |
|
764 | 764 | 'exclude' => 1, |
765 | 765 | 'l10n_mode' => 'exclude', |
766 | 766 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_notice', |
767 | - 'config' => array( |
|
767 | + 'config' => array ( |
|
768 | 768 | 'type' => 'input', |
769 | 769 | 'size' => 80, |
770 | 770 | 'eval' => 'trim', |
771 | 771 | ), |
772 | 772 | ), |
773 | - 'original_source_title_xpath' => array( |
|
773 | + 'original_source_title_xpath' => array ( |
|
774 | 774 | 'exclude' => 1, |
775 | 775 | 'l10n_mode' => 'exclude', |
776 | 776 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.original_source_title_xpath', |
777 | - 'config' => array( |
|
777 | + 'config' => array ( |
|
778 | 778 | 'type' => 'input', |
779 | 779 | 'size' => 80, |
780 | 780 | 'eval' => 'trim', |
781 | 781 | ), |
782 | 782 | ), |
783 | - 'creator_xpath' => array( |
|
783 | + 'creator_xpath' => array ( |
|
784 | 784 | 'exclude' => 1, |
785 | 785 | 'l10n_mode' => 'exclude', |
786 | 786 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.creator_xpath', |
787 | - 'config' => array( |
|
787 | + 'config' => array ( |
|
788 | 788 | 'type' => 'input', |
789 | 789 | 'size' => 80, |
790 | 790 | 'eval' => 'trim', |
791 | 791 | ), |
792 | 792 | ), |
793 | - 'creation_date_xpath' => array( |
|
793 | + 'creation_date_xpath' => array ( |
|
794 | 794 | 'exclude' => 1, |
795 | 795 | 'l10n_mode' => 'exclude', |
796 | 796 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.creation_date_xpath', |
797 | - 'config' => array( |
|
797 | + 'config' => array ( |
|
798 | 798 | 'type' => 'input', |
799 | 799 | 'size' => 80, |
800 | 800 | 'eval' => 'trim', |
801 | 801 | ), |
802 | 802 | ), |
803 | 803 | |
804 | - 'repository_creation_date_xpath' => array( |
|
804 | + 'repository_creation_date_xpath' => array ( |
|
805 | 805 | 'exclude' => 1, |
806 | 806 | 'l10n_mode' => 'exclude', |
807 | 807 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.repository_creation_date_xpath', |
808 | - 'config' => array( |
|
808 | + 'config' => array ( |
|
809 | 809 | 'type' => 'input', |
810 | 810 | 'size' => 80, |
811 | 811 | 'eval' => 'trim', |
812 | 812 | ), |
813 | 813 | ), |
814 | - 'repository_last_mod_date_xpath' => array( |
|
814 | + 'repository_last_mod_date_xpath' => array ( |
|
815 | 815 | 'exclude' => 1, |
816 | 816 | 'l10n_mode' => 'exclude', |
817 | 817 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.repository_last_mod_date_xpath', |
818 | - 'config' => array( |
|
818 | + 'config' => array ( |
|
819 | 819 | 'type' => 'input', |
820 | 820 | 'size' => 80, |
821 | 821 | 'eval' => 'trim', |
822 | 822 | ), |
823 | 823 | ), |
824 | - 'deposit_license_xpath' => array( |
|
824 | + 'deposit_license_xpath' => array ( |
|
825 | 825 | 'exclude' => 1, |
826 | 826 | 'l10n_mode' => 'exclude', |
827 | 827 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.deposit_license_xpath', |
828 | - 'config' => array( |
|
828 | + 'config' => array ( |
|
829 | 829 | 'type' => 'input', |
830 | 830 | 'size' => 80, |
831 | 831 | 'eval' => 'trim', |
832 | 832 | ), |
833 | 833 | ), |
834 | - 'all_notes_xpath' => array( |
|
834 | + 'all_notes_xpath' => array ( |
|
835 | 835 | 'exclude' => 1, |
836 | 836 | 'l10n_mode' => 'exclude', |
837 | 837 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.all_notes_xpath', |
838 | - 'config' => array( |
|
838 | + 'config' => array ( |
|
839 | 839 | 'type' => 'input', |
840 | 840 | 'size' => 80, |
841 | 841 | 'eval' => 'trim', |
842 | 842 | ), |
843 | 843 | ), |
844 | - 'private_notes_xpath' => array( |
|
844 | + 'private_notes_xpath' => array ( |
|
845 | 845 | 'exclude' => 1, |
846 | 846 | 'l10n_mode' => 'exclude', |
847 | 847 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.private_notes_xpath', |
848 | - 'config' => array( |
|
848 | + 'config' => array ( |
|
849 | 849 | 'type' => 'input', |
850 | 850 | 'size' => 80, |
851 | 851 | 'eval' => 'trim', |
852 | 852 | ), |
853 | 853 | ), |
854 | - 'person_xpath' => array( |
|
854 | + 'person_xpath' => array ( |
|
855 | 855 | 'exclude' => 1, |
856 | 856 | 'l10n_mode' => 'exclude', |
857 | 857 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_xpath', |
858 | - 'config' => array( |
|
858 | + 'config' => array ( |
|
859 | 859 | 'type' => 'input', |
860 | 860 | 'size' => 80, |
861 | 861 | 'eval' => 'trim', |
862 | 862 | ), |
863 | 863 | ), |
864 | - 'person_family_xpath' => array( |
|
864 | + 'person_family_xpath' => array ( |
|
865 | 865 | 'exclude' => 1, |
866 | 866 | 'l10n_mode' => 'exclude', |
867 | 867 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_family_xpath', |
868 | - 'config' => array( |
|
868 | + 'config' => array ( |
|
869 | 869 | 'type' => 'input', |
870 | 870 | 'size' => 80, |
871 | 871 | 'eval' => 'trim', |
872 | 872 | ), |
873 | 873 | ), |
874 | - 'person_given_xpath' => array( |
|
874 | + 'person_given_xpath' => array ( |
|
875 | 875 | 'exclude' => 1, |
876 | 876 | 'l10n_mode' => 'exclude', |
877 | 877 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_given_xpath', |
878 | - 'config' => array( |
|
878 | + 'config' => array ( |
|
879 | 879 | 'type' => 'input', |
880 | 880 | 'size' => 80, |
881 | 881 | 'eval' => 'trim', |
882 | 882 | ), |
883 | 883 | ), |
884 | - 'person_role_xpath' => array( |
|
884 | + 'person_role_xpath' => array ( |
|
885 | 885 | 'exclude' => 1, |
886 | 886 | 'l10n_mode' => 'exclude', |
887 | 887 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_role_xpath', |
888 | - 'config' => array( |
|
888 | + 'config' => array ( |
|
889 | 889 | 'type' => 'input', |
890 | 890 | 'size' => 80, |
891 | 891 | 'eval' => 'trim', |
892 | 892 | ), |
893 | 893 | ), |
894 | - 'person_fis_identifier_xpath' => array( |
|
894 | + 'person_fis_identifier_xpath' => array ( |
|
895 | 895 | 'exclude' => 1, |
896 | 896 | 'l10n_mode' => 'exclude', |
897 | 897 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_fis_identifier_xpath', |
898 | - 'config' => array( |
|
898 | + 'config' => array ( |
|
899 | 899 | 'type' => 'input', |
900 | 900 | 'size' => 80, |
901 | 901 | 'eval' => 'trim', |
902 | 902 | ), |
903 | 903 | ), |
904 | - 'person_affiliation_xpath' => array( |
|
904 | + 'person_affiliation_xpath' => array ( |
|
905 | 905 | 'exclude' => 1, |
906 | 906 | 'l10n_mode' => 'exclude', |
907 | 907 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_affiliation_xpath', |
908 | - 'config' => array( |
|
908 | + 'config' => array ( |
|
909 | 909 | 'type' => 'input', |
910 | 910 | 'size' => 80, |
911 | 911 | 'eval' => 'trim', |
912 | 912 | ), |
913 | 913 | ), |
914 | - 'person_affiliation_identifier_xpath' => array( |
|
914 | + 'person_affiliation_identifier_xpath' => array ( |
|
915 | 915 | 'exclude' => 1, |
916 | 916 | 'l10n_mode' => 'exclude', |
917 | 917 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_affiliation_identifier_xpath', |
918 | - 'config' => array( |
|
918 | + 'config' => array ( |
|
919 | 919 | 'type' => 'input', |
920 | 920 | 'size' => 80, |
921 | 921 | 'eval' => 'trim', |
922 | 922 | ), |
923 | 923 | ), |
924 | - 'person_author_role' => array( |
|
924 | + 'person_author_role' => array ( |
|
925 | 925 | 'exclude' => 1, |
926 | 926 | 'l10n_mode' => 'exclude', |
927 | 927 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_author_role', |
928 | - 'config' => array( |
|
928 | + 'config' => array ( |
|
929 | 929 | 'type' => 'input', |
930 | 930 | 'size' => 30, |
931 | 931 | 'eval' => 'trim', |
932 | 932 | ), |
933 | 933 | ), |
934 | - 'person_publisher_role' => array( |
|
934 | + 'person_publisher_role' => array ( |
|
935 | 935 | 'exclude' => 1, |
936 | 936 | 'l10n_mode' => 'exclude', |
937 | 937 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.person_publisher_role', |
938 | - 'config' => array( |
|
938 | + 'config' => array ( |
|
939 | 939 | 'type' => 'input', |
940 | 940 | 'size' => 30, |
941 | 941 | 'eval' => 'trim', |
942 | 942 | ), |
943 | 943 | ), |
944 | - 'validation_xpath' => array( |
|
944 | + 'validation_xpath' => array ( |
|
945 | 945 | 'exclude' => 1, |
946 | 946 | 'l10n_mode' => 'exclude', |
947 | 947 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.validation_xpath', |
948 | - 'config' => array( |
|
948 | + 'config' => array ( |
|
949 | 949 | 'type' => 'input', |
950 | 950 | 'size' => 80, |
951 | 951 | 'eval' => 'trim', |
952 | 952 | ), |
953 | 953 | ), |
954 | - 'fis_id_xpath' => array( |
|
954 | + 'fis_id_xpath' => array ( |
|
955 | 955 | 'exclude' => 1, |
956 | 956 | 'l10n_mode' => 'exclude', |
957 | 957 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fis_id_xpath', |
958 | - 'config' => array( |
|
958 | + 'config' => array ( |
|
959 | 959 | 'type' => 'input', |
960 | 960 | 'size' => 80, |
961 | 961 | 'eval' => 'trim', |
962 | 962 | ), |
963 | 963 | ), |
964 | - 'source_details_xpaths' => array( |
|
964 | + 'source_details_xpaths' => array ( |
|
965 | 965 | 'exclude' => 1, |
966 | 966 | 'l10n_mode' => 'exclude', |
967 | 967 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.source_details_xpaths', |
968 | - 'config' => array( |
|
968 | + 'config' => array ( |
|
969 | 969 | 'type' => 'input', |
970 | 970 | 'size' => 80, |
971 | 971 | 'eval' => 'trim', |
972 | 972 | ), |
973 | 973 | ), |
974 | - 'mypublications_update_notification_subject' => array( |
|
974 | + 'mypublications_update_notification_subject' => array ( |
|
975 | 975 | 'exclude' => 1, |
976 | 976 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_update_notification_subject', |
977 | - 'config' => array( |
|
977 | + 'config' => array ( |
|
978 | 978 | 'type' => 'input', |
979 | 979 | 'size' => 50, |
980 | 980 | 'eval' => 'trim', |
981 | 981 | ), |
982 | 982 | ), |
983 | - 'admin_deposit_license_notification_subject' => array( |
|
983 | + 'admin_deposit_license_notification_subject' => array ( |
|
984 | 984 | 'exclude' => 1, |
985 | 985 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_deposit_license_notification_subject', |
986 | - 'config' => array( |
|
986 | + 'config' => array ( |
|
987 | 987 | 'type' => 'input', |
988 | 988 | 'size' => 50, |
989 | 989 | 'eval' => 'trim', |
990 | 990 | ), |
991 | 991 | ), |
992 | - 'mypublications_update_notification_body' => array( |
|
992 | + 'mypublications_update_notification_body' => array ( |
|
993 | 993 | 'exclude' => 1, |
994 | 994 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_update_notification_body', |
995 | - 'config' => array( |
|
995 | + 'config' => array ( |
|
996 | 996 | 'type' => 'text', |
997 | 997 | 'cols' => 40, |
998 | 998 | 'rows' => 15, |
@@ -1000,10 +1000,10 @@ discard block |
||
1000 | 1000 | 'enableRichtext' => true, |
1001 | 1001 | ), |
1002 | 1002 | ), |
1003 | - 'admin_deposit_license_notification_body' => array( |
|
1003 | + 'admin_deposit_license_notification_body' => array ( |
|
1004 | 1004 | 'exclude' => 1, |
1005 | 1005 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_deposit_license_notification_body', |
1006 | - 'config' => array( |
|
1006 | + 'config' => array ( |
|
1007 | 1007 | 'type' => 'text', |
1008 | 1008 | 'cols' => 40, |
1009 | 1009 | 'rows' => 15, |
@@ -1011,19 +1011,19 @@ discard block |
||
1011 | 1011 | 'enableRichtext' => true, |
1012 | 1012 | ), |
1013 | 1013 | ), |
1014 | - 'mypublications_new_notification_subject' => array( |
|
1014 | + 'mypublications_new_notification_subject' => array ( |
|
1015 | 1015 | 'exclude' => 1, |
1016 | 1016 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_new_notification_subject', |
1017 | - 'config' => array( |
|
1017 | + 'config' => array ( |
|
1018 | 1018 | 'type' => 'input', |
1019 | 1019 | 'size' => 50, |
1020 | 1020 | 'eval' => 'trim', |
1021 | 1021 | ), |
1022 | 1022 | ), |
1023 | - 'mypublications_new_notification_body' => array( |
|
1023 | + 'mypublications_new_notification_body' => array ( |
|
1024 | 1024 | 'exclude' => 1, |
1025 | 1025 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.mypublications_new_notification_body', |
1026 | - 'config' => array( |
|
1026 | + 'config' => array ( |
|
1027 | 1027 | 'type' => 'text', |
1028 | 1028 | 'cols' => 40, |
1029 | 1029 | 'rows' => 15, |
@@ -1036,8 +1036,8 @@ discard block |
||
1036 | 1036 | 'l10n_mode' => 'exclude', |
1037 | 1037 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.output_transformation', |
1038 | 1038 | 'config' => [ |
1039 | - 'items' => array( |
|
1040 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1039 | + 'items' => array ( |
|
1040 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1041 | 1041 | ), |
1042 | 1042 | 'type' => 'select', |
1043 | 1043 | 'renderType' => 'selectSingle', |
@@ -1052,8 +1052,8 @@ discard block |
||
1052 | 1052 | 'l10n_mode' => 'exclude', |
1053 | 1053 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.input_transformation', |
1054 | 1054 | 'config' => [ |
1055 | - 'items' => array( |
|
1056 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1055 | + 'items' => array ( |
|
1056 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1057 | 1057 | ), |
1058 | 1058 | 'type' => 'select', |
1059 | 1059 | 'renderType' => 'selectSingle', |
@@ -1068,8 +1068,8 @@ discard block |
||
1068 | 1068 | 'l10n_mode' => 'exclude', |
1069 | 1069 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_transformation', |
1070 | 1070 | 'config' => [ |
1071 | - 'items' => array( |
|
1072 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1071 | + 'items' => array ( |
|
1072 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1073 | 1073 | ), |
1074 | 1074 | 'type' => 'select', |
1075 | 1075 | 'renderType' => 'selectSingle', |
@@ -1079,13 +1079,13 @@ discard block |
||
1079 | 1079 | 'default' => 0, |
1080 | 1080 | ], |
1081 | 1081 | ], |
1082 | - 'crossref_transformation' => array( |
|
1082 | + 'crossref_transformation' => array ( |
|
1083 | 1083 | 'exclude' => 1, |
1084 | 1084 | 'l10n_mode' => 'exclude', |
1085 | 1085 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.crossref_transformation', |
1086 | - 'config' => array( |
|
1087 | - 'items' => array( |
|
1088 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1086 | + 'config' => array ( |
|
1087 | + 'items' => array ( |
|
1088 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1089 | 1089 | ), |
1090 | 1090 | 'type' => 'select', |
1091 | 1091 | 'renderType' => 'selectSingle', |
@@ -1095,13 +1095,13 @@ discard block |
||
1095 | 1095 | 'default' => 0, |
1096 | 1096 | ), |
1097 | 1097 | ), |
1098 | - 'datacite_transformation' => array( |
|
1098 | + 'datacite_transformation' => array ( |
|
1099 | 1099 | 'exclude' => 1, |
1100 | 1100 | 'l10n_mode' => 'exclude', |
1101 | 1101 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.datacite_transformation', |
1102 | - 'config' => array( |
|
1103 | - 'items' => array( |
|
1104 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1102 | + 'config' => array ( |
|
1103 | + 'items' => array ( |
|
1104 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1105 | 1105 | ), |
1106 | 1106 | 'type' => 'select', |
1107 | 1107 | 'renderType' => 'selectSingle', |
@@ -1111,13 +1111,13 @@ discard block |
||
1111 | 1111 | 'default' => 0, |
1112 | 1112 | ), |
1113 | 1113 | ), |
1114 | - 'k10plus_transformation' => array( |
|
1114 | + 'k10plus_transformation' => array ( |
|
1115 | 1115 | 'exclude' => 1, |
1116 | 1116 | 'l10n_mode' => 'exclude', |
1117 | 1117 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.k10plus_transformation', |
1118 | - 'config' => array( |
|
1119 | - 'items' => array( |
|
1120 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1118 | + 'config' => array ( |
|
1119 | + 'items' => array ( |
|
1120 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1121 | 1121 | ), |
1122 | 1122 | 'type' => 'select', |
1123 | 1123 | 'renderType' => 'selectSingle', |
@@ -1127,13 +1127,13 @@ discard block |
||
1127 | 1127 | 'default' => 0, |
1128 | 1128 | ), |
1129 | 1129 | ), |
1130 | - 'pubmed_transformation' => array( |
|
1130 | + 'pubmed_transformation' => array ( |
|
1131 | 1131 | 'exclude' => 1, |
1132 | 1132 | 'l10n_mode' => 'exclude', |
1133 | 1133 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.pubmed_transformation', |
1134 | - 'config' => array( |
|
1135 | - 'items' => array( |
|
1136 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1134 | + 'config' => array ( |
|
1135 | + 'items' => array ( |
|
1136 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1137 | 1137 | ), |
1138 | 1138 | 'type' => 'select', |
1139 | 1139 | 'renderType' => 'selectSingle', |
@@ -1143,13 +1143,13 @@ discard block |
||
1143 | 1143 | 'default' => 0, |
1144 | 1144 | ), |
1145 | 1145 | ), |
1146 | - 'bibtex_transformation' => array( |
|
1146 | + 'bibtex_transformation' => array ( |
|
1147 | 1147 | 'exclude' => 1, |
1148 | 1148 | 'l10n_mode' => 'exclude', |
1149 | 1149 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.bibtex_transformation', |
1150 | - 'config' => array( |
|
1151 | - 'items' => array( |
|
1152 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1150 | + 'config' => array ( |
|
1151 | + 'items' => array ( |
|
1152 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1153 | 1153 | ), |
1154 | 1154 | 'type' => 'select', |
1155 | 1155 | 'renderType' => 'selectSingle', |
@@ -1159,13 +1159,13 @@ discard block |
||
1159 | 1159 | 'default' => 0, |
1160 | 1160 | ), |
1161 | 1161 | ), |
1162 | - 'riswos_transformation' => array( |
|
1162 | + 'riswos_transformation' => array ( |
|
1163 | 1163 | 'exclude' => 1, |
1164 | 1164 | 'l10n_mode' => 'exclude', |
1165 | 1165 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.riswos_transformation', |
1166 | - 'config' => array( |
|
1167 | - 'items' => array( |
|
1168 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation',0) |
|
1166 | + 'config' => array ( |
|
1167 | + 'items' => array ( |
|
1168 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.choose_transformation', 0) |
|
1169 | 1169 | ), |
1170 | 1170 | 'type' => 'select', |
1171 | 1171 | 'renderType' => 'selectSingle', |
@@ -1175,95 +1175,95 @@ discard block |
||
1175 | 1175 | 'default' => 0, |
1176 | 1176 | ), |
1177 | 1177 | ), |
1178 | - 'send_admin_deposit_license_notification' => array( |
|
1178 | + 'send_admin_deposit_license_notification' => array ( |
|
1179 | 1179 | 'exclude' => 1, |
1180 | 1180 | 'l10n_mode' => 'exclude', |
1181 | 1181 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.send_admin_deposit_license_notification', |
1182 | - 'config' => array( |
|
1182 | + 'config' => array ( |
|
1183 | 1183 | 'type' => 'check', |
1184 | 1184 | 'default' => 0, |
1185 | 1185 | ), |
1186 | 1186 | ), |
1187 | - 'active_messaging_suggestion_accept_url' => array( |
|
1187 | + 'active_messaging_suggestion_accept_url' => array ( |
|
1188 | 1188 | 'exclude' => 1, |
1189 | 1189 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_accept_url', |
1190 | - 'config' => array( |
|
1190 | + 'config' => array ( |
|
1191 | 1191 | 'type' => 'input', |
1192 | 1192 | 'size' => 50, |
1193 | 1193 | 'eval' => 'trim', |
1194 | 1194 | ), |
1195 | 1195 | ), |
1196 | - 'active_messaging_suggestion_decline_url' => array( |
|
1196 | + 'active_messaging_suggestion_decline_url' => array ( |
|
1197 | 1197 | 'exclude' => 1, |
1198 | 1198 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_decline_url', |
1199 | - 'config' => array( |
|
1199 | + 'config' => array ( |
|
1200 | 1200 | 'type' => 'input', |
1201 | 1201 | 'size' => 50, |
1202 | 1202 | 'eval' => 'trim', |
1203 | 1203 | ), |
1204 | 1204 | ), |
1205 | - 'active_messaging_new_document_url' => array( |
|
1205 | + 'active_messaging_new_document_url' => array ( |
|
1206 | 1206 | 'exclude' => 1, |
1207 | 1207 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_new_document_url', |
1208 | - 'config' => array( |
|
1208 | + 'config' => array ( |
|
1209 | 1209 | 'type' => 'input', |
1210 | 1210 | 'size' => 50, |
1211 | 1211 | 'eval' => 'trim', |
1212 | 1212 | ), |
1213 | 1213 | ), |
1214 | - 'active_messaging_changed_document_url' => array( |
|
1214 | + 'active_messaging_changed_document_url' => array ( |
|
1215 | 1215 | 'exclude' => 1, |
1216 | 1216 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_changed_document_url', |
1217 | - 'config' => array( |
|
1217 | + 'config' => array ( |
|
1218 | 1218 | 'type' => 'input', |
1219 | 1219 | 'size' => 50, |
1220 | 1220 | 'eval' => 'trim', |
1221 | 1221 | ), |
1222 | 1222 | ), |
1223 | - 'active_messaging_suggestion_accept_url_body' => array( |
|
1223 | + 'active_messaging_suggestion_accept_url_body' => array ( |
|
1224 | 1224 | 'exclude' => 1, |
1225 | 1225 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_accept_url_body', |
1226 | - 'config' => array( |
|
1226 | + 'config' => array ( |
|
1227 | 1227 | 'type' => 'text', |
1228 | 1228 | 'cols' => 40, |
1229 | 1229 | 'rows' => 15, |
1230 | 1230 | 'eval' => 'trim', |
1231 | 1231 | ), |
1232 | 1232 | ), |
1233 | - 'active_messaging_suggestion_decline_url_body' => array( |
|
1233 | + 'active_messaging_suggestion_decline_url_body' => array ( |
|
1234 | 1234 | 'exclude' => 1, |
1235 | 1235 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_suggestion_decline_url_body', |
1236 | - 'config' => array( |
|
1236 | + 'config' => array ( |
|
1237 | 1237 | 'type' => 'text', |
1238 | 1238 | 'cols' => 40, |
1239 | 1239 | 'rows' => 15, |
1240 | 1240 | 'eval' => 'trim', |
1241 | 1241 | ), |
1242 | 1242 | ), |
1243 | - 'active_messaging_new_document_url_body' => array( |
|
1243 | + 'active_messaging_new_document_url_body' => array ( |
|
1244 | 1244 | 'exclude' => 1, |
1245 | 1245 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_new_document_url_body', |
1246 | - 'config' => array( |
|
1246 | + 'config' => array ( |
|
1247 | 1247 | 'type' => 'text', |
1248 | 1248 | 'cols' => 40, |
1249 | 1249 | 'rows' => 15, |
1250 | 1250 | 'eval' => 'trim', |
1251 | 1251 | ), |
1252 | 1252 | ), |
1253 | - 'active_messaging_changed_document_url_body' => array( |
|
1253 | + 'active_messaging_changed_document_url_body' => array ( |
|
1254 | 1254 | 'exclude' => 1, |
1255 | 1255 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.active_messaging_changed_document_url_body', |
1256 | - 'config' => array( |
|
1256 | + 'config' => array ( |
|
1257 | 1257 | 'type' => 'text', |
1258 | 1258 | 'cols' => 40, |
1259 | 1259 | 'rows' => 15, |
1260 | 1260 | 'eval' => 'trim', |
1261 | 1261 | ), |
1262 | 1262 | ), |
1263 | - 'fis_mapping' => array( |
|
1263 | + 'fis_mapping' => array ( |
|
1264 | 1264 | 'exclude' => 1, |
1265 | 1265 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fis_mapping', |
1266 | - 'config' => array( |
|
1266 | + 'config' => array ( |
|
1267 | 1267 | 'type' => 'text', |
1268 | 1268 | 'cols' => 40, |
1269 | 1269 | 'rows' => 15, |
@@ -16,8 +16,8 @@ discard block |
||
16 | 16 | die('Access denied.'); |
17 | 17 | } |
18 | 18 | |
19 | -return array( |
|
20 | - 'ctrl' => array( |
|
19 | +return array ( |
|
20 | + 'ctrl' => array ( |
|
21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject', |
22 | 22 | 'label' => 'name', |
23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
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,75 +36,75 @@ discard block |
||
36 | 36 | 'searchFields' => 'name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, help_text, object_type', |
37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
38 | 38 | ), |
39 | - 'interface' => array( |
|
39 | + 'interface' => array ( |
|
40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, help_text, object_type', |
41 | 41 | ), |
42 | - 'types' => array( |
|
43 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, help_text, object_type, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
42 | + 'types' => array ( |
|
43 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, help_text, object_type, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
44 | 44 | ), |
45 | - 'palettes' => array( |
|
46 | - '1' => array('showitem' => ''), |
|
45 | + 'palettes' => array ( |
|
46 | + '1' => array ('showitem' => ''), |
|
47 | 47 | ), |
48 | - 'columns' => array( |
|
48 | + 'columns' => array ( |
|
49 | 49 | |
50 | - 'sys_language_uid' => array( |
|
50 | + 'sys_language_uid' => array ( |
|
51 | 51 | 'exclude' => 1, |
52 | 52 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
53 | - 'config' => array( |
|
53 | + 'config' => array ( |
|
54 | 54 | 'type' => 'select', |
55 | 55 | 'renderType' => 'selectSingle', |
56 | 56 | 'foreign_table' => 'sys_language', |
57 | 57 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
58 | - 'items' => array( |
|
59 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
60 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
58 | + 'items' => array ( |
|
59 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
60 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
61 | 61 | ), |
62 | 62 | 'default' => 0, |
63 | 63 | ), |
64 | 64 | ), |
65 | - 'l10n_parent' => array( |
|
65 | + 'l10n_parent' => array ( |
|
66 | 66 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
67 | 67 | 'exclude' => 1, |
68 | 68 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
69 | - 'config' => array( |
|
69 | + 'config' => array ( |
|
70 | 70 | 'type' => 'select', |
71 | 71 | 'renderType' => 'selectSingle', |
72 | - 'items' => array( |
|
73 | - array('', 0), |
|
72 | + 'items' => array ( |
|
73 | + array ('', 0), |
|
74 | 74 | ), |
75 | 75 | 'foreign_table' => 'tx_dpf_domain_model_metadataobject', |
76 | 76 | 'foreign_table_where' => 'AND tx_dpf_domain_model_metadataobject.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadataobject.sys_language_uid IN (-1,0)', |
77 | 77 | 'default' => 0, |
78 | 78 | ), |
79 | 79 | ), |
80 | - 'l10n_diffsource' => array( |
|
81 | - 'config' => array( |
|
80 | + 'l10n_diffsource' => array ( |
|
81 | + 'config' => array ( |
|
82 | 82 | 'type' => 'passthrough', |
83 | 83 | ), |
84 | 84 | ), |
85 | 85 | |
86 | - 't3ver_label' => array( |
|
86 | + 't3ver_label' => array ( |
|
87 | 87 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
88 | - 'config' => array( |
|
88 | + 'config' => array ( |
|
89 | 89 | 'type' => 'input', |
90 | 90 | 'size' => 30, |
91 | 91 | 'max' => 255, |
92 | 92 | ), |
93 | 93 | ), |
94 | 94 | |
95 | - 'hidden' => array( |
|
95 | + 'hidden' => array ( |
|
96 | 96 | 'exclude' => 1, |
97 | 97 | 'l10n_mode' => 'exclude', |
98 | 98 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
99 | - 'config' => array( |
|
99 | + 'config' => array ( |
|
100 | 100 | 'type' => 'check', |
101 | 101 | ), |
102 | 102 | ), |
103 | - 'starttime' => array( |
|
103 | + 'starttime' => array ( |
|
104 | 104 | 'exclude' => 1, |
105 | 105 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
106 | - 'config' => array( |
|
107 | - 'behaviour' => array( |
|
106 | + 'config' => array ( |
|
107 | + 'behaviour' => array ( |
|
108 | 108 | 'allowLanguageSynchronization' => true |
109 | 109 | ), |
110 | 110 | 'type' => 'input', |
@@ -113,16 +113,16 @@ discard block |
||
113 | 113 | 'eval' => 'datetime', |
114 | 114 | 'checkbox' => 0, |
115 | 115 | 'default' => 0, |
116 | - 'range' => array( |
|
116 | + 'range' => array ( |
|
117 | 117 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
118 | 118 | ), |
119 | 119 | ), |
120 | 120 | ), |
121 | - 'endtime' => array( |
|
121 | + 'endtime' => array ( |
|
122 | 122 | 'exclude' => 1, |
123 | 123 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
124 | - 'config' => array( |
|
125 | - 'behaviour' => array( |
|
124 | + 'config' => array ( |
|
125 | + 'behaviour' => array ( |
|
126 | 126 | 'allowLanguageSynchronization' => true |
127 | 127 | ), |
128 | 128 | 'type' => 'input', |
@@ -131,175 +131,175 @@ discard block |
||
131 | 131 | 'eval' => 'datetime', |
132 | 132 | 'checkbox' => 0, |
133 | 133 | 'default' => 0, |
134 | - 'range' => array( |
|
134 | + 'range' => array ( |
|
135 | 135 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
136 | 136 | ), |
137 | 137 | ), |
138 | 138 | ), |
139 | 139 | |
140 | - 'name' => array( |
|
140 | + 'name' => array ( |
|
141 | 141 | 'exclude' => 1, |
142 | 142 | 'l10n_mode' => 'exclude', |
143 | 143 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.name', |
144 | - 'config' => array( |
|
144 | + 'config' => array ( |
|
145 | 145 | 'type' => 'input', |
146 | 146 | 'size' => 30, |
147 | 147 | 'eval' => 'trim', |
148 | 148 | ), |
149 | 149 | ), |
150 | - 'display_name' => array( |
|
150 | + 'display_name' => array ( |
|
151 | 151 | 'exclude' => 1, |
152 | 152 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.display_name', |
153 | - 'config' => array( |
|
153 | + 'config' => array ( |
|
154 | 154 | 'type' => 'input', |
155 | 155 | 'size' => 30, |
156 | 156 | 'eval' => 'trim', |
157 | 157 | ), |
158 | 158 | ), |
159 | - 'max_iteration' => array( |
|
159 | + 'max_iteration' => array ( |
|
160 | 160 | 'exclude' => 1, |
161 | 161 | 'l10n_mode' => 'exclude', |
162 | 162 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_iteration', |
163 | - 'config' => array( |
|
163 | + 'config' => array ( |
|
164 | 164 | 'type' => 'input', |
165 | 165 | 'size' => 4, |
166 | 166 | 'eval' => 'int', |
167 | 167 | ), |
168 | 168 | ), |
169 | - 'mandatory' => array( |
|
169 | + 'mandatory' => array ( |
|
170 | 170 | 'exclude' => 1, |
171 | 171 | 'l10n_mode' => 'exclude', |
172 | 172 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory', |
173 | - 'config' => array( |
|
173 | + 'config' => array ( |
|
174 | 174 | 'type' => 'select', |
175 | 175 | 'renderType' => 'selectSingle', |
176 | 176 | 'size' => 1, |
177 | 177 | 'maxitems' => 1, |
178 | - 'items' => array( |
|
179 | - array('',''), |
|
180 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY), |
|
181 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY), |
|
178 | + 'items' => array ( |
|
179 | + array ('', ''), |
|
180 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY), |
|
181 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY), |
|
182 | 182 | ), |
183 | 183 | ), |
184 | 184 | ), |
185 | - 'mapping' => array( |
|
185 | + 'mapping' => array ( |
|
186 | 186 | 'exclude' => 1, |
187 | 187 | 'l10n_mode' => 'exclude', |
188 | 188 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mapping', |
189 | - 'config' => array( |
|
189 | + 'config' => array ( |
|
190 | 190 | 'type' => 'input', |
191 | 191 | 'size' => 30, |
192 | 192 | 'eval' => 'trim', |
193 | 193 | ), |
194 | 194 | ), |
195 | - 'json_mapping' => array( |
|
195 | + 'json_mapping' => array ( |
|
196 | 196 | 'exclude' => 1, |
197 | 197 | 'l10n_mode' => 'exclude', |
198 | 198 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.json_mapping', |
199 | - 'config' => array( |
|
199 | + 'config' => array ( |
|
200 | 200 | 'type' => 'input', |
201 | 201 | 'size' => 30, |
202 | 202 | 'eval' => 'trim', |
203 | 203 | ), |
204 | 204 | ), |
205 | - 'data_type' => array( |
|
205 | + 'data_type' => array ( |
|
206 | 206 | 'exclude' => 1, |
207 | 207 | 'l10n_mode' => 'exclude', |
208 | 208 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type', |
209 | - 'config' => array( |
|
209 | + 'config' => array ( |
|
210 | 210 | 'type' => 'select', |
211 | 211 | 'renderType' => 'selectSingle', |
212 | - 'items' => array( |
|
213 | - array('', ''), |
|
214 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.regexp', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_REGEXP), |
|
215 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.date', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_DATE), |
|
212 | + 'items' => array ( |
|
213 | + array ('', ''), |
|
214 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.regexp', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_REGEXP), |
|
215 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.date', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_DATE), |
|
216 | 216 | ), |
217 | 217 | 'size' => 1, |
218 | 218 | 'maxitems' => 1, |
219 | 219 | 'eval' => '', |
220 | 220 | ), |
221 | 221 | ), |
222 | - 'validation' => array( |
|
222 | + 'validation' => array ( |
|
223 | 223 | 'exclude' => 1, |
224 | 224 | 'l10n_mode' => 'exclude', |
225 | 225 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.validation', |
226 | - 'config' => array( |
|
226 | + 'config' => array ( |
|
227 | 227 | 'type' => 'input', |
228 | 228 | 'size' => 30, |
229 | 229 | 'eval' => 'trim', |
230 | 230 | ), |
231 | 231 | ), |
232 | - 'mods_extension' => array( |
|
232 | + 'mods_extension' => array ( |
|
233 | 233 | 'exclude' => 1, |
234 | 234 | 'l10n_mode' => 'exclude', |
235 | 235 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mods_extension', |
236 | - 'config' => array( |
|
236 | + 'config' => array ( |
|
237 | 237 | 'type' => 'check', |
238 | 238 | 'default' => 0, |
239 | 239 | ), |
240 | 240 | ), |
241 | - 'access_restriction_roles' => array( |
|
241 | + 'access_restriction_roles' => array ( |
|
242 | 242 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.access_restriction_roles', |
243 | - 'config' => array( |
|
243 | + 'config' => array ( |
|
244 | 244 | 'type' => 'select', |
245 | 245 | 'renderType' => 'selectMultipleSideBySide', |
246 | 246 | 'size' => 2, |
247 | 247 | 'maxitems' => 2, |
248 | - 'items' => array( |
|
249 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER), |
|
250 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN), |
|
248 | + 'items' => array ( |
|
249 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER), |
|
250 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN), |
|
251 | 251 | ), |
252 | 252 | ), |
253 | 253 | ), |
254 | - 'consent' => array( |
|
254 | + 'consent' => 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_metadataobject.consent', |
258 | - 'config' => array( |
|
258 | + 'config' => array ( |
|
259 | 259 | 'type' => 'check', |
260 | 260 | 'default' => 0, |
261 | 261 | ), |
262 | 262 | ), |
263 | - 'input_field' => array( |
|
263 | + 'input_field' => array ( |
|
264 | 264 | 'onChange' => 'reload', |
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_metadataobject.input_field', |
268 | - 'config' => array( |
|
268 | + 'config' => array ( |
|
269 | 269 | 'onChange' => 'reload', |
270 | 270 | 'type' => 'select', |
271 | 271 | 'renderType' => 'selectSingle', |
272 | - 'items' => array( |
|
273 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input), |
|
274 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea), |
|
275 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select), |
|
276 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox), |
|
277 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden), |
|
278 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.inputDropdown', \EWW\Dpf\Domain\Model\MetadataObject::INPUTDROPDOWN), |
|
279 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.markdownTextarea', \EWW\Dpf\Domain\Model\MetadataObject::textareaMarkdown), |
|
280 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.fileUpload', \EWW\Dpf\Domain\Model\MetadataObject::FILE_UPLOAD) |
|
272 | + 'items' => array ( |
|
273 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input), |
|
274 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea), |
|
275 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select), |
|
276 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox), |
|
277 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden), |
|
278 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.inputDropdown', \EWW\Dpf\Domain\Model\MetadataObject::INPUTDROPDOWN), |
|
279 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.markdownTextarea', \EWW\Dpf\Domain\Model\MetadataObject::textareaMarkdown), |
|
280 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.fileUpload', \EWW\Dpf\Domain\Model\MetadataObject::FILE_UPLOAD) |
|
281 | 281 | ), |
282 | 282 | 'size' => 1, |
283 | 283 | 'maxitems' => 1, |
284 | 284 | 'eval' => '', |
285 | 285 | ), |
286 | 286 | ), |
287 | - 'deposit_license' => array( |
|
288 | - 'displayCond' => array( |
|
289 | - 'OR' => array( |
|
287 | + 'deposit_license' => array ( |
|
288 | + 'displayCond' => array ( |
|
289 | + 'OR' => array ( |
|
290 | 290 | 'FIELD:input_field:REQ:false', |
291 | - 'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::checkbox, |
|
291 | + 'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::checkbox, |
|
292 | 292 | ), |
293 | 293 | ), |
294 | 294 | 'exclude' => 1, |
295 | 295 | 'l10n_mode' => 'exclude', |
296 | 296 | 'label' => 'Checkbox Value', |
297 | - 'config' => array( |
|
297 | + 'config' => array ( |
|
298 | 298 | 'type' => 'select', |
299 | 299 | 'renderType' => 'selectSingle', |
300 | 300 | 'foreign_table' => 'tx_dpf_domain_model_depositlicense', |
301 | - 'items' => array( |
|
302 | - array('', 0), |
|
301 | + 'items' => array ( |
|
302 | + array ('', 0), |
|
303 | 303 | ), |
304 | 304 | 'size' => 1, |
305 | 305 | 'maxitems' => 1, |
@@ -307,32 +307,32 @@ discard block |
||
307 | 307 | 'default' => 0, |
308 | 308 | ), |
309 | 309 | ), |
310 | - 'max_input_length' => array( |
|
311 | - 'displayCond' => array( |
|
312 | - 'OR' => array( |
|
310 | + 'max_input_length' => array ( |
|
311 | + 'displayCond' => array ( |
|
312 | + 'OR' => array ( |
|
313 | 313 | 'FIELD:input_field:REQ:false', |
314 | - 'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::input, |
|
315 | - 'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::textarea, |
|
314 | + 'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::input, |
|
315 | + 'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::textarea, |
|
316 | 316 | ), |
317 | 317 | ), |
318 | 318 | 'exclude' => 1, |
319 | 319 | 'l10n_mode' => 'exclude', |
320 | 320 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_input_length', |
321 | - 'config' => array( |
|
321 | + 'config' => array ( |
|
322 | 322 | 'type' => 'input', |
323 | 323 | 'size' => 4, |
324 | 324 | 'eval' => 'trim,number', |
325 | 325 | 'default' => 0, |
326 | 326 | ), |
327 | 327 | ), |
328 | - 'input_option_list' => array( |
|
328 | + 'input_option_list' => array ( |
|
329 | 329 | 'exclude' => 1, |
330 | 330 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_option_list', |
331 | - 'config' => array( |
|
331 | + 'config' => array ( |
|
332 | 332 | 'type' => 'select', |
333 | 333 | 'renderType' => 'selectSingle', |
334 | - 'items' => array( |
|
335 | - array('', 0), |
|
334 | + 'items' => array ( |
|
335 | + array ('', 0), |
|
336 | 336 | ), |
337 | 337 | 'foreign_table' => 'tx_dpf_domain_model_inputoptionlist', |
338 | 338 | 'foreign_table_where' => ' AND (tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID###) AND (tx_dpf_domain_model_inputoptionlist.sys_language_uid = 0)', |
@@ -341,27 +341,27 @@ discard block |
||
341 | 341 | 'default' => 0, |
342 | 342 | ), |
343 | 343 | ), |
344 | - 'default_value' => array( |
|
344 | + 'default_value' => array ( |
|
345 | 345 | 'exclude' => 1, |
346 | 346 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.default_value', |
347 | - 'config' => array( |
|
347 | + 'config' => array ( |
|
348 | 348 | 'type' => 'text', |
349 | 349 | 'cols' => 20, |
350 | 350 | 'rows' => 3, |
351 | 351 | 'eval' => 'trim', |
352 | 352 | ), |
353 | 353 | ), |
354 | - 'fill_out_service' => array( |
|
354 | + 'fill_out_service' => array ( |
|
355 | 355 | 'exclude' => 1, |
356 | 356 | 'l10n_mode' => 'exclude', |
357 | 357 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service', |
358 | - 'config' => array( |
|
358 | + 'config' => array ( |
|
359 | 359 | 'type' => 'select', |
360 | 360 | 'renderType' => 'selectSingle', |
361 | - 'items' => array( |
|
362 | - array('', 0), |
|
363 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.urn', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_URN), |
|
364 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.gnd', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND), |
|
361 | + 'items' => array ( |
|
362 | + array ('', 0), |
|
363 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.urn', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_URN), |
|
364 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.gnd', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND), |
|
365 | 365 | ), |
366 | 366 | 'size' => 1, |
367 | 367 | 'maxitems' => 1, |
@@ -369,26 +369,26 @@ discard block |
||
369 | 369 | ), |
370 | 370 | 'onChange' => 'reload', |
371 | 371 | ), |
372 | - 'gnd_field_uid' => array( |
|
373 | - 'displayCond' => 'FIELD:fill_out_service:=:'.\EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND, |
|
372 | + 'gnd_field_uid' => array ( |
|
373 | + 'displayCond' => 'FIELD:fill_out_service:=:' . \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND, |
|
374 | 374 | 'exclude' => 0, |
375 | 375 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.gnd_field_uid', |
376 | - 'config' => array( |
|
376 | + 'config' => array ( |
|
377 | 377 | 'type' => 'input', |
378 | 378 | 'size' => 30, |
379 | 379 | 'eval' => 'trim', |
380 | 380 | ), |
381 | 381 | ), |
382 | - 'metadatagroup' => array( |
|
383 | - 'config' => array( |
|
382 | + 'metadatagroup' => array ( |
|
383 | + 'config' => array ( |
|
384 | 384 | 'type' => 'passthrough', |
385 | 385 | ), |
386 | 386 | ), |
387 | - 'embargo' => array( |
|
387 | + 'embargo' => array ( |
|
388 | 388 | 'exclude' => 1, |
389 | 389 | 'l10n_mode' => 'exclude', |
390 | 390 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.embargo', |
391 | - 'config' => array( |
|
391 | + 'config' => array ( |
|
392 | 392 | 'type' => 'check', |
393 | 393 | 'default' => 0, |
394 | 394 | ), |
@@ -473,10 +473,10 @@ discard block |
||
473 | 473 | ], |
474 | 474 | ], |
475 | 475 | ], |
476 | - 'help_text' => array( |
|
476 | + 'help_text' => array ( |
|
477 | 477 | 'exclude' => 1, |
478 | 478 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.help_text', |
479 | - 'config' => array( |
|
479 | + 'config' => array ( |
|
480 | 480 | 'type' => 'text', |
481 | 481 | 'cols' => 40, |
482 | 482 | 'rows' => 15, |
@@ -16,8 +16,8 @@ discard block |
||
16 | 16 | die('Access denied.'); |
17 | 17 | } |
18 | 18 | |
19 | -return array( |
|
20 | - 'ctrl' => array( |
|
19 | +return array ( |
|
20 | + 'ctrl' => array ( |
|
21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file', |
22 | 22 | 'label' => 'title', |
23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
30 | 30 | 'delete' => 'deleted', |
31 | - 'enablecolumns' => array( |
|
31 | + 'enablecolumns' => array ( |
|
32 | 32 | 'disabled' => 'hidden', |
33 | 33 | 'starttime' => 'starttime', |
34 | 34 | 'endtime' => 'endtime', |
@@ -36,74 +36,74 @@ discard block |
||
36 | 36 | 'searchFields' => 'title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, file_identifier, document', |
37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
38 | 38 | ), |
39 | - 'interface' => array( |
|
39 | + 'interface' => array ( |
|
40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, file_identifier, document', |
41 | 41 | ), |
42 | - 'types' => array( |
|
43 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, file_identifier, document, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
42 | + 'types' => array ( |
|
43 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, file_identifier, document, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
44 | 44 | ), |
45 | - 'palettes' => array( |
|
46 | - '1' => array('showitem' => ''), |
|
45 | + 'palettes' => array ( |
|
46 | + '1' => array ('showitem' => ''), |
|
47 | 47 | ), |
48 | - 'columns' => array( |
|
48 | + 'columns' => array ( |
|
49 | 49 | |
50 | - 'sys_language_uid' => array( |
|
50 | + 'sys_language_uid' => array ( |
|
51 | 51 | 'exclude' => 1, |
52 | 52 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
53 | - 'config' => array( |
|
53 | + 'config' => array ( |
|
54 | 54 | 'type' => 'select', |
55 | 55 | 'renderType' => 'selectSingle', |
56 | 56 | 'foreign_table' => 'sys_language', |
57 | 57 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
58 | - 'items' => array( |
|
59 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
60 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
58 | + 'items' => array ( |
|
59 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
60 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
61 | 61 | ), |
62 | 62 | 'default' => 0, |
63 | 63 | ), |
64 | 64 | ), |
65 | - 'l10n_parent' => array( |
|
65 | + 'l10n_parent' => array ( |
|
66 | 66 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
67 | 67 | 'exclude' => 1, |
68 | 68 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
69 | - 'config' => array( |
|
69 | + 'config' => array ( |
|
70 | 70 | 'type' => 'select', |
71 | 71 | 'renderType' => 'selectSingle', |
72 | - 'items' => array( |
|
73 | - array('', 0), |
|
72 | + 'items' => array ( |
|
73 | + array ('', 0), |
|
74 | 74 | ), |
75 | 75 | 'foreign_table' => 'tx_dpf_domain_model_file', |
76 | 76 | 'foreign_table_where' => 'AND tx_dpf_domain_model_file.pid=###CURRENT_PID### AND tx_dpf_domain_model_file.sys_language_uid IN (-1,0)', |
77 | 77 | 'default' => 0, |
78 | 78 | ), |
79 | 79 | ), |
80 | - 'l10n_diffsource' => array( |
|
81 | - 'config' => array( |
|
80 | + 'l10n_diffsource' => array ( |
|
81 | + 'config' => array ( |
|
82 | 82 | 'type' => 'passthrough', |
83 | 83 | ), |
84 | 84 | ), |
85 | 85 | |
86 | - 't3ver_label' => array( |
|
86 | + 't3ver_label' => array ( |
|
87 | 87 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
88 | - 'config' => array( |
|
88 | + 'config' => array ( |
|
89 | 89 | 'type' => 'input', |
90 | 90 | 'size' => 30, |
91 | 91 | 'max' => 255, |
92 | 92 | ), |
93 | 93 | ), |
94 | 94 | |
95 | - 'hidden' => array( |
|
95 | + 'hidden' => array ( |
|
96 | 96 | 'exclude' => 1, |
97 | 97 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
98 | - 'config' => array( |
|
98 | + 'config' => array ( |
|
99 | 99 | 'type' => 'check', |
100 | 100 | ), |
101 | 101 | ), |
102 | - 'starttime' => array( |
|
102 | + 'starttime' => array ( |
|
103 | 103 | 'exclude' => 1, |
104 | 104 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
105 | - 'config' => array( |
|
106 | - 'behaviour' => array( |
|
105 | + 'config' => array ( |
|
106 | + 'behaviour' => array ( |
|
107 | 107 | 'allowLanguageSynchronization' => true |
108 | 108 | ), |
109 | 109 | 'type' => 'input', |
@@ -112,16 +112,16 @@ discard block |
||
112 | 112 | 'eval' => 'datetime', |
113 | 113 | 'checkbox' => 0, |
114 | 114 | 'default' => 0, |
115 | - 'range' => array( |
|
115 | + 'range' => array ( |
|
116 | 116 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
117 | 117 | ), |
118 | 118 | ), |
119 | 119 | ), |
120 | - 'endtime' => array( |
|
120 | + 'endtime' => array ( |
|
121 | 121 | 'exclude' => 1, |
122 | 122 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
123 | - 'config' => array( |
|
124 | - 'behaviour' => array( |
|
123 | + 'config' => array ( |
|
124 | + 'behaviour' => array ( |
|
125 | 125 | 'allowLanguageSynchronization' => true |
126 | 126 | ), |
127 | 127 | 'type' => 'input', |
@@ -130,115 +130,115 @@ discard block |
||
130 | 130 | 'eval' => 'datetime', |
131 | 131 | 'checkbox' => 0, |
132 | 132 | 'default' => 0, |
133 | - 'range' => array( |
|
133 | + 'range' => array ( |
|
134 | 134 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
135 | 135 | ), |
136 | 136 | ), |
137 | 137 | ), |
138 | 138 | |
139 | - 'title' => array( |
|
139 | + 'title' => array ( |
|
140 | 140 | 'exclude' => 1, |
141 | 141 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.title', |
142 | - 'config' => array( |
|
142 | + 'config' => array ( |
|
143 | 143 | 'type' => 'input', |
144 | 144 | 'size' => 30, |
145 | 145 | 'eval' => 'trim', |
146 | 146 | ), |
147 | 147 | ), |
148 | 148 | |
149 | - 'label' => array( |
|
149 | + 'label' => array ( |
|
150 | 150 | 'exclude' => 1, |
151 | 151 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.label', |
152 | - 'config' => array( |
|
152 | + 'config' => array ( |
|
153 | 153 | 'type' => 'input', |
154 | 154 | 'size' => 30, |
155 | 155 | 'eval' => 'trim', |
156 | 156 | ), |
157 | 157 | ), |
158 | - 'download' => array( |
|
158 | + 'download' => array ( |
|
159 | 159 | 'exclude' => 1, |
160 | 160 | 'l10n_mode' => 'exclude', |
161 | 161 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.download', |
162 | - 'config' => array( |
|
162 | + 'config' => array ( |
|
163 | 163 | 'type' => 'check', |
164 | 164 | 'default' => 0, |
165 | 165 | ), |
166 | 166 | ), |
167 | - 'archive' => array( |
|
167 | + 'archive' => array ( |
|
168 | 168 | 'exclude' => 1, |
169 | 169 | 'l10n_mode' => 'exclude', |
170 | 170 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.archive', |
171 | - 'config' => array( |
|
171 | + 'config' => array ( |
|
172 | 172 | 'type' => 'check', |
173 | 173 | 'default' => 0, |
174 | 174 | ), |
175 | 175 | ), |
176 | - 'file_group_deleted' => array( |
|
176 | + 'file_group_deleted' => array ( |
|
177 | 177 | 'exclude' => 1, |
178 | 178 | 'l10n_mode' => 'exclude', |
179 | 179 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.file_group_deleted', |
180 | - 'config' => array( |
|
180 | + 'config' => array ( |
|
181 | 181 | 'type' => 'check', |
182 | 182 | 'default' => 0, |
183 | 183 | ), |
184 | 184 | ), |
185 | - 'content_type' => array( |
|
185 | + 'content_type' => array ( |
|
186 | 186 | 'exclude' => 1, |
187 | 187 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.content_type', |
188 | - 'config' => array( |
|
188 | + 'config' => array ( |
|
189 | 189 | 'type' => 'input', |
190 | 190 | 'size' => 30, |
191 | 191 | 'eval' => 'trim', |
192 | 192 | ), |
193 | 193 | ), |
194 | - 'link' => array( |
|
194 | + 'link' => array ( |
|
195 | 195 | 'exclude' => 1, |
196 | 196 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.link', |
197 | - 'config' => array( |
|
197 | + 'config' => array ( |
|
198 | 198 | 'type' => 'input', |
199 | 199 | 'size' => 30, |
200 | 200 | 'eval' => 'trim', |
201 | 201 | ), |
202 | 202 | ), |
203 | - 'status' => array( |
|
203 | + 'status' => array ( |
|
204 | 204 | 'exclude' => 1, |
205 | 205 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.status', |
206 | - 'config' => array( |
|
206 | + 'config' => array ( |
|
207 | 207 | 'type' => 'input', |
208 | 208 | 'size' => 30, |
209 | 209 | 'eval' => 'trim', |
210 | 210 | ), |
211 | 211 | ), |
212 | - 'datastream_identifier' => array( |
|
212 | + 'datastream_identifier' => array ( |
|
213 | 213 | 'exclude' => 1, |
214 | 214 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.datastream_identifier', |
215 | - 'config' => array( |
|
215 | + 'config' => array ( |
|
216 | 216 | 'type' => 'input', |
217 | 217 | 'size' => 30, |
218 | 218 | 'eval' => 'trim', |
219 | 219 | ), |
220 | 220 | ), |
221 | - 'primary_file' => array( |
|
221 | + 'primary_file' => array ( |
|
222 | 222 | 'exclude' => 1, |
223 | 223 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.primary_file', |
224 | - 'config' => array( |
|
224 | + 'config' => array ( |
|
225 | 225 | 'type' => 'check', |
226 | 226 | 'default' => 0, |
227 | 227 | ), |
228 | 228 | ), |
229 | - 'file_identifier' => array( |
|
229 | + 'file_identifier' => array ( |
|
230 | 230 | 'exclude' => 1, |
231 | 231 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.link', |
232 | - 'config' => array( |
|
232 | + 'config' => array ( |
|
233 | 233 | 'type' => 'input', |
234 | 234 | 'size' => 30, |
235 | 235 | 'eval' => 'trim', |
236 | 236 | ), |
237 | 237 | ), |
238 | - 'document' => array( |
|
238 | + 'document' => array ( |
|
239 | 239 | 'exclude' => 1, |
240 | 240 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.document', |
241 | - 'config' => array( |
|
241 | + 'config' => array ( |
|
242 | 242 | 'type' => 'select', |
243 | 243 | 'renderType' => 'selectSingle', |
244 | 244 | 'foreign_table' => 'tx_dpf_domain_model_document', |
@@ -246,8 +246,8 @@ discard block |
||
246 | 246 | 'maxitems' => 1, |
247 | 247 | ), |
248 | 248 | ), |
249 | - 'pid' => array( |
|
250 | - 'config' => array( |
|
249 | + 'pid' => array ( |
|
250 | + 'config' => array ( |
|
251 | 251 | 'type' => 'passthrough', |
252 | 252 | ) |
253 | 253 | ), |