@@ -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', |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | 'transOrigPointerField' => 'l10n_parent', |
| 32 | 32 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 33 | 33 | 'delete' => 'deleted', |
| 34 | - 'enablecolumns' => array( |
|
| 34 | + 'enablecolumns' => array ( |
|
| 35 | 35 | 'disabled' => 'hidden', |
| 36 | 36 | 'starttime' => 'starttime', |
| 37 | 37 | 'endtime' => 'endtime', |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | 'requestUpdate' => 'replace_niss_part', |
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_client.gif', |
| 42 | 42 | ), |
| 43 | - 'interface' => array( |
|
| 43 | + 'interface' => array ( |
|
| 44 | 44 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, client, owner_id, |
| 45 | 45 | network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace, |
| 46 | 46 | sword_host, sword_user, sword_password, sword_collection_namespace, fedora_host, fedora_user, fedora_password, |
@@ -49,8 +49,8 @@ discard block |
||
| 49 | 49 | submitter_new_document_notification_subject, submitter_new_document_notification_body, |
| 50 | 50 | submitter_ingest_notification_subject, submitter_ingest_notification_body' |
| 51 | 51 | ), |
| 52 | - 'types' => array( |
|
| 53 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, |
|
| 52 | + 'types' => array ( |
|
| 53 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, |
|
| 54 | 54 | client, owner_id, network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace, |
| 55 | 55 | --div--;SWORD, sword_host, sword_user, sword_password, sword_collection_namespace, |
| 56 | 56 | --div--;Fedora, fedora_host, fedora_user, fedora_password, |
@@ -60,320 +60,320 @@ discard block |
||
| 60 | 60 | --div--;Submitter Notification, submitter_new_document_notification_subject, submitter_new_document_notification_body, submitter_ingest_notification_subject, submitter_ingest_notification_body, |
| 61 | 61 | --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
| 62 | 62 | ), |
| 63 | - 'palettes' => array( |
|
| 64 | - '1' => array('showitem' => ''), |
|
| 63 | + 'palettes' => array ( |
|
| 64 | + '1' => array ('showitem' => ''), |
|
| 65 | 65 | ), |
| 66 | - 'columns' => array( |
|
| 66 | + 'columns' => array ( |
|
| 67 | 67 | |
| 68 | - 'sys_language_uid' => array( |
|
| 68 | + 'sys_language_uid' => array ( |
|
| 69 | 69 | 'exclude' => 1, |
| 70 | 70 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 71 | - 'config' => array( |
|
| 71 | + 'config' => array ( |
|
| 72 | 72 | 'type' => 'select', |
| 73 | 73 | 'renderType' => 'selectSingle', |
| 74 | 74 | 'foreign_table' => 'sys_language', |
| 75 | 75 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 76 | - 'items' => array( |
|
| 77 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 78 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 76 | + 'items' => array ( |
|
| 77 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 78 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 79 | 79 | ), |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - 'l10n_parent' => array( |
|
| 82 | + 'l10n_parent' => array ( |
|
| 83 | 83 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 84 | 84 | 'exclude' => 1, |
| 85 | 85 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 86 | - 'config' => array( |
|
| 86 | + 'config' => array ( |
|
| 87 | 87 | 'type' => 'select', |
| 88 | 88 | 'renderType' => 'selectSingle', |
| 89 | - 'items' => array( |
|
| 90 | - array('', 0), |
|
| 89 | + 'items' => array ( |
|
| 90 | + array ('', 0), |
|
| 91 | 91 | ), |
| 92 | 92 | 'foreign_table' => 'tx_dpf_domain_model_client', |
| 93 | 93 | 'foreign_table_where' => 'AND tx_dpf_domain_model_client.pid=###CURRENT_PID### AND tx_dpf_domain_model_client.sys_language_uid IN (-1,0)', |
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | - 'l10n_diffsource' => array( |
|
| 97 | - 'config' => array( |
|
| 96 | + 'l10n_diffsource' => array ( |
|
| 97 | + 'config' => array ( |
|
| 98 | 98 | 'type' => 'passthrough', |
| 99 | 99 | ), |
| 100 | 100 | ), |
| 101 | 101 | |
| 102 | - 't3ver_label' => array( |
|
| 102 | + 't3ver_label' => array ( |
|
| 103 | 103 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 104 | - 'config' => array( |
|
| 104 | + 'config' => array ( |
|
| 105 | 105 | 'type' => 'input', |
| 106 | 106 | 'size' => 30, |
| 107 | 107 | 'max' => 255, |
| 108 | 108 | ), |
| 109 | 109 | ), |
| 110 | 110 | |
| 111 | - 'hidden' => array( |
|
| 111 | + 'hidden' => array ( |
|
| 112 | 112 | 'exclude' => 1, |
| 113 | 113 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 114 | - 'config' => array( |
|
| 114 | + 'config' => array ( |
|
| 115 | 115 | 'type' => 'check', |
| 116 | 116 | ), |
| 117 | 117 | ), |
| 118 | - 'starttime' => array( |
|
| 118 | + 'starttime' => array ( |
|
| 119 | 119 | 'exclude' => 1, |
| 120 | 120 | 'l10n_mode' => 'mergeIfNotBlank', |
| 121 | 121 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 122 | - 'config' => array( |
|
| 122 | + 'config' => array ( |
|
| 123 | 123 | 'type' => 'input', |
| 124 | 124 | 'size' => 13, |
| 125 | 125 | 'max' => 20, |
| 126 | 126 | 'eval' => 'datetime', |
| 127 | 127 | 'checkbox' => 0, |
| 128 | 128 | 'default' => 0, |
| 129 | - 'range' => array( |
|
| 129 | + 'range' => array ( |
|
| 130 | 130 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 131 | 131 | ), |
| 132 | 132 | ), |
| 133 | 133 | ), |
| 134 | - 'endtime' => array( |
|
| 134 | + 'endtime' => array ( |
|
| 135 | 135 | 'exclude' => 1, |
| 136 | 136 | 'l10n_mode' => 'mergeIfNotBlank', |
| 137 | 137 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 138 | - 'config' => array( |
|
| 138 | + 'config' => array ( |
|
| 139 | 139 | 'type' => 'input', |
| 140 | 140 | 'size' => 13, |
| 141 | 141 | 'max' => 20, |
| 142 | 142 | 'eval' => 'datetime', |
| 143 | 143 | 'checkbox' => 0, |
| 144 | 144 | 'default' => 0, |
| 145 | - 'range' => array( |
|
| 145 | + 'range' => array ( |
|
| 146 | 146 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 147 | 147 | ), |
| 148 | 148 | ), |
| 149 | 149 | ), |
| 150 | 150 | |
| 151 | - 'project' => array( |
|
| 151 | + 'project' => array ( |
|
| 152 | 152 | 'exclude' => 1, |
| 153 | 153 | 'l10n_mode' => 'exclude', |
| 154 | 154 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.project', |
| 155 | - 'config' => array( |
|
| 155 | + 'config' => array ( |
|
| 156 | 156 | 'type' => 'input', |
| 157 | 157 | 'size' => 30, |
| 158 | 158 | 'eval' => 'trim', |
| 159 | 159 | ), |
| 160 | 160 | ), |
| 161 | - 'client' => array( |
|
| 161 | + 'client' => array ( |
|
| 162 | 162 | 'exclude' => 1, |
| 163 | 163 | 'l10n_mode' => 'exclude', |
| 164 | 164 | 'l10n_display' => 'defaultAsReadonly', |
| 165 | 165 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.client', |
| 166 | - 'config' => array( |
|
| 166 | + 'config' => array ( |
|
| 167 | 167 | 'type' => 'input', |
| 168 | 168 | 'size' => 30, |
| 169 | 169 | 'eval' => 'trim', |
| 170 | 170 | ), |
| 171 | 171 | ), |
| 172 | - 'network_initial' => array( |
|
| 172 | + 'network_initial' => array ( |
|
| 173 | 173 | 'exclude' => 1, |
| 174 | 174 | 'l10n_mode' => 'exclude', |
| 175 | 175 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.network_initial', |
| 176 | - 'config' => array( |
|
| 176 | + 'config' => array ( |
|
| 177 | 177 | 'type' => 'input', |
| 178 | 178 | 'size' => 30, |
| 179 | 179 | 'eval' => 'trim', |
| 180 | 180 | ), |
| 181 | 181 | ), |
| 182 | - 'library_identifier' => array( |
|
| 182 | + 'library_identifier' => array ( |
|
| 183 | 183 | 'exclude' => 1, |
| 184 | 184 | 'l10n_mode' => 'exclude', |
| 185 | 185 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.library_identifier', |
| 186 | - 'config' => array( |
|
| 186 | + 'config' => array ( |
|
| 187 | 187 | 'type' => 'input', |
| 188 | 188 | 'size' => 30, |
| 189 | 189 | 'eval' => 'trim', |
| 190 | 190 | ), |
| 191 | 191 | ), |
| 192 | 192 | |
| 193 | - 'owner_id' => array( |
|
| 193 | + 'owner_id' => array ( |
|
| 194 | 194 | 'exclude' => 1, |
| 195 | 195 | 'l10n_mode' => 'exclude', |
| 196 | 196 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.owner_id', |
| 197 | - 'config' => array( |
|
| 197 | + 'config' => array ( |
|
| 198 | 198 | 'type' => 'input', |
| 199 | 199 | 'size' => 4, |
| 200 | 200 | 'max' => 4, |
| 201 | 201 | 'eval' => 'trim,required', |
| 202 | 202 | ), |
| 203 | 203 | ), |
| 204 | - 'admin_email' => array( |
|
| 204 | + 'admin_email' => array ( |
|
| 205 | 205 | 'exclude' => 1, |
| 206 | 206 | 'l10n_mode' => 'exclude', |
| 207 | 207 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_email', |
| 208 | - 'config' => array( |
|
| 208 | + 'config' => array ( |
|
| 209 | 209 | 'type' => 'input', |
| 210 | 210 | 'size' => 30, |
| 211 | 211 | 'eval' => 'trim', |
| 212 | 212 | ), |
| 213 | 213 | ), |
| 214 | - 'replace_niss_part' => array( |
|
| 214 | + 'replace_niss_part' => array ( |
|
| 215 | 215 | 'exclude' => 1, |
| 216 | 216 | 'l10n_mode' => 'exclude', |
| 217 | 217 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.replace_niss_part', |
| 218 | - 'config' => array( |
|
| 218 | + 'config' => array ( |
|
| 219 | 219 | 'type' => 'check', |
| 220 | 220 | 'default' => 0, |
| 221 | 221 | ), |
| 222 | 222 | ), |
| 223 | - 'niss_part_search' => array( |
|
| 223 | + 'niss_part_search' => array ( |
|
| 224 | 224 | 'exclude' => 1, |
| 225 | 225 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_search', |
| 226 | 226 | 'displayCond' => 'FIELD:replace_niss_part:=:1', |
| 227 | - 'config' => array( |
|
| 227 | + 'config' => array ( |
|
| 228 | 228 | 'type' => 'input', |
| 229 | 229 | 'size' => 30, |
| 230 | 230 | 'eval' => 'trim,required', |
| 231 | 231 | ), |
| 232 | 232 | ), |
| 233 | - 'niss_part_replace' => array( |
|
| 233 | + 'niss_part_replace' => array ( |
|
| 234 | 234 | 'exclude' => 1, |
| 235 | 235 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_replace', |
| 236 | 236 | 'displayCond' => 'FIELD:replace_niss_part:=:1', |
| 237 | - 'config' => array( |
|
| 237 | + 'config' => array ( |
|
| 238 | 238 | 'type' => 'input', |
| 239 | 239 | 'size' => 30, |
| 240 | 240 | 'eval' => 'trim,required', |
| 241 | 241 | ), |
| 242 | 242 | ), |
| 243 | - 'sword_host' => array( |
|
| 243 | + 'sword_host' => array ( |
|
| 244 | 244 | 'exclude' => 1, |
| 245 | 245 | 'l10n_mode' => 'exclude', |
| 246 | 246 | 'l10n_display' => 'defaultAsReadonly', |
| 247 | 247 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_host', |
| 248 | - 'config' => array( |
|
| 248 | + 'config' => array ( |
|
| 249 | 249 | 'type' => 'input', |
| 250 | 250 | 'size' => 30, |
| 251 | 251 | 'eval' => 'trim', |
| 252 | 252 | ), |
| 253 | 253 | ), |
| 254 | - 'sword_user' => array( |
|
| 254 | + 'sword_user' => array ( |
|
| 255 | 255 | 'exclude' => 1, |
| 256 | 256 | 'l10n_mode' => 'exclude', |
| 257 | 257 | 'l10n_display' => 'defaultAsReadonly', |
| 258 | 258 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_user', |
| 259 | - 'config' => array( |
|
| 259 | + 'config' => array ( |
|
| 260 | 260 | 'type' => 'input', |
| 261 | 261 | 'size' => 30, |
| 262 | 262 | 'eval' => 'trim', |
| 263 | 263 | ), |
| 264 | 264 | ), |
| 265 | - 'sword_password' => array( |
|
| 265 | + 'sword_password' => array ( |
|
| 266 | 266 | 'exclude' => 1, |
| 267 | 267 | 'l10n_mode' => 'exclude', |
| 268 | 268 | 'l10n_display' => 'defaultAsReadonly', |
| 269 | 269 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_password', |
| 270 | - 'config' => array( |
|
| 270 | + 'config' => array ( |
|
| 271 | 271 | 'type' => 'input', |
| 272 | 272 | 'size' => 30, |
| 273 | 273 | 'eval' => 'trim', |
| 274 | 274 | ), |
| 275 | 275 | ), |
| 276 | - 'sword_collection_namespace' => array( |
|
| 276 | + 'sword_collection_namespace' => array ( |
|
| 277 | 277 | 'exclude' => 1, |
| 278 | 278 | 'l10n_mode' => 'exclude', |
| 279 | 279 | 'l10n_display' => 'defaultAsReadonly', |
| 280 | 280 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_collection_namespace', |
| 281 | - 'config' => array( |
|
| 281 | + 'config' => array ( |
|
| 282 | 282 | 'type' => 'input', |
| 283 | 283 | 'size' => 30, |
| 284 | 284 | 'eval' => 'trim', |
| 285 | 285 | ), |
| 286 | 286 | ), |
| 287 | - 'fedora_host' => array( |
|
| 287 | + 'fedora_host' => array ( |
|
| 288 | 288 | 'exclude' => 1, |
| 289 | 289 | 'l10n_mode' => 'exclude', |
| 290 | 290 | 'l10n_display' => 'defaultAsReadonly', |
| 291 | 291 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_host', |
| 292 | - 'config' => array( |
|
| 292 | + 'config' => array ( |
|
| 293 | 293 | 'type' => 'input', |
| 294 | 294 | 'size' => 30, |
| 295 | 295 | 'eval' => 'trim', |
| 296 | 296 | ), |
| 297 | 297 | ), |
| 298 | - 'fedora_user' => array( |
|
| 298 | + 'fedora_user' => array ( |
|
| 299 | 299 | 'exclude' => 1, |
| 300 | 300 | 'l10n_mode' => 'exclude', |
| 301 | 301 | 'l10n_display' => 'defaultAsReadonly', |
| 302 | 302 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_user', |
| 303 | - 'config' => array( |
|
| 303 | + 'config' => array ( |
|
| 304 | 304 | 'type' => 'input', |
| 305 | 305 | 'size' => 30, |
| 306 | 306 | 'eval' => 'trim', |
| 307 | 307 | ), |
| 308 | 308 | ), |
| 309 | - 'fedora_password' => array( |
|
| 309 | + 'fedora_password' => array ( |
|
| 310 | 310 | 'exclude' => 1, |
| 311 | 311 | 'l10n_mode' => 'exclude', |
| 312 | 312 | 'l10n_display' => 'defaultAsReadonly', |
| 313 | 313 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_password', |
| 314 | - 'config' => array( |
|
| 314 | + 'config' => array ( |
|
| 315 | 315 | 'type' => 'input', |
| 316 | 316 | 'size' => 30, |
| 317 | 317 | 'eval' => 'trim', |
| 318 | 318 | ), |
| 319 | 319 | ), |
| 320 | - 'elastic_search_host' => array( |
|
| 320 | + 'elastic_search_host' => array ( |
|
| 321 | 321 | 'exclude' => 1, |
| 322 | 322 | 'l10n_mode' => 'exclude', |
| 323 | 323 | 'l10n_display' => 'defaultAsReadonly', |
| 324 | 324 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_host', |
| 325 | - 'config' => array( |
|
| 325 | + 'config' => array ( |
|
| 326 | 326 | 'type' => 'input', |
| 327 | 327 | 'size' => 30, |
| 328 | 328 | 'eval' => 'trim', |
| 329 | 329 | ), |
| 330 | 330 | ), |
| 331 | - 'elastic_search_port' => array( |
|
| 331 | + 'elastic_search_port' => array ( |
|
| 332 | 332 | 'exclude' => 1, |
| 333 | 333 | 'l10n_mode' => 'exclude', |
| 334 | 334 | 'l10n_display' => 'defaultAsReadonly', |
| 335 | 335 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_port', |
| 336 | - 'config' => array( |
|
| 336 | + 'config' => array ( |
|
| 337 | 337 | 'type' => 'input', |
| 338 | 338 | 'size' => 30, |
| 339 | 339 | 'eval' => 'trim', |
| 340 | 340 | ), |
| 341 | 341 | ), |
| 342 | - 'upload_directory' => array( |
|
| 342 | + 'upload_directory' => array ( |
|
| 343 | 343 | 'exclude' => 1, |
| 344 | 344 | 'l10n_mode' => 'exclude', |
| 345 | 345 | 'l10n_display' => 'defaultAsReadonly', |
| 346 | 346 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_directory', |
| 347 | - 'config' => array( |
|
| 347 | + 'config' => array ( |
|
| 348 | 348 | 'type' => 'input', |
| 349 | 349 | 'size' => 30, |
| 350 | 350 | 'eval' => 'trim', |
| 351 | 351 | ), |
| 352 | 352 | ), |
| 353 | - 'upload_domain' => array( |
|
| 353 | + 'upload_domain' => array ( |
|
| 354 | 354 | 'exclude' => 1, |
| 355 | 355 | 'l10n_mode' => 'exclude', |
| 356 | 356 | 'l10n_display' => 'defaultAsReadonly', |
| 357 | 357 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_domain', |
| 358 | - 'config' => array( |
|
| 358 | + 'config' => array ( |
|
| 359 | 359 | 'type' => 'input', |
| 360 | 360 | 'size' => 30, |
| 361 | 361 | 'eval' => 'trim', |
| 362 | 362 | ), |
| 363 | 363 | ), |
| 364 | - 'admin_new_document_notification_subject' => array( |
|
| 364 | + 'admin_new_document_notification_subject' => array ( |
|
| 365 | 365 | 'exclude' => 1, |
| 366 | 366 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_subject', |
| 367 | - 'config' => array( |
|
| 367 | + 'config' => array ( |
|
| 368 | 368 | 'type' => 'input', |
| 369 | 369 | 'size' => 50, |
| 370 | 370 | 'eval' => 'trim', |
| 371 | 371 | ), |
| 372 | 372 | ), |
| 373 | - 'admin_new_document_notification_body' => array( |
|
| 373 | + 'admin_new_document_notification_body' => array ( |
|
| 374 | 374 | 'exclude' => 1, |
| 375 | 375 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_body', |
| 376 | - 'config' => array( |
|
| 376 | + 'config' => array ( |
|
| 377 | 377 | 'type' => 'text', |
| 378 | 378 | 'cols' => 40, |
| 379 | 379 | 'rows' => 15, |
@@ -381,19 +381,19 @@ discard block |
||
| 381 | 381 | ), |
| 382 | 382 | 'defaultExtras' => 'richtext[]' |
| 383 | 383 | ), |
| 384 | - 'submitter_new_document_notification_subject' => array( |
|
| 384 | + 'submitter_new_document_notification_subject' => array ( |
|
| 385 | 385 | 'exclude' => 1, |
| 386 | 386 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_subject', |
| 387 | - 'config' => array( |
|
| 387 | + 'config' => array ( |
|
| 388 | 388 | 'type' => 'input', |
| 389 | 389 | 'size' => 50, |
| 390 | 390 | 'eval' => 'trim', |
| 391 | 391 | ), |
| 392 | 392 | ), |
| 393 | - 'submitter_new_document_notification_body' => array( |
|
| 393 | + 'submitter_new_document_notification_body' => array ( |
|
| 394 | 394 | 'exclude' => 1, |
| 395 | 395 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_body', |
| 396 | - 'config' => array( |
|
| 396 | + 'config' => array ( |
|
| 397 | 397 | 'type' => 'text', |
| 398 | 398 | 'cols' => 40, |
| 399 | 399 | 'rows' => 15, |
@@ -401,19 +401,19 @@ discard block |
||
| 401 | 401 | ), |
| 402 | 402 | 'defaultExtras' => 'richtext[]' |
| 403 | 403 | ), |
| 404 | - 'submitter_ingest_notification_subject' => array( |
|
| 404 | + 'submitter_ingest_notification_subject' => array ( |
|
| 405 | 405 | 'exclude' => 1, |
| 406 | 406 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_subject', |
| 407 | - 'config' => array( |
|
| 407 | + 'config' => array ( |
|
| 408 | 408 | 'type' => 'input', |
| 409 | 409 | 'size' => 50, |
| 410 | 410 | 'eval' => 'trim', |
| 411 | 411 | ), |
| 412 | 412 | ), |
| 413 | - 'submitter_ingest_notification_body' => array( |
|
| 413 | + 'submitter_ingest_notification_body' => array ( |
|
| 414 | 414 | 'exclude' => 1, |
| 415 | 415 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_body', |
| 416 | - 'config' => array( |
|
| 416 | + 'config' => array ( |
|
| 417 | 417 | 'type' => 'text', |
| 418 | 418 | 'cols' => 40, |
| 419 | 419 | 'rows' => 15, |
@@ -41,16 +41,16 @@ |
||
| 41 | 41 | $content = file_get_contents($url); |
| 42 | 42 | $json = json_decode($content); |
| 43 | 43 | |
| 44 | - $listArray = array(); |
|
| 44 | + $listArray = array (); |
|
| 45 | 45 | $i = 0; |
| 46 | 46 | foreach ($json as $value) { |
| 47 | 47 | $listArray[$i]['value'] = $value->Ansetzung; |
| 48 | 48 | $listArray[$i]['ppn'] = $value->PPN; |
| 49 | 49 | $listArray[$i]['typ'] = $value->Typ; |
| 50 | 50 | if ($value->GNDNr) { |
| 51 | - $listArray[$i]['gnd'] = $this->baseGndValueUri.$value->GNDNr; |
|
| 51 | + $listArray[$i]['gnd'] = $this->baseGndValueUri . $value->GNDNr; |
|
| 52 | 52 | } else { |
| 53 | - $listArray[$i]['gnd'] = $this->baseGndValueUri.$this->gndAction($value->PPN); |
|
| 53 | + $listArray[$i]['gnd'] = $this->baseGndValueUri . $this->gndAction($value->PPN); |
|
| 54 | 54 | } |
| 55 | 55 | $i++; |
| 56 | 56 | } |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | if (empty($listArray)) { |
| 59 | - echo json_encode(null); |
|
| 59 | + echo json_encode(NULL); |
|
| 60 | 60 | } else { |
| 61 | 61 | echo json_encode($listArray); |
| 62 | 62 | } |
@@ -20,8 +20,7 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * GndController |
| 22 | 22 | */ |
| 23 | -class GndController extends \EWW\Dpf\Controller\AbstractController |
|
| 24 | -{ |
|
| 23 | +class GndController extends \EWW\Dpf\Controller\AbstractController { |
|
| 25 | 24 | protected $gndHost = 'https://xgnd.bsz-bw.de/'; |
| 26 | 25 | |
| 27 | 26 | protected $searchUrl = 'Anfrage?suchfeld=pica.swr&suchfilter=000000&suchoptionen=pica.tbs%3D%22s%22&suchwort='; |
@@ -17,8 +17,7 @@ discard block |
||
| 17 | 17 | /** |
| 18 | 18 | * MetadataObject |
| 19 | 19 | */ |
| 20 | -class MetadataObject extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
|
| 21 | -{ |
|
| 20 | +class MetadataObject extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { |
|
| 22 | 21 | |
| 23 | 22 | /** |
| 24 | 23 | * name |
@@ -141,8 +140,7 @@ discard block |
||
| 141 | 140 | * |
| 142 | 141 | * @return string $name |
| 143 | 142 | */ |
| 144 | - public function getName() |
|
| 145 | - { |
|
| 143 | + public function getName() { |
|
| 146 | 144 | return $this->name; |
| 147 | 145 | } |
| 148 | 146 | |
@@ -152,8 +150,7 @@ discard block |
||
| 152 | 150 | * @param string $name |
| 153 | 151 | * @return void |
| 154 | 152 | */ |
| 155 | - public function setName($name) |
|
| 156 | - { |
|
| 153 | + public function setName($name) { |
|
| 157 | 154 | $this->name = $name; |
| 158 | 155 | } |
| 159 | 156 | |
@@ -162,8 +159,7 @@ discard block |
||
| 162 | 159 | * |
| 163 | 160 | * @return string $displayName |
| 164 | 161 | */ |
| 165 | - public function getDisplayName() |
|
| 166 | - { |
|
| 162 | + public function getDisplayName() { |
|
| 167 | 163 | return $this->displayName; |
| 168 | 164 | } |
| 169 | 165 | |
@@ -173,8 +169,7 @@ discard block |
||
| 173 | 169 | * @param string $displayName |
| 174 | 170 | * @return void |
| 175 | 171 | */ |
| 176 | - public function setDisplayName($displayName) |
|
| 177 | - { |
|
| 172 | + public function setDisplayName($displayName) { |
|
| 178 | 173 | $this->displayName = $displayName; |
| 179 | 174 | } |
| 180 | 175 | |
@@ -183,8 +178,7 @@ discard block |
||
| 183 | 178 | * |
| 184 | 179 | * @return integer $maxIteration |
| 185 | 180 | */ |
| 186 | - public function getMaxIteration() |
|
| 187 | - { |
|
| 181 | + public function getMaxIteration() { |
|
| 188 | 182 | return $this->maxIteration; |
| 189 | 183 | } |
| 190 | 184 | |
@@ -194,8 +188,7 @@ discard block |
||
| 194 | 188 | * @param integer $maxIteration |
| 195 | 189 | * @return void |
| 196 | 190 | */ |
| 197 | - public function setMaxIteration($maxIteration) |
|
| 198 | - { |
|
| 191 | + public function setMaxIteration($maxIteration) { |
|
| 199 | 192 | $this->maxIteration = $maxIteration; |
| 200 | 193 | } |
| 201 | 194 | |
@@ -204,8 +197,7 @@ discard block |
||
| 204 | 197 | * |
| 205 | 198 | * @return boolean $mandatory |
| 206 | 199 | */ |
| 207 | - public function getMandatory() |
|
| 208 | - { |
|
| 200 | + public function getMandatory() { |
|
| 209 | 201 | return $this->mandatory; |
| 210 | 202 | } |
| 211 | 203 | |
@@ -215,8 +207,7 @@ discard block |
||
| 215 | 207 | * @param boolean $mandatory |
| 216 | 208 | * @return void |
| 217 | 209 | */ |
| 218 | - public function setMandatory($mandatory) |
|
| 219 | - { |
|
| 210 | + public function setMandatory($mandatory) { |
|
| 220 | 211 | $this->mandatory = $mandatory; |
| 221 | 212 | } |
| 222 | 213 | |
@@ -225,8 +216,7 @@ discard block |
||
| 225 | 216 | * |
| 226 | 217 | * @return boolean |
| 227 | 218 | */ |
| 228 | - public function isMandatory() |
|
| 229 | - { |
|
| 219 | + public function isMandatory() { |
|
| 230 | 220 | return $this->mandatory; |
| 231 | 221 | } |
| 232 | 222 | |
@@ -235,8 +225,7 @@ discard block |
||
| 235 | 225 | * |
| 236 | 226 | * @return boolean $modsExtension |
| 237 | 227 | */ |
| 238 | - public function getModsExtension() |
|
| 239 | - { |
|
| 228 | + public function getModsExtension() { |
|
| 240 | 229 | return $this->modsExtension; |
| 241 | 230 | } |
| 242 | 231 | |
@@ -246,8 +235,7 @@ discard block |
||
| 246 | 235 | * @param boolean $modsExtension |
| 247 | 236 | * @return void |
| 248 | 237 | */ |
| 249 | - public function setModsExtension($modsExtension) |
|
| 250 | - { |
|
| 238 | + public function setModsExtension($modsExtension) { |
|
| 251 | 239 | $this->modsExtension = $modsExtension; |
| 252 | 240 | } |
| 253 | 241 | |
@@ -256,8 +244,7 @@ discard block |
||
| 256 | 244 | * |
| 257 | 245 | * @return boolean |
| 258 | 246 | */ |
| 259 | - public function isModsExtension() |
|
| 260 | - { |
|
| 247 | + public function isModsExtension() { |
|
| 261 | 248 | return $this->modsExtension; |
| 262 | 249 | } |
| 263 | 250 | |
@@ -266,8 +253,7 @@ discard block |
||
| 266 | 253 | * |
| 267 | 254 | * @return string $mapping |
| 268 | 255 | */ |
| 269 | - public function getMapping() |
|
| 270 | - { |
|
| 256 | + public function getMapping() { |
|
| 271 | 257 | return $this->mapping; |
| 272 | 258 | } |
| 273 | 259 | |
@@ -277,8 +263,7 @@ discard block |
||
| 277 | 263 | * @param string $mapping |
| 278 | 264 | * @return void |
| 279 | 265 | */ |
| 280 | - public function setMapping($mapping) |
|
| 281 | - { |
|
| 266 | + public function setMapping($mapping) { |
|
| 282 | 267 | $this->mapping = $mapping; |
| 283 | 268 | } |
| 284 | 269 | |
@@ -287,8 +272,7 @@ discard block |
||
| 287 | 272 | * |
| 288 | 273 | * @return string $relativeMapping |
| 289 | 274 | */ |
| 290 | - public function getRelativeMapping() |
|
| 291 | - { |
|
| 275 | + public function getRelativeMapping() { |
|
| 292 | 276 | $modsRegExp = "/^.*?mods:mods/i"; |
| 293 | 277 | $mapping = preg_replace($modsRegExp, "", $this->mapping); |
| 294 | 278 | return trim($mapping, " /"); |
@@ -299,8 +283,7 @@ discard block |
||
| 299 | 283 | * |
| 300 | 284 | * @return integer $inputField |
| 301 | 285 | */ |
| 302 | - public function getInputField() |
|
| 303 | - { |
|
| 286 | + public function getInputField() { |
|
| 304 | 287 | return $this->inputField; |
| 305 | 288 | } |
| 306 | 289 | |
@@ -310,8 +293,7 @@ discard block |
||
| 310 | 293 | * @param integer $inputField |
| 311 | 294 | * @return void |
| 312 | 295 | */ |
| 313 | - public function setInputField($inputField) |
|
| 314 | - { |
|
| 296 | + public function setInputField($inputField) { |
|
| 315 | 297 | $this->inputField = $inputField; |
| 316 | 298 | } |
| 317 | 299 | |
@@ -320,8 +302,7 @@ discard block |
||
| 320 | 302 | * |
| 321 | 303 | * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\MetadataObject> $metadataObject |
| 322 | 304 | */ |
| 323 | - public function getChildren() |
|
| 324 | - { |
|
| 305 | + public function getChildren() { |
|
| 325 | 306 | return null; |
| 326 | 307 | } |
| 327 | 308 | |
@@ -330,8 +311,7 @@ discard block |
||
| 330 | 311 | * |
| 331 | 312 | * @return \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList |
| 332 | 313 | */ |
| 333 | - public function getInputOptionList() |
|
| 334 | - { |
|
| 314 | + public function getInputOptionList() { |
|
| 335 | 315 | return $this->inputOptionList; |
| 336 | 316 | } |
| 337 | 317 | |
@@ -341,8 +321,7 @@ discard block |
||
| 341 | 321 | * @param \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList |
| 342 | 322 | * @return void |
| 343 | 323 | */ |
| 344 | - public function setInputOptionList(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList) |
|
| 345 | - { |
|
| 324 | + public function setInputOptionList(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList) { |
|
| 346 | 325 | $this->inputOptionList = $inputOptionList; |
| 347 | 326 | } |
| 348 | 327 | |
@@ -351,8 +330,7 @@ discard block |
||
| 351 | 330 | * |
| 352 | 331 | * @return string $fillOutService |
| 353 | 332 | */ |
| 354 | - public function getFillOutService() |
|
| 355 | - { |
|
| 333 | + public function getFillOutService() { |
|
| 356 | 334 | return $this->fillOutService; |
| 357 | 335 | } |
| 358 | 336 | |
@@ -362,8 +340,7 @@ discard block |
||
| 362 | 340 | * @param string $fillOutService |
| 363 | 341 | * @return void |
| 364 | 342 | */ |
| 365 | - public function setFillOutService($fillOutService) |
|
| 366 | - { |
|
| 343 | + public function setFillOutService($fillOutService) { |
|
| 367 | 344 | $this->fillOutService = $fillOutService; |
| 368 | 345 | } |
| 369 | 346 | |
@@ -372,8 +349,7 @@ discard block |
||
| 372 | 349 | * |
| 373 | 350 | * @return boolean $backendOnly |
| 374 | 351 | */ |
| 375 | - public function getBackendOnly() |
|
| 376 | - { |
|
| 352 | + public function getBackendOnly() { |
|
| 377 | 353 | return $this->backendOnly; |
| 378 | 354 | } |
| 379 | 355 | |
@@ -383,8 +359,7 @@ discard block |
||
| 383 | 359 | * @param boolean $backendOnly |
| 384 | 360 | * @return void |
| 385 | 361 | */ |
| 386 | - public function setBackendOnly($backendOnly) |
|
| 387 | - { |
|
| 362 | + public function setBackendOnly($backendOnly) { |
|
| 388 | 363 | $this->backendOnly = $backendOnly; |
| 389 | 364 | } |
| 390 | 365 | |
@@ -393,8 +368,7 @@ discard block |
||
| 393 | 368 | * |
| 394 | 369 | * @return boolean $consent |
| 395 | 370 | */ |
| 396 | - public function getConsent() |
|
| 397 | - { |
|
| 371 | + public function getConsent() { |
|
| 398 | 372 | return $this->consent; |
| 399 | 373 | } |
| 400 | 374 | |
@@ -404,8 +378,7 @@ discard block |
||
| 404 | 378 | * @param boolean $consent |
| 405 | 379 | * @return void |
| 406 | 380 | */ |
| 407 | - public function setConsent($consent) |
|
| 408 | - { |
|
| 381 | + public function setConsent($consent) { |
|
| 409 | 382 | $this->consent = $consent; |
| 410 | 383 | } |
| 411 | 384 | |
@@ -414,8 +387,7 @@ discard block |
||
| 414 | 387 | * |
| 415 | 388 | * @return string $defaultValue |
| 416 | 389 | */ |
| 417 | - public function getDefaultValue() |
|
| 418 | - { |
|
| 390 | + public function getDefaultValue() { |
|
| 419 | 391 | return $this->defaultValue; |
| 420 | 392 | } |
| 421 | 393 | |
@@ -425,8 +397,7 @@ discard block |
||
| 425 | 397 | * @param string $defaultValue |
| 426 | 398 | * @return void |
| 427 | 399 | */ |
| 428 | - public function setDefaultValue($defaultValue) |
|
| 429 | - { |
|
| 400 | + public function setDefaultValue($defaultValue) { |
|
| 430 | 401 | $this->defaultValue = $defaultValue; |
| 431 | 402 | } |
| 432 | 403 | |
@@ -435,8 +406,7 @@ discard block |
||
| 435 | 406 | * |
| 436 | 407 | * @return string $validation |
| 437 | 408 | */ |
| 438 | - public function getValidation() |
|
| 439 | - { |
|
| 409 | + public function getValidation() { |
|
| 440 | 410 | return $this->validation; |
| 441 | 411 | } |
| 442 | 412 | |
@@ -446,8 +416,7 @@ discard block |
||
| 446 | 416 | * @param string $validation |
| 447 | 417 | * @return void |
| 448 | 418 | */ |
| 449 | - public function setValidation($validation) |
|
| 450 | - { |
|
| 419 | + public function setValidation($validation) { |
|
| 451 | 420 | $this->validation = $validation; |
| 452 | 421 | } |
| 453 | 422 | |
@@ -456,8 +425,7 @@ discard block |
||
| 456 | 425 | * |
| 457 | 426 | * @return string $dataType |
| 458 | 427 | */ |
| 459 | - public function getDataType() |
|
| 460 | - { |
|
| 428 | + public function getDataType() { |
|
| 461 | 429 | return $this->dataType; |
| 462 | 430 | } |
| 463 | 431 | |
@@ -467,24 +435,21 @@ discard block |
||
| 467 | 435 | * @param string $dataType |
| 468 | 436 | * @return void |
| 469 | 437 | */ |
| 470 | - public function setDataType($dataType) |
|
| 471 | - { |
|
| 438 | + public function setDataType($dataType) { |
|
| 472 | 439 | $this->dataType = $dataType; |
| 473 | 440 | } |
| 474 | 441 | |
| 475 | 442 | /** |
| 476 | 443 | * @return string |
| 477 | 444 | */ |
| 478 | - public function getGndFieldUid() |
|
| 479 | - { |
|
| 445 | + public function getGndFieldUid() { |
|
| 480 | 446 | return $this->gndFieldUid; |
| 481 | 447 | } |
| 482 | 448 | |
| 483 | 449 | /** |
| 484 | 450 | * @param string $gndFieldUid |
| 485 | 451 | */ |
| 486 | - public function setGndFieldUid($gndFieldUid) |
|
| 487 | - { |
|
| 452 | + public function setGndFieldUid($gndFieldUid) { |
|
| 488 | 453 | $this->gndFieldUid = $gndFieldUid; |
| 489 | 454 | } |
| 490 | 455 | |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | $modulName = 'qucosaMain'; |
| 22 | 22 | //Legt die Position des Moduls fest, hier nach Modul "web" |
| 23 | 23 | if (!isset($TBE_MODULES[$modulName])) { |
| 24 | - $temp_TBE_MODULES = array(); |
|
| 24 | + $temp_TBE_MODULES = array (); |
|
| 25 | 25 | foreach ($TBE_MODULES as $key => $val) { |
| 26 | 26 | if ($key == 'file') { |
| 27 | 27 | $temp_TBE_MODULES[$key] = $val; |
@@ -38,8 +38,8 @@ discard block |
||
| 38 | 38 | 'qucosaMain', |
| 39 | 39 | '', |
| 40 | 40 | '', |
| 41 | - array(), |
|
| 42 | - array( |
|
| 41 | + array (), |
|
| 42 | + array ( |
|
| 43 | 43 | 'access' => 'user,group', |
| 44 | 44 | 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_qucosa_mod_main.xlf', |
| 45 | 45 | ) |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | 'qucosaMain', |
| 51 | 51 | 'qucosamanager', |
| 52 | 52 | '', |
| 53 | - array( |
|
| 53 | + array ( |
|
| 54 | 54 | 'Document' => 'list, show, new, create, edit, update, delete, discard, release, duplicate, ' |
| 55 | 55 | . 'deleteConfirm, releaseConfirm, activateConfirm, inactivateConfirm, deleteConfirm, discardConfirm, restoreConfirm, ' |
| 56 | 56 | . 'listNew, listEdit, activate, inactivate, restore', |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | 'Search' => 'list, search, import, doubletCheck, nextResults, extendedSearch, latest', |
| 61 | 61 | 'Gnd' => 'search', |
| 62 | 62 | ), |
| 63 | - array( |
|
| 63 | + array ( |
|
| 64 | 64 | 'access' => 'user,group', |
| 65 | 65 | 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', |
| 66 | 66 | 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_qucosa_mod_manager.xlf', |
@@ -73,10 +73,10 @@ discard block |
||
| 73 | 73 | 'qucosaMain', |
| 74 | 74 | 'admin', |
| 75 | 75 | '', |
| 76 | - array( |
|
| 76 | + array ( |
|
| 77 | 77 | 'Client' => 'new,create,default', |
| 78 | 78 | ), |
| 79 | - array( |
|
| 79 | + array ( |
|
| 80 | 80 | 'access' => 'user,group', |
| 81 | 81 | 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', |
| 82 | 82 | 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_qucosa_mod_admin.xlf', |
@@ -20,27 +20,27 @@ discard block |
||
| 20 | 20 | die('Access denied.'); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | -$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['EWW\Dpf\Tasks\TransferTask'] = array( |
|
| 23 | +$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['EWW\Dpf\Tasks\TransferTask'] = array ( |
|
| 24 | 24 | 'extension' => $_EXTKEY, |
| 25 | 25 | 'title' => 'Qucosa-Dokumente ans Repository übertragen.', |
| 26 | 26 | 'description' => '', |
| 27 | 27 | ); |
| 28 | 28 | |
| 29 | 29 | if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers']) == false) { |
| 30 | - $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'] = array(); |
|
| 30 | + $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'] = array (); |
|
| 31 | 31 | } |
| 32 | 32 | $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'EWW\Dpf\Command\TransferCommandController'; |
| 33 | 33 | |
| 34 | 34 | \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( |
| 35 | 35 | 'EWW.' . $_EXTKEY, |
| 36 | 36 | 'Qucosaform', |
| 37 | - array( |
|
| 37 | + array ( |
|
| 38 | 38 | 'DocumentForm' => 'list,show,new,create,edit,update,delete,cancel', |
| 39 | 39 | 'AjaxDocumentForm' => 'group,fileGroup,field,deleteFile,primaryUpload,secondaryUpload,fillOut', |
| 40 | 40 | 'Gnd' => 'search', |
| 41 | 41 | ), |
| 42 | 42 | // non-cacheable actions |
| 43 | - array( |
|
| 43 | + array ( |
|
| 44 | 44 | 'DocumentForm' => 'list,show,new,create,edit,update,delete,cancel,ajaxGroup,ajaxFileGroup,ajaxField', |
| 45 | 45 | 'AjaxDocumentForm' => 'group,fileGroup,field,deleteFile,primaryUpload,secondaryUpload,fillOut', |
| 46 | 46 | 'Gnd' => 'search', |
@@ -50,11 +50,11 @@ discard block |
||
| 50 | 50 | \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( |
| 51 | 51 | 'EWW.' . $_EXTKEY, |
| 52 | 52 | 'Frontendsearch', |
| 53 | - array( |
|
| 53 | + array ( |
|
| 54 | 54 | 'SearchFE' => 'search,extendedSearch,showSearchForm', |
| 55 | 55 | ), |
| 56 | 56 | // non-cacheable actions |
| 57 | - array( |
|
| 57 | + array ( |
|
| 58 | 58 | 'SearchFE' => 'search,extendedSearch' |
| 59 | 59 | ) |
| 60 | 60 | ); |
@@ -62,11 +62,11 @@ discard block |
||
| 62 | 62 | \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( |
| 63 | 63 | 'EWW.' . $_EXTKEY, |
| 64 | 64 | 'Getfile', |
| 65 | - array( |
|
| 65 | + array ( |
|
| 66 | 66 | 'GetFile' => 'attachment', |
| 67 | 67 | ), |
| 68 | 68 | // non-cacheable actions |
| 69 | - array( |
|
| 69 | + array ( |
|
| 70 | 70 | 'GetFile' => 'attachment', |
| 71 | 71 | ) |
| 72 | 72 | ); |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | 'description' => '', |
| 27 | 27 | ); |
| 28 | 28 | |
| 29 | -if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers']) == false) { |
|
| 29 | +if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers']) == FALSE) { |
|
| 30 | 30 | $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'] = array(); |
| 31 | 31 | } |
| 32 | 32 | $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'EWW\Dpf\Command\TransferCommandController'; |
@@ -72,15 +72,15 @@ discard block |
||
| 72 | 72 | ); |
| 73 | 73 | |
| 74 | 74 | |
| 75 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'Classes/Plugins/MetaTags/MetaTags.php', '_metatags', 'list_type', true); |
|
| 75 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'Classes/Plugins/MetaTags/MetaTags.php', '_metatags', 'list_type', TRUE); |
|
| 76 | 76 | $overrideSetup = 'plugin.tx_dpf_metatags.userFunc = EWW\Dpf\Plugins\MetaTags\MetaTags->main'; |
| 77 | 77 | \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', $overrideSetup); |
| 78 | 78 | |
| 79 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'Classes/Plugins/DownloadTool/DownloadTool.php', '_downloadtool', 'list_type', true); |
|
| 79 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'Classes/Plugins/DownloadTool/DownloadTool.php', '_downloadtool', 'list_type', TRUE); |
|
| 80 | 80 | $overrideSetup = 'plugin.tx_dpf_downloadtool.userFunc = EWW\Dpf\Plugins\DownloadTool\DownloadTool->main'; |
| 81 | 81 | \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', $overrideSetup); |
| 82 | 82 | |
| 83 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'Classes/Plugins/RelatedListTool/RelatedListTool.php', '_relatedlisttool', 'list_type', true); |
|
| 83 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'Classes/Plugins/RelatedListTool/RelatedListTool.php', '_relatedlisttool', 'list_type', TRUE); |
|
| 84 | 84 | $overrideSetup = 'plugin.tx_dpf_relatedlisttool.userFunc = EWW\Dpf\Plugins\RelatedListTool\RelatedListTool->main'; |
| 85 | 85 | \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', $overrideSetup); |
| 86 | 86 | |
@@ -14,8 +14,7 @@ discard block |
||
| 14 | 14 | * The TYPO3 project - inspiring people to share! |
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | -class TransferCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandController |
|
| 18 | -{ |
|
| 17 | +class TransferCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandController { |
|
| 19 | 18 | |
| 20 | 19 | /** |
| 21 | 20 | * metadataObjectRepository |
@@ -33,8 +32,7 @@ discard block |
||
| 33 | 32 | */ |
| 34 | 33 | protected $objectManager; |
| 35 | 34 | |
| 36 | - public function transferCommand() |
|
| 37 | - { |
|
| 35 | + public function transferCommand() { |
|
| 38 | 36 | $success = true; |
| 39 | 37 | return true; |
| 40 | 38 | } |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | * @var \EWW\Dpf\Domain\Repository\MetadataObjectRepository |
| 24 | 24 | * @inject |
| 25 | 25 | */ |
| 26 | - protected $metadataObjectRepository = null; |
|
| 26 | + protected $metadataObjectRepository = NULL; |
|
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * objectManager |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | |
| 36 | 36 | public function transferCommand() |
| 37 | 37 | { |
| 38 | - $success = true; |
|
| 39 | - return true; |
|
| 38 | + $success = TRUE; |
|
| 39 | + return TRUE; |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -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 | |
| 20 | 19 | protected $value; |
| 21 | 20 | |
@@ -50,13 +49,11 @@ discard block |
||
| 50 | 49 | */ |
| 51 | 50 | protected $consent; |
| 52 | 51 | |
| 53 | - public function getValue() |
|
| 54 | - { |
|
| 52 | + public function getValue() { |
|
| 55 | 53 | return $this->value; |
| 56 | 54 | } |
| 57 | 55 | |
| 58 | - public function setValue($value, $defaultValue = '') |
|
| 59 | - { |
|
| 56 | + public function setValue($value, $defaultValue = '') { |
|
| 60 | 57 | |
| 61 | 58 | $this->hasDefaultValue = !empty($defaultValue); |
| 62 | 59 | |
@@ -87,13 +84,11 @@ discard block |
||
| 87 | 84 | } |
| 88 | 85 | } |
| 89 | 86 | |
| 90 | - public function getInputField() |
|
| 91 | - { |
|
| 87 | + public function getInputField() { |
|
| 92 | 88 | return $this->inputField; |
| 93 | 89 | } |
| 94 | 90 | |
| 95 | - public function setInputField($inputField) |
|
| 96 | - { |
|
| 91 | + public function setInputField($inputField) { |
|
| 97 | 92 | $this->inputField = $inputField; |
| 98 | 93 | } |
| 99 | 94 | |
@@ -101,8 +96,7 @@ discard block |
||
| 101 | 96 | * |
| 102 | 97 | * @return array |
| 103 | 98 | */ |
| 104 | - public function getInputOptions() |
|
| 105 | - { |
|
| 99 | + public function getInputOptions() { |
|
| 106 | 100 | return $this->inputOptions; |
| 107 | 101 | } |
| 108 | 102 | |
@@ -110,8 +104,7 @@ discard block |
||
| 110 | 104 | * |
| 111 | 105 | * @param \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList |
| 112 | 106 | */ |
| 113 | - public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) |
|
| 114 | - { |
|
| 107 | + public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) { |
|
| 115 | 108 | |
| 116 | 109 | $this->inputOptions = array(); |
| 117 | 110 | |
@@ -131,8 +124,7 @@ discard block |
||
| 131 | 124 | * |
| 132 | 125 | * @return string $fillOutService |
| 133 | 126 | */ |
| 134 | - public function getFillOutService() |
|
| 135 | - { |
|
| 127 | + public function getFillOutService() { |
|
| 136 | 128 | return $this->fillOutService; |
| 137 | 129 | } |
| 138 | 130 | |
@@ -142,8 +134,7 @@ discard block |
||
| 142 | 134 | * @param string $fillOutService |
| 143 | 135 | * @return void |
| 144 | 136 | */ |
| 145 | - public function setFillOutService($fillOutService) |
|
| 146 | - { |
|
| 137 | + public function setFillOutService($fillOutService) { |
|
| 147 | 138 | $this->fillOutService = $fillOutService; |
| 148 | 139 | } |
| 149 | 140 | |
@@ -152,8 +143,7 @@ discard block |
||
| 152 | 143 | * |
| 153 | 144 | * @return boolean $consent |
| 154 | 145 | */ |
| 155 | - public function getConsent() |
|
| 156 | - { |
|
| 146 | + public function getConsent() { |
|
| 157 | 147 | return $this->consent; |
| 158 | 148 | } |
| 159 | 149 | |
@@ -163,23 +153,19 @@ discard block |
||
| 163 | 153 | * @param boolean $consent |
| 164 | 154 | * @return void |
| 165 | 155 | */ |
| 166 | - public function setConsent($consent) |
|
| 167 | - { |
|
| 156 | + public function setConsent($consent) { |
|
| 168 | 157 | $this->consent = $consent; |
| 169 | 158 | } |
| 170 | 159 | |
| 171 | - public function getHasDefaultValue() |
|
| 172 | - { |
|
| 160 | + public function getHasDefaultValue() { |
|
| 173 | 161 | return $this->hasDefaultValue; |
| 174 | 162 | } |
| 175 | 163 | |
| 176 | - public function getValidation() |
|
| 177 | - { |
|
| 164 | + public function getValidation() { |
|
| 178 | 165 | return $this->validation; |
| 179 | 166 | } |
| 180 | 167 | |
| 181 | - public function setValidation($validation) |
|
| 182 | - { |
|
| 168 | + public function setValidation($validation) { |
|
| 183 | 169 | $this->validation = $validation; |
| 184 | 170 | } |
| 185 | 171 | |
@@ -188,8 +174,7 @@ discard block |
||
| 188 | 174 | * |
| 189 | 175 | * @return string |
| 190 | 176 | */ |
| 191 | - public function getDataType() |
|
| 192 | - { |
|
| 177 | + public function getDataType() { |
|
| 193 | 178 | return $this->dataType; |
| 194 | 179 | } |
| 195 | 180 | |
@@ -199,8 +184,7 @@ discard block |
||
| 199 | 184 | * @param string $dataType |
| 200 | 185 | * @return void |
| 201 | 186 | */ |
| 202 | - public function setDataType($dataType) |
|
| 203 | - { |
|
| 187 | + public function setDataType($dataType) { |
|
| 204 | 188 | $this->dataType = $dataType; |
| 205 | 189 | } |
| 206 | 190 | |