@@ -107,7 +107,6 @@ |
||
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | 109 | * Get PDF document list |
| 110 | - |
|
| 111 | 110 | * @return array of attachments |
| 112 | 111 | */ |
| 113 | 112 | protected function getAttachments() |
@@ -35,11 +35,11 @@ |
||
| 35 | 35 | protected $documentTransferLogRepository; |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * clientConfigurationManager |
|
| 39 | - * |
|
| 40 | - * @var \EWW\Dpf\Configuration\ClientConfigurationManager |
|
| 41 | - * @inject |
|
| 42 | - */ |
|
| 38 | + * clientConfigurationManager |
|
| 39 | + * |
|
| 40 | + * @var \EWW\Dpf\Configuration\ClientConfigurationManager |
|
| 41 | + * @inject |
|
| 42 | + */ |
|
| 43 | 43 | protected $clientConfigurationManager; |
| 44 | 44 | |
| 45 | 45 | /** |
@@ -439,7 +439,7 @@ |
||
| 439 | 439 | |
| 440 | 440 | $domXPath2 = \EWW\Dpf\Helper\XPath::create($doc2); |
| 441 | 441 | |
| 442 | - // second part nested xpath |
|
| 442 | + // second part nested xpath |
|
| 443 | 443 | if ($match[2] && $secondMatch[2]) { |
| 444 | 444 | // import node from nested |
| 445 | 445 | $docXMLNested = new \DOMDocument(); |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | - * @return string |
|
| 21 | + * @return string |
|
| 22 | 22 | */ |
| 23 | 23 | public function render() |
| 24 | 24 | { |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | class ClientConfigurationManager |
| 23 | 23 | { |
| 24 | 24 | |
| 25 | - /** |
|
| 25 | + /** |
|
| 26 | 26 | * objectManager |
| 27 | 27 | * |
| 28 | 28 | * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface |
@@ -65,8 +65,8 @@ discard block |
||
| 65 | 65 | $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class); |
| 66 | 66 | $clientRepository = $objectManager->get(ClientRepository::class); |
| 67 | 67 | |
| 68 | - if (TYPO3_MODE === 'BE') |
|
| 69 | - { |
|
| 68 | + if (TYPO3_MODE === 'BE') |
|
| 69 | + { |
|
| 70 | 70 | $selectedPageId = (int) \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'); |
| 71 | 71 | if ($selectedPageId) |
| 72 | 72 | { |
@@ -77,15 +77,15 @@ discard block |
||
| 77 | 77 | $this->settings = $settings; //['settings']; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | - } |
|
| 81 | - else |
|
| 82 | - { |
|
| 80 | + } |
|
| 81 | + else |
|
| 82 | + { |
|
| 83 | 83 | $this->client = $clientRepository->findAll()->current(); |
| 84 | 84 | |
| 85 | 85 | $configurationManager = $objectManager->get(ConfigurationManager::class); |
| 86 | - $this->settings = $configurationManager->getConfiguration( |
|
| 87 | - \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS |
|
| 88 | - ); |
|
| 86 | + $this->settings = $configurationManager->getConfiguration( |
|
| 87 | + \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS |
|
| 88 | + ); |
|
| 89 | 89 | |
| 90 | 90 | } |
| 91 | 91 | |
@@ -121,57 +121,57 @@ discard block |
||
| 121 | 121 | |
| 122 | 122 | public function getSwordHost() |
| 123 | 123 | { |
| 124 | - return $this->getSetting("swordHost","swordHost"); |
|
| 124 | + return $this->getSetting("swordHost","swordHost"); |
|
| 125 | 125 | } |
| 126 | 126 | |
| 127 | - public function getSwordUser() |
|
| 127 | + public function getSwordUser() |
|
| 128 | 128 | { |
| 129 | - return $this->getSetting("swordUser","swordUser"); |
|
| 129 | + return $this->getSetting("swordUser","swordUser"); |
|
| 130 | 130 | } |
| 131 | 131 | |
| 132 | - public function getSwordPassword() |
|
| 132 | + public function getSwordPassword() |
|
| 133 | 133 | { |
| 134 | - return $this->getSetting("swordPassword","swordPassword"); |
|
| 134 | + return $this->getSetting("swordPassword","swordPassword"); |
|
| 135 | 135 | } |
| 136 | 136 | |
| 137 | - public function getSwordCollectionNamespace() |
|
| 137 | + public function getSwordCollectionNamespace() |
|
| 138 | 138 | { |
| 139 | - return $this->getSetting("swordCollectionNamespace","swordCollectionNamespace"); |
|
| 139 | + return $this->getSetting("swordCollectionNamespace","swordCollectionNamespace"); |
|
| 140 | 140 | } |
| 141 | 141 | |
| 142 | - public function getFedoraHost() |
|
| 142 | + public function getFedoraHost() |
|
| 143 | 143 | { |
| 144 | - return $this->getSetting("fedoraHost","fedoraHost"); |
|
| 144 | + return $this->getSetting("fedoraHost","fedoraHost"); |
|
| 145 | 145 | } |
| 146 | 146 | |
| 147 | - public function getFedoraUser() |
|
| 147 | + public function getFedoraUser() |
|
| 148 | 148 | { |
| 149 | - return $this->getSetting("fedoraUser","fedoraUser"); |
|
| 149 | + return $this->getSetting("fedoraUser","fedoraUser"); |
|
| 150 | 150 | } |
| 151 | 151 | |
| 152 | - public function getFedoraPassword() |
|
| 152 | + public function getFedoraPassword() |
|
| 153 | 153 | { |
| 154 | - return $this->getSetting("fedoraPassword","fedoraPassword"); |
|
| 154 | + return $this->getSetting("fedoraPassword","fedoraPassword"); |
|
| 155 | 155 | } |
| 156 | 156 | |
| 157 | - public function getElasticSearchHost() |
|
| 157 | + public function getElasticSearchHost() |
|
| 158 | 158 | { |
| 159 | - return $this->getSetting("elasticSearchHost","elasticSearchHost"); |
|
| 159 | + return $this->getSetting("elasticSearchHost","elasticSearchHost"); |
|
| 160 | 160 | } |
| 161 | 161 | |
| 162 | - public function getElasticSearchPort() |
|
| 162 | + public function getElasticSearchPort() |
|
| 163 | 163 | { |
| 164 | - return $this->getSetting("elasticSearchPort","elasticSearchPort"); |
|
| 164 | + return $this->getSetting("elasticSearchPort","elasticSearchPort"); |
|
| 165 | 165 | } |
| 166 | 166 | |
| 167 | - public function getUploadDirectory() |
|
| 167 | + public function getUploadDirectory() |
|
| 168 | 168 | { |
| 169 | - return $this->getSetting("uploadDirectory","uploadDirectory"); |
|
| 169 | + return $this->getSetting("uploadDirectory","uploadDirectory"); |
|
| 170 | 170 | } |
| 171 | 171 | |
| 172 | - public function getUploadDomain() |
|
| 172 | + public function getUploadDomain() |
|
| 173 | 173 | { |
| 174 | - return $this->getSetting("uploadDomain","uploadDomain"); |
|
| 174 | + return $this->getSetting("uploadDomain","uploadDomain"); |
|
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | } |
@@ -16,5 +16,5 @@ |
||
| 16 | 16 | |
| 17 | 17 | interface DPFExceptionInterface |
| 18 | 18 | { |
| 19 | - public function messageLanguageKey(); |
|
| 19 | + public function messageLanguageKey(); |
|
| 20 | 20 | } |
| 21 | 21 | \ No newline at end of file |
@@ -107,7 +107,6 @@ |
||
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | 109 | * Get PDF document list |
| 110 | - |
|
| 111 | 110 | * @return array of attachments |
| 112 | 111 | */ |
| 113 | 112 | protected function getAttachments() |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | protected function getViewIcon(array $row, $pageUid, $apiPid, $insideText, $class) |
| 82 | 82 | { |
| 83 | 83 | |
| 84 | - $previewMets = $this->uriBuilder |
|
| 84 | + $previewMets = $this->uriBuilder |
|
| 85 | 85 | ->reset() |
| 86 | 86 | ->setTargetPageUid($apiPid) |
| 87 | 87 | ->setArguments(array( 'tx_dpf' => $row)) |
@@ -218,7 +218,7 @@ |
||
| 218 | 218 | ); |
| 219 | 219 | } else { |
| 220 | 220 | $definitionBuilder->addTransition( |
| 221 | - new Transition($transitionName, $fromState, $transition["to"]) |
|
| 221 | + new Transition($transitionName, $fromState, $transition["to"]) |
|
| 222 | 222 | ); |
| 223 | 223 | } |
| 224 | 224 | } |