@@ -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 | ), |
@@ -20,8 +20,7 @@ discard block |
||
| 20 | 20 | use EWW\Dpf\Security\Security; |
| 21 | 21 | |
| 22 | 22 | |
| 23 | -class DocumentValidator |
|
| 24 | -{ |
|
| 23 | +class DocumentValidator { |
|
| 25 | 24 | /** |
| 26 | 25 | * objectManager |
| 27 | 26 | * |
@@ -51,8 +50,7 @@ discard block |
||
| 51 | 50 | * @param DocumentFormGroup $group |
| 52 | 51 | * @return bool |
| 53 | 52 | */ |
| 54 | - protected function hasFieldWithValue(DocumentFormGroup $group) |
|
| 55 | - { |
|
| 53 | + protected function hasFieldWithValue(DocumentFormGroup $group) { |
|
| 56 | 54 | foreach ($group->getItems() as $fields) { |
| 57 | 55 | foreach ($fields as $field) { |
| 58 | 56 | switch ($group->getMandatory()) { |
@@ -81,8 +79,7 @@ discard block |
||
| 81 | 79 | * @param bool $validateInvisableFields : If false, invisible form fields are not validated. |
| 82 | 80 | * @return bool |
| 83 | 81 | */ |
| 84 | - protected function hasAllMandatoryFieldValues(DocumentFormGroup $group, $hasFiles, $validateInvisableFields) |
|
| 85 | - { |
|
| 82 | + protected function hasAllMandatoryFieldValues(DocumentFormGroup $group, $hasFiles, $validateInvisableFields) { |
|
| 86 | 83 | foreach ($group->getItems() as $fields) { |
| 87 | 84 | foreach ($fields as $field) { |
| 88 | 85 | |
@@ -94,7 +91,9 @@ discard block |
||
| 94 | 91 | switch ($field->getMandatory()) { |
| 95 | 92 | case MetadataMandatoryInterface::MANDATORY: |
| 96 | 93 | if ($validateInvisableFields || $isFieldVisible) { |
| 97 | - if (!$field->getValue()) return FALSE; |
|
| 94 | + if (!$field->getValue()) { |
|
| 95 | + return FALSE; |
|
| 96 | + } |
|
| 98 | 97 | } |
| 99 | 98 | break; |
| 100 | 99 | case MetadataMandatoryInterface::MANDATORY_FILE_ONLY: |
@@ -118,8 +117,7 @@ discard block |
||
| 118 | 117 | * @param bool $validateInvisableFields : If false, invisible form groups and fields are not validated. |
| 119 | 118 | * @return bool |
| 120 | 119 | */ |
| 121 | - protected function hasAllMandatoryGroupValues(DocumentFormGroup $group, $hasFiles, $validateInvisableFields) |
|
| 122 | - { |
|
| 120 | + protected function hasAllMandatoryGroupValues(DocumentFormGroup $group, $hasFiles, $validateInvisableFields) { |
|
| 123 | 121 | $isGroupVisible = !( |
| 124 | 122 | $group->getAccessRestrictionRoles() && |
| 125 | 123 | !in_array($this->security->getUserRole(), $group->getAccessRestrictionRoles()) |
@@ -158,7 +156,9 @@ discard block |
||
| 158 | 156 | /** @var \EWW\Dpf\Domain\Model\DocumentForm $docForm */ |
| 159 | 157 | $docForm = $this->documentMapper->getDocumentForm($document); |
| 160 | 158 | |
| 161 | - if ($checkPrimaryFile && !$docForm->hasFiles()) return FALSE; |
|
| 159 | + if ($checkPrimaryFile && !$docForm->hasFiles()) { |
|
| 160 | + return FALSE; |
|
| 161 | + } |
|
| 162 | 162 | |
| 163 | 163 | $pages = $docForm->getItems(); |
| 164 | 164 | foreach ($pages as $page) { |
@@ -14,8 +14,7 @@ discard block |
||
| 14 | 14 | * The TYPO3 project - inspiring people to share! |
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | -class AbstractFormElement extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
|
| 18 | -{ |
|
| 17 | +class AbstractFormElement extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { |
|
| 19 | 18 | |
| 20 | 19 | /** |
| 21 | 20 | * |
@@ -60,38 +59,31 @@ discard block |
||
| 60 | 59 | */ |
| 61 | 60 | protected $maxIteration; |
| 62 | 61 | |
| 63 | - public function getUid() |
|
| 64 | - { |
|
| 62 | + public function getUid() { |
|
| 65 | 63 | return $this->uid; |
| 66 | 64 | } |
| 67 | 65 | |
| 68 | - public function setUid($uid) |
|
| 69 | - { |
|
| 66 | + public function setUid($uid) { |
|
| 70 | 67 | $this->uid = $uid; |
| 71 | 68 | } |
| 72 | 69 | |
| 73 | - public function getDisplayName() |
|
| 74 | - { |
|
| 70 | + public function getDisplayName() { |
|
| 75 | 71 | return $this->displayName; |
| 76 | 72 | } |
| 77 | 73 | |
| 78 | - public function setDisplayName($displayName) |
|
| 79 | - { |
|
| 74 | + public function setDisplayName($displayName) { |
|
| 80 | 75 | $this->displayName = $displayName; |
| 81 | 76 | } |
| 82 | 77 | |
| 83 | - public function getName() |
|
| 84 | - { |
|
| 78 | + public function getName() { |
|
| 85 | 79 | return $this->name; |
| 86 | 80 | } |
| 87 | 81 | |
| 88 | - public function setName($name) |
|
| 89 | - { |
|
| 82 | + public function setName($name) { |
|
| 90 | 83 | $this->name = $name; |
| 91 | 84 | } |
| 92 | 85 | |
| 93 | - public function getItems() |
|
| 94 | - { |
|
| 86 | + public function getItems() { |
|
| 95 | 87 | if (is_array($this->items)) { |
| 96 | 88 | return $this->items; |
| 97 | 89 | } else { |
@@ -99,39 +91,32 @@ discard block |
||
| 99 | 91 | } |
| 100 | 92 | } |
| 101 | 93 | |
| 102 | - public function addItem($item) |
|
| 103 | - { |
|
| 94 | + public function addItem($item) { |
|
| 104 | 95 | $uid = $item->getUid(); |
| 105 | 96 | $this->items[$uid][] = $item; |
| 106 | 97 | } |
| 107 | 98 | |
| 108 | - public function getMandatory() |
|
| 109 | - { |
|
| 99 | + public function getMandatory() { |
|
| 110 | 100 | return $this->mandatory; |
| 111 | 101 | } |
| 112 | 102 | |
| 113 | - public function setMandatory($mandatory) |
|
| 114 | - { |
|
| 103 | + public function setMandatory($mandatory) { |
|
| 115 | 104 | $this->mandatory = $mandatory; |
| 116 | 105 | } |
| 117 | 106 | |
| 118 | - public function getAccessRestrictionRoles() |
|
| 119 | - { |
|
| 107 | + public function getAccessRestrictionRoles() { |
|
| 120 | 108 | return $this->accessRestrictionRoles; |
| 121 | 109 | } |
| 122 | 110 | |
| 123 | - public function setAccessRestrictionRoles($accessRestrictionRoles) |
|
| 124 | - { |
|
| 111 | + public function setAccessRestrictionRoles($accessRestrictionRoles) { |
|
| 125 | 112 | $this->accessRestrictionRoles = $accessRestrictionRoles; |
| 126 | 113 | } |
| 127 | 114 | |
| 128 | - public function getMaxIteration() |
|
| 129 | - { |
|
| 115 | + public function getMaxIteration() { |
|
| 130 | 116 | return $this->maxIteration; |
| 131 | 117 | } |
| 132 | 118 | |
| 133 | - public function setMaxIteration($maxIteration) |
|
| 134 | - { |
|
| 119 | + public function setMaxIteration($maxIteration) { |
|
| 135 | 120 | $this->maxIteration = $maxIteration; |
| 136 | 121 | } |
| 137 | 122 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | throw new ElasticSearchMissingIndexNameException('Missing search index name.'); |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | - $hosts = array( |
|
| 85 | + $hosts = array ( |
|
| 86 | 86 | $this->server . ':' . $this->port, |
| 87 | 87 | ); |
| 88 | 88 | |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | if ($notes && is_array($notes)) { |
| 311 | 311 | $data->notes = $notes; |
| 312 | 312 | } else { |
| 313 | - $data->notes = array(); |
|
| 313 | + $data->notes = array (); |
|
| 314 | 314 | } |
| 315 | 315 | |
| 316 | 316 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * @param int|null $clientPid |
| 62 | 62 | * @throws ElasticSearchMissingIndexNameException |
| 63 | 63 | */ |
| 64 | - public function __construct($clientPid = null) |
|
| 64 | + public function __construct($clientPid = NULL) |
|
| 65 | 65 | { |
| 66 | 66 | $objectManager = GeneralUtility::makeInstance(ObjectManager::class); |
| 67 | 67 | |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | ], |
| 153 | 153 | 'mappings' => [ |
| 154 | 154 | '_source' => [ |
| 155 | - 'enabled' => true |
|
| 155 | + 'enabled' => TRUE |
|
| 156 | 156 | ], |
| 157 | 157 | //'dynamic' => 'strict', |
| 158 | 158 | 'properties' => [ |
@@ -215,11 +215,11 @@ discard block |
||
| 215 | 215 | ], |
| 216 | 216 | 'fobId' => [ |
| 217 | 217 | //'type' => 'keyword' |
| 218 | - 'enabled' => false |
|
| 218 | + 'enabled' => FALSE |
|
| 219 | 219 | ], |
| 220 | 220 | 'index' => [ |
| 221 | 221 | //'type' => 'integer' |
| 222 | - 'enabled' => false |
|
| 222 | + 'enabled' => FALSE |
|
| 223 | 223 | ] |
| 224 | 224 | ] |
| 225 | 225 | ], |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | if ($document->getCreator()) { |
| 282 | 282 | $data->creator = $document->getCreator(); |
| 283 | 283 | } else { |
| 284 | - $data->creator = null; |
|
| 284 | + $data->creator = NULL; |
|
| 285 | 285 | } |
| 286 | 286 | |
| 287 | 287 | if ($document->getCreator()) { |
@@ -315,9 +315,9 @@ discard block |
||
| 315 | 315 | |
| 316 | 316 | |
| 317 | 317 | if ($document->hasFiles()) { |
| 318 | - $data->hasFiles = true; |
|
| 318 | + $data->hasFiles = TRUE; |
|
| 319 | 319 | } else { |
| 320 | - $data->hasFiles = false; |
|
| 320 | + $data->hasFiles = FALSE; |
|
| 321 | 321 | } |
| 322 | 322 | |
| 323 | 323 | $internalFormat = new \EWW\Dpf\Helper\InternalFormat($document->getXmlData(), $this->clientPid); |
@@ -353,11 +353,11 @@ discard block |
||
| 353 | 353 | |
| 354 | 354 | $data->source = $document->getSourceDetails(); |
| 355 | 355 | |
| 356 | - $data->universityCollection = false; |
|
| 356 | + $data->universityCollection = FALSE; |
|
| 357 | 357 | if ($data->collections && is_array($data->collections)) { |
| 358 | 358 | foreach ($data->collections as $collection) { |
| 359 | 359 | if ($collection == $this->clientConfigurationManager->getUniversityCollection()) { |
| 360 | - $data->universityCollection = true; |
|
| 360 | + $data->universityCollection = TRUE; |
|
| 361 | 361 | break; |
| 362 | 362 | } |
| 363 | 363 | } |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | if ($embargoDate instanceof \DateTime) { |
| 368 | 368 | $data->embargoDate = $embargoDate->format("Y-m-d"); |
| 369 | 369 | } else { |
| 370 | - $data->embargoDate = null; |
|
| 370 | + $data->embargoDate = NULL; |
|
| 371 | 371 | } |
| 372 | 372 | |
| 373 | 373 | $data->originalSourceTitle = $internalFormat->getOriginalSourceTitle(); |
@@ -434,7 +434,7 @@ discard block |
||
| 434 | 434 | * @param array $query search query |
| 435 | 435 | * @return array result list |
| 436 | 436 | */ |
| 437 | - public function search($query, $type = null) |
|
| 437 | + public function search($query, $type = NULL) |
|
| 438 | 438 | { |
| 439 | 439 | try { |
| 440 | 440 | // define type and index |
@@ -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() |
@@ -398,7 +398,7 @@ discard block |
||
| 398 | 398 | $xpath = $this->getXpath(); |
| 399 | 399 | $data = []; |
| 400 | 400 | $sourceDetailsXpaths = $this->clientConfigurationManager->getSourceDetailsXpaths(); |
| 401 | - $sourceDetailsXpathList = explode(";", trim($sourceDetailsXpaths," ;")); |
|
| 401 | + $sourceDetailsXpathList = explode(";", trim($sourceDetailsXpaths, " ;")); |
|
| 402 | 402 | $dataNodes = []; |
| 403 | 403 | |
| 404 | 404 | foreach ($sourceDetailsXpathList as $sourceDetailsXpathItem) { |
@@ -433,7 +433,7 @@ discard block |
||
| 433 | 433 | { |
| 434 | 434 | $xpath = $this->getXpath(); |
| 435 | 435 | $personXpath = $this->clientConfigurationManager->getPersonXpath(); |
| 436 | - $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath(); |
|
| 436 | + $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath(); |
|
| 437 | 437 | $personNodes = $xpath->query(self::rootNode . $personXpath); |
| 438 | 438 | $identifiers = []; |
| 439 | 439 | foreach ($personNodes as $key => $node) { |
@@ -465,9 +465,9 @@ discard block |
||
| 465 | 465 | $xpath = $this->getXpath(); |
| 466 | 466 | $notesNodes = $xpath->query(self::rootNode . $notesXpath); |
| 467 | 467 | |
| 468 | - $notes = array(); |
|
| 468 | + $notes = array (); |
|
| 469 | 469 | |
| 470 | - for ($i=0; $i < $notesNodes->length; $i++) |
|
| 470 | + for ($i = 0; $i < $notesNodes->length; $i++) |
|
| 471 | 471 | { |
| 472 | 472 | $notes[] = $notesNodes->item($i)->nodeValue; |
| 473 | 473 | } |
@@ -481,7 +481,7 @@ discard block |
||
| 481 | 481 | |
| 482 | 482 | $parserGenerator = new ParserGenerator($this->clientPid); |
| 483 | 483 | $parserGenerator->setXml($this->xml->saveXML()); |
| 484 | - $parserGenerator->customXPath($notesXpath,true, $noteContent); |
|
| 484 | + $parserGenerator->customXPath($notesXpath, true, $noteContent); |
|
| 485 | 485 | $this->xml = new \DOMDocument(); |
| 486 | 486 | $this->xml->loadXML($parserGenerator->getXMLData()); |
| 487 | 487 | } |
@@ -508,9 +508,9 @@ discard block |
||
| 508 | 508 | $familyXpath = $this->clientConfigurationManager->getPersonFamilyXpath(); |
| 509 | 509 | $givenXpath = $this->clientConfigurationManager->getPersonGivenXpath(); |
| 510 | 510 | $roleXpath = $this->clientConfigurationManager->getPersonRoleXpath(); |
| 511 | - $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath(); |
|
| 512 | - $affiliationXpath = $this->clientConfigurationManager->getPersonAffiliationXpath(); |
|
| 513 | - $affiliationIdentifierXpath = $this->clientConfigurationManager->getPersonAffiliationIdentifierXpath(); |
|
| 511 | + $fisIdentifierXpath = $this->clientConfigurationManager->getPersonFisIdentifierXpath(); |
|
| 512 | + $affiliationXpath = $this->clientConfigurationManager->getPersonAffiliationXpath(); |
|
| 513 | + $affiliationIdentifierXpath = $this->clientConfigurationManager->getPersonAffiliationIdentifierXpath(); |
|
| 514 | 514 | |
| 515 | 515 | $xpath = $this->getXpath(); |
| 516 | 516 | $personNodes = $xpath->query(self::rootNode . $personXpath); |
@@ -590,9 +590,9 @@ discard block |
||
| 590 | 590 | */ |
| 591 | 591 | public function getValidation() |
| 592 | 592 | { |
| 593 | - $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
|
| 593 | + $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
|
| 594 | 594 | $validation = $this->getValue($validationXpath); |
| 595 | - return (strtolower($validation) === 'true')? true : false; |
|
| 595 | + return (strtolower($validation) === 'true') ? true : false; |
|
| 596 | 596 | } |
| 597 | 597 | |
| 598 | 598 | /** |
@@ -600,8 +600,8 @@ discard block |
||
| 600 | 600 | */ |
| 601 | 601 | public function setValidation($validated) |
| 602 | 602 | { |
| 603 | - $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
|
| 604 | - $this->setValue($validationXpath, ($validated? 'true' : 'false')); |
|
| 603 | + $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
|
| 604 | + $this->setValue($validationXpath, ($validated ? 'true' : 'false')); |
|
| 605 | 605 | } |
| 606 | 606 | |
| 607 | 607 | /** |
@@ -609,7 +609,7 @@ discard block |
||
| 609 | 609 | */ |
| 610 | 610 | public function setFisId($fisId) |
| 611 | 611 | { |
| 612 | - $fisIdXpath = $this->clientConfigurationManager->getFisIdXpath(); |
|
| 612 | + $fisIdXpath = $this->clientConfigurationManager->getFisIdXpath(); |
|
| 613 | 613 | $this->setValue($fisIdXpath, $fisId); |
| 614 | 614 | } |
| 615 | 615 | |
@@ -637,10 +637,10 @@ discard block |
||
| 637 | 637 | $nodes = $xpath->query(self::rootNode . $xpathString); |
| 638 | 638 | if ($nodes->length > 0) { |
| 639 | 639 | $nodes->item(0)->nodeValue = $value; |
| 640 | - } elseif(isset($value) === true && $value !== '') { |
|
| 640 | + } elseif (isset($value) === true && $value !== '') { |
|
| 641 | 641 | $parserGenerator = new ParserGenerator($this->clientPid); |
| 642 | 642 | $parserGenerator->setXml($this->xml->saveXML()); |
| 643 | - $parserGenerator->customXPath($xpathString,true, $value); |
|
| 643 | + $parserGenerator->customXPath($xpathString, true, $value); |
|
| 644 | 644 | $this->xml = new \DOMDocument(); |
| 645 | 645 | $this->xml->loadXML($parserGenerator->getXMLData()); |
| 646 | 646 | } |
@@ -740,7 +740,7 @@ discard block |
||
| 740 | 740 | } |
| 741 | 741 | } else { |
| 742 | 742 | $fileNodes = $xpath->query( |
| 743 | - self::rootNode . $fileXpath . '[./'.trim($idXpath, '@/ ').'="'.$file->getFileIdentifier().'"]' |
|
| 743 | + self::rootNode . $fileXpath . '[./' . trim($idXpath, '@/ ') . '="' . $file->getFileIdentifier() . '"]' |
|
| 744 | 744 | ); |
| 745 | 745 | |
| 746 | 746 | 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(); |
@@ -329,8 +310,7 @@ discard block |
||
| 329 | 310 | /** |
| 330 | 311 | * @return string |
| 331 | 312 | */ |
| 332 | - public function getCreator() |
|
| 333 | - { |
|
| 313 | + public function getCreator() { |
|
| 334 | 314 | $creatorXpath = $this->clientConfigurationManager->getCreatorXpath(); |
| 335 | 315 | $creator = $this->getValue($creatorXpath); |
| 336 | 316 | |
@@ -344,44 +324,37 @@ discard block |
||
| 344 | 324 | /** |
| 345 | 325 | * @param string $creator |
| 346 | 326 | */ |
| 347 | - public function setCreator(string $creator) |
|
| 348 | - { |
|
| 327 | + public function setCreator(string $creator) { |
|
| 349 | 328 | $creatorXpath = $this->clientConfigurationManager->getCreatorXpath(); |
| 350 | 329 | $this->setValue($creatorXpath, $creator); |
| 351 | 330 | } |
| 352 | 331 | |
| 353 | - public function getCreationDate() |
|
| 354 | - { |
|
| 332 | + public function getCreationDate() { |
|
| 355 | 333 | $xpath = $this->clientConfigurationManager->getCreationDateXpath(); |
| 356 | 334 | return $this->getValue($xpath); |
| 357 | 335 | } |
| 358 | 336 | |
| 359 | - public function setCreationDate($creationDate) |
|
| 360 | - { |
|
| 337 | + public function setCreationDate($creationDate) { |
|
| 361 | 338 | $xpath = $this->clientConfigurationManager->getCreationDateXpath(); |
| 362 | 339 | $this->setValue($xpath, $creationDate); |
| 363 | 340 | } |
| 364 | 341 | |
| 365 | - public function getRepositoryCreationDate() |
|
| 366 | - { |
|
| 342 | + public function getRepositoryCreationDate() { |
|
| 367 | 343 | $xpath = $this->clientConfigurationManager->getRepositoryCreationDateXpath(); |
| 368 | 344 | return $this->getValue($xpath); |
| 369 | 345 | } |
| 370 | 346 | |
| 371 | - public function getRepositoryLastModDate() |
|
| 372 | - { |
|
| 347 | + public function getRepositoryLastModDate() { |
|
| 373 | 348 | $xpath = $this->clientConfigurationManager->getRepositoryLastModDateXpath(); |
| 374 | 349 | return $this->getValue($xpath); |
| 375 | 350 | } |
| 376 | 351 | |
| 377 | - public function getPublishingYear() |
|
| 378 | - { |
|
| 352 | + public function getPublishingYear() { |
|
| 379 | 353 | $publishingYearXpath = $this->clientConfigurationManager->getPublishingYearXpath(); |
| 380 | 354 | return $this->getValue($publishingYearXpath); |
| 381 | 355 | } |
| 382 | 356 | |
| 383 | - public function getOriginalSourceTitle() |
|
| 384 | - { |
|
| 357 | + public function getOriginalSourceTitle() { |
|
| 385 | 358 | $originalSourceTitleXpath = $this->clientConfigurationManager->getOriginalSourceTitleXpath(); |
| 386 | 359 | return $this->getValue($originalSourceTitleXpath); |
| 387 | 360 | } |
@@ -389,8 +362,7 @@ discard block |
||
| 389 | 362 | /** |
| 390 | 363 | * @return string |
| 391 | 364 | */ |
| 392 | - public function getSourceDetails() |
|
| 393 | - { |
|
| 365 | + public function getSourceDetails() { |
|
| 394 | 366 | if (empty($sourceDetailsXpaths)) { |
| 395 | 367 | return ''; |
| 396 | 368 | } |
@@ -449,8 +421,7 @@ discard block |
||
| 449 | 421 | /** |
| 450 | 422 | * @return string |
| 451 | 423 | */ |
| 452 | - public function getDepositLicense() |
|
| 453 | - { |
|
| 424 | + public function getDepositLicense() { |
|
| 454 | 425 | $depositLicenseXpath = $this->clientConfigurationManager->getDepositLicenseXpath(); |
| 455 | 426 | return $this->getValue($depositLicenseXpath); |
| 456 | 427 | } |
@@ -458,8 +429,7 @@ discard block |
||
| 458 | 429 | /** |
| 459 | 430 | * @return array |
| 460 | 431 | */ |
| 461 | - public function getNotes() |
|
| 462 | - { |
|
| 432 | + public function getNotes() { |
|
| 463 | 433 | $notesXpath = $this->clientConfigurationManager->getAllNotesXpath(); |
| 464 | 434 | |
| 465 | 435 | $xpath = $this->getXpath(); |
@@ -467,16 +437,14 @@ discard block |
||
| 467 | 437 | |
| 468 | 438 | $notes = array(); |
| 469 | 439 | |
| 470 | - for ($i=0; $i < $notesNodes->length; $i++) |
|
| 471 | - { |
|
| 440 | + for ($i=0; $i < $notesNodes->length; $i++) { |
|
| 472 | 441 | $notes[] = $notesNodes->item($i)->nodeValue; |
| 473 | 442 | } |
| 474 | 443 | |
| 475 | 444 | return $notes; |
| 476 | 445 | } |
| 477 | 446 | |
| 478 | - public function addNote($noteContent) |
|
| 479 | - { |
|
| 447 | + public function addNote($noteContent) { |
|
| 480 | 448 | $notesXpath = $this->clientConfigurationManager->getPrivateNotesXpath(); |
| 481 | 449 | |
| 482 | 450 | $parserGenerator = new ParserGenerator($this->clientPid); |
@@ -486,13 +454,11 @@ discard block |
||
| 486 | 454 | $this->xml->loadXML($parserGenerator->getXMLData()); |
| 487 | 455 | } |
| 488 | 456 | |
| 489 | - public function getAuthors() |
|
| 490 | - { |
|
| 457 | + public function getAuthors() { |
|
| 491 | 458 | return $this->getPersons($this->clientConfigurationManager->getPersonAuthorRole()); |
| 492 | 459 | } |
| 493 | 460 | |
| 494 | - public function getPublishers() |
|
| 495 | - { |
|
| 461 | + public function getPublishers() { |
|
| 496 | 462 | return $this->getPersons($this->clientConfigurationManager->getPersonPublisherRole()); |
| 497 | 463 | } |
| 498 | 464 | |
@@ -502,8 +468,7 @@ discard block |
||
| 502 | 468 | * @param string $role |
| 503 | 469 | * @return array |
| 504 | 470 | */ |
| 505 | - public function getPersons($role = '') |
|
| 506 | - { |
|
| 471 | + public function getPersons($role = '') { |
|
| 507 | 472 | $personXpath = $this->clientConfigurationManager->getPersonXpath(); |
| 508 | 473 | $familyXpath = $this->clientConfigurationManager->getPersonFamilyXpath(); |
| 509 | 474 | $givenXpath = $this->clientConfigurationManager->getPersonGivenXpath(); |
@@ -576,8 +541,9 @@ discard block |
||
| 576 | 541 | if ($role) { |
| 577 | 542 | $result = []; |
| 578 | 543 | foreach ($persons as $person) { |
| 579 | - if ($person['role'] == $role) |
|
| 580 | - $result[] = $person; |
|
| 544 | + if ($person['role'] == $role) { |
|
| 545 | + $result[] = $person; |
|
| 546 | + } |
|
| 581 | 547 | } |
| 582 | 548 | return $result; |
| 583 | 549 | } else { |
@@ -588,8 +554,7 @@ discard block |
||
| 588 | 554 | /** |
| 589 | 555 | * @return bool |
| 590 | 556 | */ |
| 591 | - public function getValidation() |
|
| 592 | - { |
|
| 557 | + public function getValidation() { |
|
| 593 | 558 | $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
| 594 | 559 | $validation = $this->getValue($validationXpath); |
| 595 | 560 | return (strtolower($validation) === 'true')? true : false; |
@@ -598,8 +563,7 @@ discard block |
||
| 598 | 563 | /** |
| 599 | 564 | * @param bool $validated |
| 600 | 565 | */ |
| 601 | - public function setValidation($validated) |
|
| 602 | - { |
|
| 566 | + public function setValidation($validated) { |
|
| 603 | 567 | $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
| 604 | 568 | $this->setValue($validationXpath, ($validated? 'true' : 'false')); |
| 605 | 569 | } |
@@ -607,8 +571,7 @@ discard block |
||
| 607 | 571 | /** |
| 608 | 572 | * @param string $fisId |
| 609 | 573 | */ |
| 610 | - public function setFisId($fisId) |
|
| 611 | - { |
|
| 574 | + public function setFisId($fisId) { |
|
| 612 | 575 | $fisIdXpath = $this->clientConfigurationManager->getFisIdXpath(); |
| 613 | 576 | $this->setValue($fisIdXpath, $fisId); |
| 614 | 577 | } |
@@ -617,8 +580,7 @@ discard block |
||
| 617 | 580 | * @param string $xpathString |
| 618 | 581 | * @return string |
| 619 | 582 | */ |
| 620 | - protected function getValue($xpathString) |
|
| 621 | - { |
|
| 583 | + protected function getValue($xpathString) { |
|
| 622 | 584 | $xpath = $this->getXpath(); |
| 623 | 585 | $nodeList = $xpath->query(self::rootNode . $xpathString); |
| 624 | 586 | if ($nodeList->length > 0) { |
@@ -631,8 +593,7 @@ discard block |
||
| 631 | 593 | * @param string $xpathString |
| 632 | 594 | * @param string $value |
| 633 | 595 | */ |
| 634 | - protected function setValue(string $xpathString, string $value) |
|
| 635 | - { |
|
| 596 | + protected function setValue(string $xpathString, string $value) { |
|
| 636 | 597 | $xpath = $this->getXpath(); |
| 637 | 598 | $nodes = $xpath->query(self::rootNode . $xpathString); |
| 638 | 599 | if ($nodes->length > 0) { |
@@ -663,8 +624,7 @@ discard block |
||
| 663 | 624 | * @param string $nodeXpath |
| 664 | 625 | * @param string $value |
| 665 | 626 | */ |
| 666 | - public function setFileData(DOMNode $fileNode, string $nodeXpath, string $value) |
|
| 667 | - { |
|
| 627 | + public function setFileData(DOMNode $fileNode, string $nodeXpath, string $value) { |
|
| 668 | 628 | $xpath = $this->getXpath(); |
| 669 | 629 | |
| 670 | 630 | if ($fileNode) { |
@@ -697,8 +657,7 @@ discard block |
||
| 697 | 657 | * @param ObjectStorage<File> $files |
| 698 | 658 | * @throws \Exception |
| 699 | 659 | */ |
| 700 | - public function completeFileData(ObjectStorage $files) |
|
| 701 | - { |
|
| 660 | + public function completeFileData(ObjectStorage $files) { |
|
| 702 | 661 | $fileId = new FileId($files); |
| 703 | 662 | |
| 704 | 663 | $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 | |
@@ -334,7 +334,7 @@ discard block |
||
| 334 | 334 | $creatorXpath = $this->clientConfigurationManager->getCreatorXpath(); |
| 335 | 335 | $creator = $this->getValue($creatorXpath); |
| 336 | 336 | |
| 337 | - if (isset($creator) === true && $creator !== '') { |
|
| 337 | + if (isset($creator) === TRUE && $creator !== '') { |
|
| 338 | 338 | return $creator; |
| 339 | 339 | } |
| 340 | 340 | |
@@ -481,7 +481,7 @@ discard block |
||
| 481 | 481 | |
| 482 | 482 | $parserGenerator = new ParserGenerator($this->clientPid); |
| 483 | 483 | $parserGenerator->setXml($this->xml->saveXML()); |
| 484 | - $parserGenerator->customXPath($notesXpath,true, $noteContent); |
|
| 484 | + $parserGenerator->customXPath($notesXpath,TRUE, $noteContent); |
|
| 485 | 485 | $this->xml = new \DOMDocument(); |
| 486 | 486 | $this->xml->loadXML($parserGenerator->getXMLData()); |
| 487 | 487 | } |
@@ -592,7 +592,7 @@ discard block |
||
| 592 | 592 | { |
| 593 | 593 | $validationXpath = $this->clientConfigurationManager->getValidationXpath(); |
| 594 | 594 | $validation = $this->getValue($validationXpath); |
| 595 | - return (strtolower($validation) === 'true')? true : false; |
|
| 595 | + return (strtolower($validation) === 'true')? TRUE : FALSE; |
|
| 596 | 596 | } |
| 597 | 597 | |
| 598 | 598 | /** |
@@ -637,10 +637,10 @@ discard block |
||
| 637 | 637 | $nodes = $xpath->query(self::rootNode . $xpathString); |
| 638 | 638 | if ($nodes->length > 0) { |
| 639 | 639 | $nodes->item(0)->nodeValue = $value; |
| 640 | - } elseif(isset($value) === true && $value !== '') { |
|
| 640 | + } elseif(isset($value) === TRUE && $value !== '') { |
|
| 641 | 641 | $parserGenerator = new ParserGenerator($this->clientPid); |
| 642 | 642 | $parserGenerator->setXml($this->xml->saveXML()); |
| 643 | - $parserGenerator->customXPath($xpathString,true, $value); |
|
| 643 | + $parserGenerator->customXPath($xpathString,TRUE, $value); |
|
| 644 | 644 | $this->xml = new \DOMDocument(); |
| 645 | 645 | $this->xml->loadXML($parserGenerator->getXMLData()); |
| 646 | 646 | } |
@@ -680,13 +680,13 @@ discard block |
||
| 680 | 680 | // FIXME: XPATHXmlGenerator XPATH does not generate any namespaces, |
| 681 | 681 | // which DOMDocument cannot cope with. Actually, namespaces should not be necessary here, |
| 682 | 682 | // since it is about child elements that are then added to the overall XML. |
| 683 | - libxml_use_internal_errors(true); |
|
| 683 | + libxml_use_internal_errors(TRUE); |
|
| 684 | 684 | $dom = new \DOMDocument(); |
| 685 | 685 | $domLoaded = $dom->loadXML($xPathXMLGenerator->getXML()); |
| 686 | - libxml_use_internal_errors(false); |
|
| 686 | + libxml_use_internal_errors(FALSE); |
|
| 687 | 687 | |
| 688 | 688 | if ($domLoaded) { |
| 689 | - $newField = $this->xml->importNode($dom->firstChild, true); |
|
| 689 | + $newField = $this->xml->importNode($dom->firstChild, TRUE); |
|
| 690 | 690 | $fileNode->appendChild($newField); |
| 691 | 691 | } |
| 692 | 692 | } |
@@ -725,13 +725,13 @@ discard block |
||
| 725 | 725 | // FIXME: XPATHXmlGenerator XPATH does not generate any namespaces, |
| 726 | 726 | // which DOMDocument cannot cope with. Actually, namespaces should not be necessary here, |
| 727 | 727 | // since it is about child elements that are then added to the overall XML. |
| 728 | - libxml_use_internal_errors(true); |
|
| 728 | + libxml_use_internal_errors(TRUE); |
|
| 729 | 729 | $dom = new \DOMDocument(); |
| 730 | 730 | $domLoaded = $dom->loadXML($xPathXMLGenerator->getXML()); |
| 731 | - libxml_use_internal_errors(false); |
|
| 731 | + libxml_use_internal_errors(FALSE); |
|
| 732 | 732 | |
| 733 | 733 | if ($domLoaded) { |
| 734 | - $newFile = $this->xml->importNode($dom->firstChild, true); |
|
| 734 | + $newFile = $this->xml->importNode($dom->firstChild, TRUE); |
|
| 735 | 735 | $newFile->setAttribute('usage', 'delete'); |
| 736 | 736 | $this->setFileData($newFile, $idXpath, $file->getDatastreamIdentifier()); |
| 737 | 737 | $this->setFileData($newFile, $deletedXpath, 'yes'); |