@@ -9,8 +9,8 @@ discard block |
||
| 9 | 9 | * LICENSE.txt file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -return array ( |
|
| 13 | - 'ctrl' => array ( |
|
| 12 | +return array( |
|
| 13 | + 'ctrl' => array( |
|
| 14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats', |
| 15 | 15 | 'label' => 'type', |
| 16 | 16 | 'tstamp' => 'tstamp', |
@@ -23,43 +23,43 @@ discard block |
||
| 23 | 23 | 'dividers2tabs' => 2, |
| 24 | 24 | 'searchFields' => 'type,class', |
| 25 | 25 | ), |
| 26 | - 'feInterface' => array ( |
|
| 26 | + 'feInterface' => array( |
|
| 27 | 27 | 'fe_admin_fieldList' => '', |
| 28 | 28 | ), |
| 29 | - 'interface' => array ( |
|
| 29 | + 'interface' => array( |
|
| 30 | 30 | 'showRecordFieldList' => 'type,class', |
| 31 | 31 | ), |
| 32 | - 'columns' => array ( |
|
| 33 | - 'type' => array ( |
|
| 32 | + 'columns' => array( |
|
| 33 | + 'type' => array( |
|
| 34 | 34 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.type', |
| 35 | - 'config' => array ( |
|
| 35 | + 'config' => array( |
|
| 36 | 36 | 'type' => 'input', |
| 37 | 37 | 'size' => 30, |
| 38 | 38 | 'max' => 255, |
| 39 | 39 | 'eval' => 'required,nospace,alphanum_x,unique', |
| 40 | 40 | ), |
| 41 | 41 | ), |
| 42 | - 'root' => array ( |
|
| 42 | + 'root' => array( |
|
| 43 | 43 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root', |
| 44 | - 'config' => array ( |
|
| 44 | + 'config' => array( |
|
| 45 | 45 | 'type' => 'input', |
| 46 | 46 | 'size' => 30, |
| 47 | 47 | 'max' => 255, |
| 48 | 48 | 'eval' => 'required,nospace,alphanum_x,unique', |
| 49 | 49 | ), |
| 50 | 50 | ), |
| 51 | - 'namespace' => array ( |
|
| 51 | + 'namespace' => array( |
|
| 52 | 52 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.namespace', |
| 53 | - 'config' => array ( |
|
| 53 | + 'config' => array( |
|
| 54 | 54 | 'type' => 'input', |
| 55 | 55 | 'size' => 30, |
| 56 | 56 | 'max' => 1024, |
| 57 | 57 | 'eval' => 'required,nospace,unique', |
| 58 | 58 | ), |
| 59 | 59 | ), |
| 60 | - 'class' => array ( |
|
| 60 | + 'class' => array( |
|
| 61 | 61 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.class', |
| 62 | - 'config' => array ( |
|
| 62 | + 'config' => array( |
|
| 63 | 63 | 'type' => 'input', |
| 64 | 64 | 'size' => 30, |
| 65 | 65 | 'max' => 1024, |
@@ -67,10 +67,10 @@ discard block |
||
| 67 | 67 | ), |
| 68 | 68 | ), |
| 69 | 69 | ), |
| 70 | - 'types' => array ( |
|
| 71 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'), |
|
| 70 | + 'types' => array( |
|
| 71 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'), |
|
| 72 | 72 | ), |
| 73 | - 'palettes' => array ( |
|
| 74 | - '1' => array ('showitem' => ''), |
|
| 73 | + 'palettes' => array( |
|
| 74 | + '1' => array('showitem' => ''), |
|
| 75 | 75 | ), |
| 76 | 76 | ); |
@@ -9,8 +9,8 @@ discard block |
||
| 9 | 9 | * LICENSE.txt file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -return array ( |
|
| 13 | - 'ctrl' => array ( |
|
| 12 | +return array( |
|
| 13 | + 'ctrl' => array( |
|
| 14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents', |
| 15 | 15 | 'label' => 'title', |
| 16 | 16 | 'tstamp' => 'tstamp', |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | 'cruser_id' => 'cruser_id', |
| 19 | 19 | 'default_sortby' => 'ORDER BY title_sorting', |
| 20 | 20 | 'delete' => 'deleted', |
| 21 | - 'enablecolumns' => array ( |
|
| 21 | + 'enablecolumns' => array( |
|
| 22 | 22 | 'disabled' => 'hidden', |
| 23 | 23 | 'starttime' => 'starttime', |
| 24 | 24 | 'endtime' => 'endtime', |
@@ -29,27 +29,27 @@ discard block |
||
| 29 | 29 | 'dividers2tabs' => 2, |
| 30 | 30 | 'searchFields' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn', |
| 31 | 31 | ), |
| 32 | - 'feInterface' => array ( |
|
| 32 | + 'feInterface' => array( |
|
| 33 | 33 | 'fe_admin_fieldList' => '', |
| 34 | 34 | ), |
| 35 | - 'interface' => array ( |
|
| 35 | + 'interface' => array( |
|
| 36 | 36 | 'showRecordFieldList' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn', |
| 37 | 37 | 'maxDBListItems' => 25, |
| 38 | 38 | 'maxSingleDBListItems' => 50, |
| 39 | 39 | ), |
| 40 | - 'columns' => array ( |
|
| 41 | - 'hidden' => array ( |
|
| 40 | + 'columns' => array( |
|
| 41 | + 'hidden' => array( |
|
| 42 | 42 | 'exclude' => 1, |
| 43 | 43 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
| 44 | - 'config' => array ( |
|
| 44 | + 'config' => array( |
|
| 45 | 45 | 'type' => 'check', |
| 46 | 46 | 'default' => 0, |
| 47 | 47 | ), |
| 48 | 48 | ), |
| 49 | - 'starttime' => array ( |
|
| 49 | + 'starttime' => array( |
|
| 50 | 50 | 'exclude' => 1, |
| 51 | 51 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', |
| 52 | - 'config' => array ( |
|
| 52 | + 'config' => array( |
|
| 53 | 53 | 'type' => 'input', |
| 54 | 54 | 'size' => '13', |
| 55 | 55 | 'max' => '20', |
@@ -57,10 +57,10 @@ discard block |
||
| 57 | 57 | 'default' => '0', |
| 58 | 58 | ), |
| 59 | 59 | ), |
| 60 | - 'endtime' => array ( |
|
| 60 | + 'endtime' => array( |
|
| 61 | 61 | 'exclude' => 1, |
| 62 | 62 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', |
| 63 | - 'config' => array ( |
|
| 63 | + 'config' => array( |
|
| 64 | 64 | 'type' => 'input', |
| 65 | 65 | 'size' => '13', |
| 66 | 66 | 'max' => '20', |
@@ -68,16 +68,16 @@ discard block |
||
| 68 | 68 | 'default' => '0', |
| 69 | 69 | ), |
| 70 | 70 | ), |
| 71 | - 'fe_group' => array ( |
|
| 71 | + 'fe_group' => array( |
|
| 72 | 72 | 'exclude' => 1, |
| 73 | 73 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', |
| 74 | - 'config' => array ( |
|
| 74 | + 'config' => array( |
|
| 75 | 75 | 'type' => 'select', |
| 76 | 76 | 'renderType' => 'selectMultipleSideBySide', |
| 77 | - 'items' => array ( |
|
| 78 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
| 79 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
| 80 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
| 77 | + 'items' => array( |
|
| 78 | + array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
| 79 | + array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
| 80 | + array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
| 81 | 81 | ), |
| 82 | 82 | 'foreign_table' => 'fe_groups', |
| 83 | 83 | 'size' => 5, |
@@ -87,148 +87,148 @@ discard block |
||
| 87 | 87 | 'exclusiveKeys' => '-1,-2', |
| 88 | 88 | ), |
| 89 | 89 | ), |
| 90 | - 'prod_id' => array ( |
|
| 90 | + 'prod_id' => array( |
|
| 91 | 91 | 'exclude' => 1, |
| 92 | 92 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.prod_id', |
| 93 | - 'config' => array ( |
|
| 93 | + 'config' => array( |
|
| 94 | 94 | 'type' => 'input', |
| 95 | 95 | 'size' => 30, |
| 96 | 96 | 'max' => 255, |
| 97 | 97 | 'eval' => 'nospace', |
| 98 | 98 | ), |
| 99 | 99 | ), |
| 100 | - 'location' => array ( |
|
| 100 | + 'location' => array( |
|
| 101 | 101 | 'exclude' => 1, |
| 102 | 102 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.location', |
| 103 | - 'config' => array ( |
|
| 103 | + 'config' => array( |
|
| 104 | 104 | 'type' => 'input', |
| 105 | 105 | 'size' => 30, |
| 106 | 106 | 'max' => 1024, |
| 107 | 107 | 'eval' => 'required,uniqueInPid', |
| 108 | 108 | ), |
| 109 | 109 | ), |
| 110 | - 'record_id' => array ( |
|
| 110 | + 'record_id' => array( |
|
| 111 | 111 | 'exclude' => 1, |
| 112 | 112 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.record_id', |
| 113 | - 'config' => array ( |
|
| 113 | + 'config' => array( |
|
| 114 | 114 | 'type' => 'input', |
| 115 | 115 | 'size' => 30, |
| 116 | 116 | 'max' => 255, |
| 117 | 117 | 'eval' => 'nospace,uniqueInPid', |
| 118 | 118 | ), |
| 119 | 119 | ), |
| 120 | - 'opac_id' => array ( |
|
| 120 | + 'opac_id' => array( |
|
| 121 | 121 | 'exclude' => 1, |
| 122 | 122 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.opac_id', |
| 123 | - 'config' => array ( |
|
| 123 | + 'config' => array( |
|
| 124 | 124 | 'type' => 'input', |
| 125 | 125 | 'size' => 30, |
| 126 | 126 | 'max' => 255, |
| 127 | 127 | 'eval' => 'nospace', |
| 128 | 128 | ), |
| 129 | 129 | ), |
| 130 | - 'union_id' => array ( |
|
| 130 | + 'union_id' => array( |
|
| 131 | 131 | 'exclude' => 1, |
| 132 | 132 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.union_id', |
| 133 | - 'config' => array ( |
|
| 133 | + 'config' => array( |
|
| 134 | 134 | 'type' => 'input', |
| 135 | 135 | 'size' => 30, |
| 136 | 136 | 'max' => 255, |
| 137 | 137 | 'eval' => 'nospace', |
| 138 | 138 | ), |
| 139 | 139 | ), |
| 140 | - 'urn' => array ( |
|
| 140 | + 'urn' => array( |
|
| 141 | 141 | 'exclude' => 1, |
| 142 | 142 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.urn', |
| 143 | - 'config' => array ( |
|
| 143 | + 'config' => array( |
|
| 144 | 144 | 'type' => 'input', |
| 145 | 145 | 'size' => 30, |
| 146 | 146 | 'max' => 255, |
| 147 | 147 | 'eval' => 'nospace', |
| 148 | 148 | ), |
| 149 | 149 | ), |
| 150 | - 'purl' => array ( |
|
| 150 | + 'purl' => array( |
|
| 151 | 151 | 'exclude' => 1, |
| 152 | 152 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.purl', |
| 153 | - 'config' => array ( |
|
| 153 | + 'config' => array( |
|
| 154 | 154 | 'type' => 'input', |
| 155 | 155 | 'size' => 30, |
| 156 | 156 | 'max' => 255, |
| 157 | 157 | 'eval' => 'nospace', |
| 158 | 158 | ), |
| 159 | 159 | ), |
| 160 | - 'title' => array ( |
|
| 160 | + 'title' => array( |
|
| 161 | 161 | 'exclude' => 1, |
| 162 | 162 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title', |
| 163 | - 'config' => array ( |
|
| 163 | + 'config' => array( |
|
| 164 | 164 | 'type' => 'input', |
| 165 | 165 | 'size' => 30, |
| 166 | 166 | 'max' => 1024, |
| 167 | 167 | 'eval' => 'trim', |
| 168 | 168 | ), |
| 169 | 169 | ), |
| 170 | - 'title_sorting' => array ( |
|
| 170 | + 'title_sorting' => array( |
|
| 171 | 171 | 'exclude' => 1, |
| 172 | 172 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title_sorting', |
| 173 | - 'config' => array ( |
|
| 173 | + 'config' => array( |
|
| 174 | 174 | 'type' => 'input', |
| 175 | 175 | 'size' => 30, |
| 176 | 176 | 'max' => 1024, |
| 177 | 177 | 'eval' => 'trim', |
| 178 | 178 | ), |
| 179 | 179 | ), |
| 180 | - 'author' => array ( |
|
| 180 | + 'author' => array( |
|
| 181 | 181 | 'exclude' => 1, |
| 182 | 182 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.author', |
| 183 | - 'config' => array ( |
|
| 183 | + 'config' => array( |
|
| 184 | 184 | 'type' => 'input', |
| 185 | 185 | 'size' => 30, |
| 186 | 186 | 'max' => 255, |
| 187 | 187 | 'eval' => 'trim', |
| 188 | 188 | ), |
| 189 | 189 | ), |
| 190 | - 'year' => array ( |
|
| 190 | + 'year' => array( |
|
| 191 | 191 | 'exclude' => 1, |
| 192 | 192 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.year', |
| 193 | - 'config' => array ( |
|
| 193 | + 'config' => array( |
|
| 194 | 194 | 'type' => 'input', |
| 195 | 195 | 'size' => 30, |
| 196 | 196 | 'max' => 255, |
| 197 | 197 | 'eval' => 'trim', |
| 198 | 198 | ), |
| 199 | 199 | ), |
| 200 | - 'place' => array ( |
|
| 200 | + 'place' => array( |
|
| 201 | 201 | 'exclude' => 1, |
| 202 | 202 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.place', |
| 203 | - 'config' => array ( |
|
| 203 | + 'config' => array( |
|
| 204 | 204 | 'type' => 'input', |
| 205 | 205 | 'size' => 30, |
| 206 | 206 | 'max' => 255, |
| 207 | 207 | 'eval' => 'trim', |
| 208 | 208 | ), |
| 209 | 209 | ), |
| 210 | - 'thumbnail' => array ( |
|
| 210 | + 'thumbnail' => array( |
|
| 211 | 211 | 'exclude' => 1, |
| 212 | 212 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail', |
| 213 | - 'config' => array ( |
|
| 213 | + 'config' => array( |
|
| 214 | 214 | 'type' => 'user', |
| 215 | 215 | 'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail', |
| 216 | 216 | ), |
| 217 | 217 | ), |
| 218 | - 'metadata' => array ( |
|
| 219 | - 'config' => array ( |
|
| 218 | + 'metadata' => array( |
|
| 219 | + 'config' => array( |
|
| 220 | 220 | 'type' => 'passthrough', |
| 221 | 221 | ), |
| 222 | 222 | ), |
| 223 | - 'metadata_sorting' => array ( |
|
| 224 | - 'config' => array ( |
|
| 223 | + 'metadata_sorting' => array( |
|
| 224 | + 'config' => array( |
|
| 225 | 225 | 'type' => 'passthrough', |
| 226 | 226 | ), |
| 227 | 227 | ), |
| 228 | - 'structure' => array ( |
|
| 228 | + 'structure' => array( |
|
| 229 | 229 | 'exclude' => 1, |
| 230 | 230 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.structure', |
| 231 | - 'config' => array ( |
|
| 231 | + 'config' => array( |
|
| 232 | 232 | 'type' => 'select', |
| 233 | 233 | 'renderType' => 'selectSingle', |
| 234 | 234 | 'foreign_table' => 'tx_dlf_structures', |
@@ -238,9 +238,9 @@ discard block |
||
| 238 | 238 | 'maxitems' => 1, |
| 239 | 239 | ), |
| 240 | 240 | ), |
| 241 | - 'partof' => array ( |
|
| 241 | + 'partof' => array( |
|
| 242 | 242 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof', |
| 243 | - 'config' => array ( |
|
| 243 | + 'config' => array( |
|
| 244 | 244 | 'type' => 'group', |
| 245 | 245 | 'internal_type' => 'db', |
| 246 | 246 | 'allowed' => 'tx_dlf_documents', |
@@ -254,30 +254,30 @@ discard block |
||
| 254 | 254 | 'readOnly' => 1, |
| 255 | 255 | ), |
| 256 | 256 | ), |
| 257 | - 'volume' => array ( |
|
| 257 | + 'volume' => array( |
|
| 258 | 258 | 'exclude' => 1, |
| 259 | 259 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume', |
| 260 | - 'config' => array ( |
|
| 260 | + 'config' => array( |
|
| 261 | 261 | 'type' => 'input', |
| 262 | 262 | 'size' => 30, |
| 263 | 263 | 'max' => 255, |
| 264 | 264 | 'eval' => 'trim', |
| 265 | 265 | ), |
| 266 | 266 | ), |
| 267 | - 'volume_sorting' => array ( |
|
| 267 | + 'volume_sorting' => array( |
|
| 268 | 268 | 'exclude' => 1, |
| 269 | 269 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume_sorting', |
| 270 | - 'config' => array ( |
|
| 270 | + 'config' => array( |
|
| 271 | 271 | 'type' => 'input', |
| 272 | 272 | 'size' => 30, |
| 273 | 273 | 'max' => 255, |
| 274 | 274 | 'eval' => 'trim', |
| 275 | 275 | ), |
| 276 | 276 | ), |
| 277 | - 'collections' => array ( |
|
| 277 | + 'collections' => array( |
|
| 278 | 278 | 'exclude' => 1, |
| 279 | 279 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.collections', |
| 280 | - 'config' => array ( |
|
| 280 | + 'config' => array( |
|
| 281 | 281 | 'type' => 'select', |
| 282 | 282 | 'renderType' => 'selectMultipleSideBySide', |
| 283 | 283 | 'foreign_table' => 'tx_dlf_collections', |
@@ -287,15 +287,15 @@ discard block |
||
| 287 | 287 | 'minitems' => 1, |
| 288 | 288 | 'maxitems' => 1024, |
| 289 | 289 | 'MM' => 'tx_dlf_relations', |
| 290 | - 'MM_match_fields' => array ( |
|
| 290 | + 'MM_match_fields' => array( |
|
| 291 | 291 | 'ident' => 'docs_colls', |
| 292 | 292 | ), |
| 293 | 293 | ), |
| 294 | 294 | ), |
| 295 | - 'owner' => array ( |
|
| 295 | + 'owner' => array( |
|
| 296 | 296 | 'exclude' => 1, |
| 297 | 297 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.owner', |
| 298 | - 'config' => array ( |
|
| 298 | + 'config' => array( |
|
| 299 | 299 | 'type' => 'select', |
| 300 | 300 | 'renderType' => 'selectSingle', |
| 301 | 301 | 'foreign_table' => 'tx_dlf_libraries', |
@@ -305,19 +305,19 @@ discard block |
||
| 305 | 305 | 'maxitems' => 1, |
| 306 | 306 | ), |
| 307 | 307 | ), |
| 308 | - 'solrcore' => array ( |
|
| 309 | - 'config' => array ( |
|
| 308 | + 'solrcore' => array( |
|
| 309 | + 'config' => array( |
|
| 310 | 310 | 'type' => 'passthrough', |
| 311 | 311 | ), |
| 312 | 312 | ), |
| 313 | - 'status' => array ( |
|
| 313 | + 'status' => array( |
|
| 314 | 314 | 'exclude' => 1, |
| 315 | 315 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status', |
| 316 | - 'config' => array ( |
|
| 316 | + 'config' => array( |
|
| 317 | 317 | 'type' => 'select', |
| 318 | 318 | 'renderType' => 'selectSingle', |
| 319 | - 'items' => array ( |
|
| 320 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0), |
|
| 319 | + 'items' => array( |
|
| 320 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0), |
|
| 321 | 321 | ), |
| 322 | 322 | 'size' => 1, |
| 323 | 323 | 'minitems' => 1, |
@@ -326,12 +326,12 @@ discard block |
||
| 326 | 326 | ), |
| 327 | 327 | ), |
| 328 | 328 | ), |
| 329 | - 'types' => array ( |
|
| 330 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title,--palette--;;1;;1-1-1, author, year, place, structure,--palette--;;2;;2-2-2, collections;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab2, location;;;;1-1-1, record_id, prod_id;;;;2-2-2, oai_id;;;;3-3-3, opac_id, union_id, urn, purl;;;;4-4-4, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab3, hidden,--palette--;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'), |
|
| 329 | + 'types' => array( |
|
| 330 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title,--palette--;;1;;1-1-1, author, year, place, structure,--palette--;;2;;2-2-2, collections;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab2, location;;;;1-1-1, record_id, prod_id;;;;2-2-2, oai_id;;;;3-3-3, opac_id, union_id, urn, purl;;;;4-4-4, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab3, hidden,--palette--;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'), |
|
| 331 | 331 | ), |
| 332 | - 'palettes' => array ( |
|
| 333 | - '1' => array ('showitem' => 'title_sorting', 'canNotCollapse' => 1), |
|
| 334 | - '2' => array ('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1), |
|
| 335 | - '3' => array ('showitem' => 'starttime, endtime', 'canNotCollapse' => 1), |
|
| 332 | + 'palettes' => array( |
|
| 333 | + '1' => array('showitem' => 'title_sorting', 'canNotCollapse' => 1), |
|
| 334 | + '2' => array('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1), |
|
| 335 | + '3' => array('showitem' => 'starttime, endtime', 'canNotCollapse' => 1), |
|
| 336 | 336 | ) |
| 337 | 337 | ); |
@@ -9,8 +9,8 @@ discard block |
||
| 9 | 9 | * LICENSE.txt file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -return array ( |
|
| 13 | - 'ctrl' => array ( |
|
| 12 | +return array( |
|
| 13 | + 'ctrl' => array( |
|
| 14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata', |
| 15 | 15 | 'label' => 'label', |
| 16 | 16 | 'tstamp' => 'tstamp', |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | 'transOrigDiffSourceField' => 'l18n_diffsource', |
| 22 | 22 | 'sortby' => 'sorting', |
| 23 | 23 | 'delete' => 'deleted', |
| 24 | - 'enablecolumns' => array ( |
|
| 24 | + 'enablecolumns' => array( |
|
| 25 | 25 | 'disabled' => 'hidden', |
| 26 | 26 | ), |
| 27 | 27 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfmetadata.png', |
@@ -29,89 +29,89 @@ discard block |
||
| 29 | 29 | 'dividers2tabs' => 2, |
| 30 | 30 | 'searchFields' => 'label,index_name', |
| 31 | 31 | ), |
| 32 | - 'feInterface' => array ( |
|
| 32 | + 'feInterface' => array( |
|
| 33 | 33 | 'fe_admin_fieldList' => '', |
| 34 | 34 | ), |
| 35 | - 'interface' => array ( |
|
| 35 | + 'interface' => array( |
|
| 36 | 36 | 'showRecordFieldList' => 'label,index_name,is_sortable,is_facet,is_listed,index_autocomplete', |
| 37 | 37 | ), |
| 38 | - 'columns' => array ( |
|
| 39 | - 'sys_language_uid' => array ( |
|
| 38 | + 'columns' => array( |
|
| 39 | + 'sys_language_uid' => array( |
|
| 40 | 40 | 'exclude' => 1, |
| 41 | 41 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
| 42 | - 'config' => array ( |
|
| 42 | + 'config' => array( |
|
| 43 | 43 | 'type' => 'select', |
| 44 | 44 | 'renderType' => 'selectSingle', |
| 45 | 45 | 'foreign_table' => 'sys_language', |
| 46 | 46 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 47 | - 'items' => array ( |
|
| 48 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
| 49 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
| 47 | + 'items' => array( |
|
| 48 | + array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
| 49 | + array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
| 50 | 50 | ), |
| 51 | 51 | 'default' => 0 |
| 52 | 52 | ), |
| 53 | 53 | ), |
| 54 | - 'l18n_parent' => array ( |
|
| 54 | + 'l18n_parent' => array( |
|
| 55 | 55 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 56 | 56 | 'exclude' => 1, |
| 57 | 57 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
| 58 | - 'config' => array ( |
|
| 58 | + 'config' => array( |
|
| 59 | 59 | 'type' => 'select', |
| 60 | 60 | 'renderType' => 'selectSingle', |
| 61 | - 'items' => array ( |
|
| 62 | - array ('', 0), |
|
| 61 | + 'items' => array( |
|
| 62 | + array('', 0), |
|
| 63 | 63 | ), |
| 64 | 64 | 'foreign_table' => 'tx_dlf_metadata', |
| 65 | 65 | 'foreign_table_where' => 'AND tx_dlf_metadata.pid=###CURRENT_PID### AND tx_dlf_metadata.sys_language_uid IN (-1,0) ORDER BY label ASC', |
| 66 | 66 | ), |
| 67 | 67 | ), |
| 68 | - 'l18n_diffsource' => array ( |
|
| 69 | - 'config' => array ( |
|
| 68 | + 'l18n_diffsource' => array( |
|
| 69 | + 'config' => array( |
|
| 70 | 70 | 'type' => 'passthrough' |
| 71 | 71 | ), |
| 72 | 72 | ), |
| 73 | - 'hidden' => array ( |
|
| 73 | + 'hidden' => array( |
|
| 74 | 74 | 'exclude' => 1, |
| 75 | 75 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
| 76 | - 'config' => array ( |
|
| 76 | + 'config' => array( |
|
| 77 | 77 | 'type' => 'check', |
| 78 | 78 | 'default' => 0, |
| 79 | 79 | ), |
| 80 | 80 | ), |
| 81 | - 'label' => array ( |
|
| 81 | + 'label' => array( |
|
| 82 | 82 | 'exclude' => 1, |
| 83 | 83 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.label', |
| 84 | - 'config' => array ( |
|
| 84 | + 'config' => array( |
|
| 85 | 85 | 'type' => 'input', |
| 86 | 86 | 'size' => 30, |
| 87 | 87 | 'max' => 255, |
| 88 | 88 | 'eval' => 'required,trim', |
| 89 | 89 | ), |
| 90 | 90 | ), |
| 91 | - 'index_name' => array ( |
|
| 91 | + 'index_name' => array( |
|
| 92 | 92 | 'exclude' => 1, |
| 93 | 93 | 'l10n_mode' => 'exclude', |
| 94 | 94 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_name', |
| 95 | - 'config' => array ( |
|
| 95 | + 'config' => array( |
|
| 96 | 96 | 'type' => 'input', |
| 97 | 97 | 'size' => 30, |
| 98 | 98 | 'max' => 255, |
| 99 | 99 | 'eval' => 'required,nospace,alphanum_x,uniqueInPid', |
| 100 | 100 | ), |
| 101 | 101 | ), |
| 102 | - 'format' => array ( |
|
| 102 | + 'format' => array( |
|
| 103 | 103 | 'exclude' => 1, |
| 104 | 104 | 'l10n_mode' => 'exclude', |
| 105 | 105 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.format', |
| 106 | - 'config' => array ( |
|
| 106 | + 'config' => array( |
|
| 107 | 107 | 'type' => 'inline', |
| 108 | 108 | 'foreign_table' => 'tx_dlf_metadataformat', |
| 109 | 109 | 'foreign_field' => 'parent_id', |
| 110 | 110 | 'foreign_unique' => 'encoded', |
| 111 | - 'appearance' => array ( |
|
| 111 | + 'appearance' => array( |
|
| 112 | 112 | 'expandSingle' => 1, |
| 113 | 113 | 'levelLinksPosition' => 'bottom', |
| 114 | - 'enabledControls' => array ( |
|
| 114 | + 'enabledControls' => array( |
|
| 115 | 115 | 'info' => 0, |
| 116 | 116 | 'new' => 1, |
| 117 | 117 | 'dragdrop' => 0, |
@@ -123,21 +123,21 @@ discard block |
||
| 123 | 123 | ), |
| 124 | 124 | ), |
| 125 | 125 | ), |
| 126 | - 'default_value' => array ( |
|
| 126 | + 'default_value' => array( |
|
| 127 | 127 | 'exclude' => 1, |
| 128 | 128 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.default_value', |
| 129 | - 'config' => array ( |
|
| 129 | + 'config' => array( |
|
| 130 | 130 | 'type' => 'input', |
| 131 | 131 | 'size' => 30, |
| 132 | 132 | 'max' => 1024, |
| 133 | 133 | 'eval' => 'trim', |
| 134 | 134 | ), |
| 135 | 135 | ), |
| 136 | - 'wrap' => array ( |
|
| 136 | + 'wrap' => array( |
|
| 137 | 137 | 'exclude' => 1, |
| 138 | 138 | 'l10n_mode' => 'mergeIfNotBlank', |
| 139 | 139 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.wrap', |
| 140 | - 'config' => array ( |
|
| 140 | + 'config' => array( |
|
| 141 | 141 | 'type' => 'text', |
| 142 | 142 | 'cols' => 48, |
| 143 | 143 | 'rows' => 20, |
@@ -147,38 +147,38 @@ discard block |
||
| 147 | 147 | ), |
| 148 | 148 | 'defaultExtras' => 'nowrap:fixed-font:enable-tab', |
| 149 | 149 | ), |
| 150 | - 'index_tokenized' => array ( |
|
| 150 | + 'index_tokenized' => array( |
|
| 151 | 151 | 'exclude' => 1, |
| 152 | 152 | 'l10n_mode' => 'exclude', |
| 153 | 153 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_tokenized', |
| 154 | - 'config' => array ( |
|
| 154 | + 'config' => array( |
|
| 155 | 155 | 'type' => 'check', |
| 156 | 156 | 'default' => 0, |
| 157 | 157 | ), |
| 158 | 158 | ), |
| 159 | - 'index_stored' => array ( |
|
| 159 | + 'index_stored' => array( |
|
| 160 | 160 | 'exclude' => 1, |
| 161 | 161 | 'l10n_mode' => 'exclude', |
| 162 | 162 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_stored', |
| 163 | - 'config' => array ( |
|
| 163 | + 'config' => array( |
|
| 164 | 164 | 'type' => 'check', |
| 165 | 165 | 'default' => 0, |
| 166 | 166 | ), |
| 167 | 167 | ), |
| 168 | - 'index_indexed' => array ( |
|
| 168 | + 'index_indexed' => array( |
|
| 169 | 169 | 'exclude' => 1, |
| 170 | 170 | 'l10n_mode' => 'exclude', |
| 171 | 171 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_indexed', |
| 172 | - 'config' => array ( |
|
| 172 | + 'config' => array( |
|
| 173 | 173 | 'type' => 'check', |
| 174 | 174 | 'default' => 1, |
| 175 | 175 | ), |
| 176 | 176 | ), |
| 177 | - 'index_boost' => array ( |
|
| 177 | + 'index_boost' => array( |
|
| 178 | 178 | 'exclude' => 1, |
| 179 | 179 | 'l10n_mode' => 'exclude', |
| 180 | 180 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_boost', |
| 181 | - 'config' => array ( |
|
| 181 | + 'config' => array( |
|
| 182 | 182 | 'type' => 'input', |
| 183 | 183 | 'size' => 5, |
| 184 | 184 | 'max' => 64, |
@@ -186,51 +186,51 @@ discard block |
||
| 186 | 186 | 'eval' => 'double2', |
| 187 | 187 | ), |
| 188 | 188 | ), |
| 189 | - 'is_sortable' => array ( |
|
| 189 | + 'is_sortable' => array( |
|
| 190 | 190 | 'exclude' => 1, |
| 191 | 191 | 'l10n_mode' => 'exclude', |
| 192 | 192 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_sortable', |
| 193 | - 'config' => array ( |
|
| 193 | + 'config' => array( |
|
| 194 | 194 | 'type' => 'check', |
| 195 | 195 | 'default' => 0, |
| 196 | 196 | ), |
| 197 | 197 | ), |
| 198 | - 'is_facet' => array ( |
|
| 198 | + 'is_facet' => array( |
|
| 199 | 199 | 'exclude' => 1, |
| 200 | 200 | 'l10n_mode' => 'exclude', |
| 201 | 201 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_facet', |
| 202 | - 'config' => array ( |
|
| 202 | + 'config' => array( |
|
| 203 | 203 | 'type' => 'check', |
| 204 | 204 | 'default' => 0, |
| 205 | 205 | ), |
| 206 | 206 | ), |
| 207 | - 'is_listed' => array ( |
|
| 207 | + 'is_listed' => array( |
|
| 208 | 208 | 'exclude' => 1, |
| 209 | 209 | 'l10n_mode' => 'exclude', |
| 210 | 210 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_listed', |
| 211 | - 'config' => array ( |
|
| 211 | + 'config' => array( |
|
| 212 | 212 | 'type' => 'check', |
| 213 | 213 | 'default' => 0, |
| 214 | 214 | ), |
| 215 | 215 | ), |
| 216 | - 'index_autocomplete' => array ( |
|
| 216 | + 'index_autocomplete' => array( |
|
| 217 | 217 | 'exclude' => 1, |
| 218 | 218 | 'l10n_mode' => 'exclude', |
| 219 | 219 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_autocomplete', |
| 220 | - 'config' => array ( |
|
| 220 | + 'config' => array( |
|
| 221 | 221 | 'type' => 'check', |
| 222 | 222 | 'default' => 0, |
| 223 | 223 | ), |
| 224 | 224 | ), |
| 225 | - 'status' => array ( |
|
| 225 | + 'status' => array( |
|
| 226 | 226 | 'exclude' => 1, |
| 227 | 227 | 'l10n_mode' => 'exclude', |
| 228 | 228 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status', |
| 229 | - 'config' => array ( |
|
| 229 | + 'config' => array( |
|
| 230 | 230 | 'type' => 'select', |
| 231 | 231 | 'renderType' => 'selectSingle', |
| 232 | - 'items' => array ( |
|
| 233 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status.default', 0), |
|
| 232 | + 'items' => array( |
|
| 233 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status.default', 0), |
|
| 234 | 234 | ), |
| 235 | 235 | 'size' => 1, |
| 236 | 236 | 'minitems' => 1, |
@@ -239,10 +239,10 @@ discard block |
||
| 239 | 239 | ), |
| 240 | 240 | ), |
| 241 | 241 | ), |
| 242 | - 'types' => array ( |
|
| 243 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab1, label,--palette--;;1;;1-1-1, format;;;;2-2-2, default_value;;;;3-3-3, wrap, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab3, hidden;;;;1-1-1, status;;;;2-2-2'), |
|
| 242 | + 'types' => array( |
|
| 243 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab1, label,--palette--;;1;;1-1-1, format;;;;2-2-2, default_value;;;;3-3-3, wrap, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab3, hidden;;;;1-1-1, status;;;;2-2-2'), |
|
| 244 | 244 | ), |
| 245 | - 'palettes' => array ( |
|
| 246 | - '1' => array ('showitem' => 'index_name, --linebreak--, index_tokenized, index_stored, index_indexed, index_boost, --linebreak--, is_sortable, is_facet, is_listed, index_autocomplete', 'canNotCollapse' => 1), |
|
| 245 | + 'palettes' => array( |
|
| 246 | + '1' => array('showitem' => 'index_name, --linebreak--, index_tokenized, index_stored, index_indexed, index_boost, --linebreak--, is_sortable, is_facet, is_listed, index_autocomplete', 'canNotCollapse' => 1), |
|
| 247 | 247 | ), |
| 248 | 248 | ); |
@@ -9,8 +9,8 @@ discard block |
||
| 9 | 9 | * LICENSE.txt file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -return array ( |
|
| 13 | - 'ctrl' => array ( |
|
| 12 | +return array( |
|
| 13 | + 'ctrl' => array( |
|
| 14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores', |
| 15 | 15 | 'label' => 'label', |
| 16 | 16 | 'tstamp' => 'tstamp', |
@@ -23,25 +23,25 @@ discard block |
||
| 23 | 23 | 'dividers2tabs' => 2, |
| 24 | 24 | 'searchFields' => 'label,index_name', |
| 25 | 25 | ), |
| 26 | - 'feInterface' => array ( |
|
| 26 | + 'feInterface' => array( |
|
| 27 | 27 | 'fe_admin_fieldList' => '', |
| 28 | 28 | ), |
| 29 | - 'interface' => array ( |
|
| 29 | + 'interface' => array( |
|
| 30 | 30 | 'showRecordFieldList' => 'label,index_name', |
| 31 | 31 | ), |
| 32 | - 'columns' => array ( |
|
| 33 | - 'label' => array ( |
|
| 32 | + 'columns' => array( |
|
| 33 | + 'label' => array( |
|
| 34 | 34 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.label', |
| 35 | - 'config' => array ( |
|
| 35 | + 'config' => array( |
|
| 36 | 36 | 'type' => 'input', |
| 37 | 37 | 'size' => 30, |
| 38 | 38 | 'max' => 255, |
| 39 | 39 | 'eval' => 'required,trim', |
| 40 | 40 | ), |
| 41 | 41 | ), |
| 42 | - 'index_name' => array ( |
|
| 42 | + 'index_name' => array( |
|
| 43 | 43 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.index_name', |
| 44 | - 'config' => array ( |
|
| 44 | + 'config' => array( |
|
| 45 | 45 | 'type' => 'none', |
| 46 | 46 | 'size' => 30, |
| 47 | 47 | 'max' => 255, |
@@ -49,10 +49,10 @@ discard block |
||
| 49 | 49 | ), |
| 50 | 50 | ), |
| 51 | 51 | ), |
| 52 | - 'types' => array ( |
|
| 53 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.tab1, label;;;;1-1-1, index_name;;;;2-2-2'), |
|
| 52 | + 'types' => array( |
|
| 53 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.tab1, label;;;;1-1-1, index_name;;;;2-2-2'), |
|
| 54 | 54 | ), |
| 55 | - 'palettes' => array ( |
|
| 56 | - '1' => array ('showitem' => ''), |
|
| 55 | + 'palettes' => array( |
|
| 56 | + '1' => array('showitem' => ''), |
|
| 57 | 57 | ), |
| 58 | 58 | ); |
@@ -9,8 +9,8 @@ discard block |
||
| 9 | 9 | * LICENSE.txt file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -return array ( |
|
| 13 | - 'ctrl' => array ( |
|
| 12 | +return array( |
|
| 13 | + 'ctrl' => array( |
|
| 14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
| 15 | 15 | 'label' => 'label', |
| 16 | 16 | 'sortby' => 'sorting', |
@@ -20,34 +20,34 @@ discard block |
||
| 20 | 20 | 'dividers2tabs' => 2, |
| 21 | 21 | 'searchFields' => 'label,name,mail', |
| 22 | 22 | ), |
| 23 | - 'interface' => array ( |
|
| 23 | + 'interface' => array( |
|
| 24 | 24 | 'showRecordFieldList' => 'label,name,mail', |
| 25 | 25 | ), |
| 26 | - 'feInterface' => array ( |
|
| 26 | + 'feInterface' => array( |
|
| 27 | 27 | 'fe_admin_fieldList' => '', |
| 28 | 28 | ), |
| 29 | - 'columns' => array ( |
|
| 30 | - 'label' => array ( |
|
| 29 | + 'columns' => array( |
|
| 30 | + 'label' => array( |
|
| 31 | 31 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
| 32 | - 'config' => array ( |
|
| 32 | + 'config' => array( |
|
| 33 | 33 | 'type' => 'input', |
| 34 | 34 | 'size' => 30, |
| 35 | 35 | 'max' => 255, |
| 36 | 36 | 'eval' => 'required', |
| 37 | 37 | ), |
| 38 | 38 | ), |
| 39 | - 'name' => array ( |
|
| 39 | + 'name' => array( |
|
| 40 | 40 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.name', |
| 41 | - 'config' => array ( |
|
| 41 | + 'config' => array( |
|
| 42 | 42 | 'type' => 'input', |
| 43 | 43 | 'size' => 30, |
| 44 | 44 | 'max' => 255, |
| 45 | 45 | 'eval' => '', |
| 46 | 46 | ), |
| 47 | 47 | ), |
| 48 | - 'mail' => array ( |
|
| 48 | + 'mail' => array( |
|
| 49 | 49 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.mail', |
| 50 | - 'config' => array ( |
|
| 50 | + 'config' => array( |
|
| 51 | 51 | 'type' => 'input', |
| 52 | 52 | 'size' => 30, |
| 53 | 53 | 'max' => 255, |
@@ -55,10 +55,10 @@ discard block |
||
| 55 | 55 | ), |
| 56 | 56 | ), |
| 57 | 57 | ), |
| 58 | - 'types' => array ( |
|
| 59 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'), |
|
| 58 | + 'types' => array( |
|
| 59 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'), |
|
| 60 | 60 | ), |
| 61 | - 'palettes' => array ( |
|
| 62 | - '1' => array ('showitem' => ''), |
|
| 61 | + 'palettes' => array( |
|
| 62 | + '1' => array('showitem' => ''), |
|
| 63 | 63 | ), |
| 64 | 64 | ); |
| 65 | 65 | \ No newline at end of file |
@@ -9,8 +9,8 @@ discard block |
||
| 9 | 9 | * LICENSE.txt file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -return array ( |
|
| 13 | - 'ctrl' => array ( |
|
| 12 | +return array( |
|
| 13 | + 'ctrl' => array( |
|
| 14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer', |
| 15 | 15 | 'label' => 'label', |
| 16 | 16 | 'default_sortby' => 'ORDER BY label', |
@@ -20,25 +20,25 @@ discard block |
||
| 20 | 20 | 'dividers2tabs' => 2, |
| 21 | 21 | 'searchFields' => 'label,print', |
| 22 | 22 | ), |
| 23 | - 'interface' => array ( |
|
| 23 | + 'interface' => array( |
|
| 24 | 24 | 'showRecordFieldList' => 'label,name,address', |
| 25 | 25 | ), |
| 26 | - 'feInterface' => array ( |
|
| 26 | + 'feInterface' => array( |
|
| 27 | 27 | 'fe_admin_fieldList' => '', |
| 28 | 28 | ), |
| 29 | - 'columns' => array ( |
|
| 30 | - 'label' => array ( |
|
| 29 | + 'columns' => array( |
|
| 30 | + 'label' => array( |
|
| 31 | 31 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer.label', |
| 32 | - 'config' => array ( |
|
| 32 | + 'config' => array( |
|
| 33 | 33 | 'type' => 'input', |
| 34 | 34 | 'size' => 30, |
| 35 | 35 | 'max' => 255, |
| 36 | 36 | 'eval' => 'required,trim', |
| 37 | 37 | ), |
| 38 | 38 | ), |
| 39 | - 'print' => array ( |
|
| 39 | + 'print' => array( |
|
| 40 | 40 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer.printcommand', |
| 41 | - 'config' => array ( |
|
| 41 | + 'config' => array( |
|
| 42 | 42 | 'type' => 'input', |
| 43 | 43 | 'size' => 30, |
| 44 | 44 | 'max' => 255, |
@@ -46,10 +46,10 @@ discard block |
||
| 46 | 46 | ), |
| 47 | 47 | ), |
| 48 | 48 | ), |
| 49 | - 'types' => array ( |
|
| 50 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_printer.tab1, label;;;;1-1-1, print;;;;2-2-2'), |
|
| 49 | + 'types' => array( |
|
| 50 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_printer.tab1, label;;;;1-1-1, print;;;;2-2-2'), |
|
| 51 | 51 | ), |
| 52 | - 'palettes' => array ( |
|
| 53 | - '1' => array ('showitem' => ''), |
|
| 52 | + 'palettes' => array( |
|
| 53 | + '1' => array('showitem' => ''), |
|
| 54 | 54 | ), |
| 55 | 55 | ); |
| 56 | 56 | \ No newline at end of file |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * @author Donovan Jimenez <[email protected]> |
| 37 | 37 | */ |
| 38 | 38 | |
| 39 | -require_once(dirname(__FILE__) . '/ParserException.php'); |
|
| 39 | +require_once(dirname(__FILE__).'/ParserException.php'); |
|
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * Represents a Solr response. Parses the raw response into a set of stdClass objects |
@@ -38,9 +38,9 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | // See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1) |
| 40 | 40 | // Doesn't follow typical include path conventions, but is more convenient for users |
| 41 | -require_once(dirname(dirname(__FILE__)) . '/Service.php'); |
|
| 41 | +require_once(dirname(dirname(__FILE__)).'/Service.php'); |
|
| 42 | 42 | |
| 43 | -require_once(dirname(dirname(__FILE__)) . '/NoServiceAvailableException.php'); |
|
| 43 | +require_once(dirname(dirname(__FILE__)).'/NoServiceAvailableException.php'); |
|
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * Reference Implementation for using multiple Solr services in a distribution. Functionality |
@@ -72,10 +72,10 @@ discard block |
||
| 72 | 72 | protected $_writePingTimeout = 4; |
| 73 | 73 | |
| 74 | 74 | // Configuration for server selection backoff intervals |
| 75 | - protected $_useBackoff = false; // Set to true to use more resillient write server selection |
|
| 76 | - protected $_backoffLimit = 600; // 10 minute default maximum |
|
| 77 | - protected $_backoffEscalation = 2.0; // Rate at which to increase backoff period |
|
| 78 | - protected $_defaultBackoff = 2.0; // Default backoff interval |
|
| 75 | + protected $_useBackoff = false; // Set to true to use more resillient write server selection |
|
| 76 | + protected $_backoffLimit = 600; // 10 minute default maximum |
|
| 77 | + protected $_backoffEscalation = 2.0; // Rate at which to increase backoff period |
|
| 78 | + protected $_defaultBackoff = 2.0; // Default backoff interval |
|
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * Escape a value for special query characters such as ':', '(', ')', '*', '?', etc. |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | */ |
| 159 | 159 | protected function _getServiceId($host, $port, $path) |
| 160 | 160 | { |
| 161 | - return $host . ':' . $port . $path; |
|
| 161 | + return $host.':'.$port.$path; |
|
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | /** |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | { |
| 182 | 182 | if (isset($service['host']) && isset($service['port']) && isset($service['path'])) |
| 183 | 183 | { |
| 184 | - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); |
|
| 184 | + $id = $this->_getServiceId((string) $service['host'], (int) $service['port'], (string) $service['path']); |
|
| 185 | 185 | |
| 186 | 186 | $this->_readableServices[$id] = $service; |
| 187 | 187 | } |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | { |
| 212 | 212 | if (isset($service['host']) && isset($service['port']) && isset($service['path'])) |
| 213 | 213 | { |
| 214 | - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); |
|
| 214 | + $id = $this->_getServiceId((string) $service['host'], (int) $service['port'], (string) $service['path']); |
|
| 215 | 215 | } |
| 216 | 216 | else |
| 217 | 217 | { |
@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | { |
| 250 | 250 | if (isset($service['host']) && isset($service['port']) && isset($service['path'])) |
| 251 | 251 | { |
| 252 | - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); |
|
| 252 | + $id = $this->_getServiceId((string) $service['host'], (int) $service['port'], (string) $service['path']); |
|
| 253 | 253 | |
| 254 | 254 | $this->_writeableServices[$id] = $service; |
| 255 | 255 | } |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | { |
| 280 | 280 | if (isset($service['host']) && isset($service['port']) && isset($service['path'])) |
| 281 | 281 | { |
| 282 | - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); |
|
| 282 | + $id = $this->_getServiceId((string) $service['host'], (int) $service['port'], (string) $service['path']); |
|
| 283 | 283 | } |
| 284 | 284 | else |
| 285 | 285 | { |
@@ -355,7 +355,7 @@ discard block |
||
| 355 | 355 | */ |
| 356 | 356 | protected function _selectWriteService($forceSelect = false) |
| 357 | 357 | { |
| 358 | - if($this->_useBackoff) |
|
| 358 | + if ($this->_useBackoff) |
|
| 359 | 359 | { |
| 360 | 360 | return $this->_selectWriteServiceSafe($forceSelect); |
| 361 | 361 | } |
@@ -435,12 +435,12 @@ discard block |
||
| 435 | 435 | |
| 436 | 436 | $backoff *= $this->_backoffEscalation; |
| 437 | 437 | |
| 438 | - if($backoff > $this->_backoffLimit) |
|
| 438 | + if ($backoff > $this->_backoffLimit) |
|
| 439 | 439 | { |
| 440 | 440 | throw new Apache_Solr_NoServiceAvailableException('No write services were available. All timeouts exceeded.'); |
| 441 | 441 | } |
| 442 | 442 | |
| 443 | - } while($this->_writeableServices[$this->_currentWriteService]->ping($backoff) === false); |
|
| 443 | + } while ($this->_writeableServices[$this->_currentWriteService]->ping($backoff) === false); |
|
| 444 | 444 | } |
| 445 | 445 | else |
| 446 | 446 | { |
@@ -38,14 +38,14 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | // See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1) |
| 40 | 40 | // Doesn't follow typical include path conventions, but is more convenient for users |
| 41 | -require_once(dirname(__FILE__) . '/Exception.php'); |
|
| 42 | -require_once(dirname(__FILE__) . '/HttpTransportException.php'); |
|
| 43 | -require_once(dirname(__FILE__) . '/InvalidArgumentException.php'); |
|
| 41 | +require_once(dirname(__FILE__).'/Exception.php'); |
|
| 42 | +require_once(dirname(__FILE__).'/HttpTransportException.php'); |
|
| 43 | +require_once(dirname(__FILE__).'/InvalidArgumentException.php'); |
|
| 44 | 44 | |
| 45 | -require_once(dirname(__FILE__) . '/Document.php'); |
|
| 46 | -require_once(dirname(__FILE__) . '/Response.php'); |
|
| 45 | +require_once(dirname(__FILE__).'/Document.php'); |
|
| 46 | +require_once(dirname(__FILE__).'/Response.php'); |
|
| 47 | 47 | |
| 48 | -require_once(dirname(__FILE__) . '/HttpTransport/Interface.php'); |
|
| 48 | +require_once(dirname(__FILE__).'/HttpTransport/Interface.php'); |
|
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * Starting point for the Solr API. Represents a Solr server resource and has |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | */ |
| 221 | 221 | static public function phrase($value) |
| 222 | 222 | { |
| 223 | - return '"' . self::escapePhrase($value) . '"'; |
|
| 223 | + return '"'.self::escapePhrase($value).'"'; |
|
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | /** |
@@ -264,17 +264,17 @@ discard block |
||
| 264 | 264 | |
| 265 | 265 | foreach ($params as $key => $value) |
| 266 | 266 | { |
| 267 | - $escapedParams[] = urlencode($key) . '=' . urlencode($value); |
|
| 267 | + $escapedParams[] = urlencode($key).'='.urlencode($value); |
|
| 268 | 268 | } |
| 269 | 269 | |
| 270 | - $queryString = $this->_queryDelimiter . implode($this->_queryStringDelimiter, $escapedParams); |
|
| 270 | + $queryString = $this->_queryDelimiter.implode($this->_queryStringDelimiter, $escapedParams); |
|
| 271 | 271 | } |
| 272 | 272 | else |
| 273 | 273 | { |
| 274 | 274 | $queryString = ''; |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | - return 'http://' . $this->_host . ':' . $this->_port . $this->_path . $servlet . $queryString; |
|
| 277 | + return 'http://'.$this->_host.':'.$this->_port.$this->_path.$servlet.$queryString; |
|
| 278 | 278 | } |
| 279 | 279 | |
| 280 | 280 | /** |
@@ -286,8 +286,8 @@ discard block |
||
| 286 | 286 | $this->_extractUrl = $this->_constructUrl(self::EXTRACT_SERVLET); |
| 287 | 287 | $this->_pingUrl = $this->_constructUrl(self::PING_SERVLET); |
| 288 | 288 | $this->_searchUrl = $this->_constructUrl(self::SEARCH_SERVLET); |
| 289 | - $this->_threadsUrl = $this->_constructUrl(self::THREADS_SERVLET, array('wt' => self::SOLR_WRITER )); |
|
| 290 | - $this->_updateUrl = $this->_constructUrl(self::UPDATE_SERVLET, array('wt' => self::SOLR_WRITER )); |
|
| 289 | + $this->_threadsUrl = $this->_constructUrl(self::THREADS_SERVLET, array('wt' => self::SOLR_WRITER)); |
|
| 290 | + $this->_updateUrl = $this->_constructUrl(self::UPDATE_SERVLET, array('wt' => self::SOLR_WRITER)); |
|
| 291 | 291 | |
| 292 | 292 | $this->_urlsInited = true; |
| 293 | 293 | } |
@@ -458,7 +458,7 @@ discard block |
||
| 458 | 458 | { |
| 459 | 459 | $path = trim($path, '/'); |
| 460 | 460 | |
| 461 | - $this->_path = '/' . $path . '/'; |
|
| 461 | + $this->_path = '/'.$path.'/'; |
|
| 462 | 462 | |
| 463 | 463 | if ($this->_urlsInited) |
| 464 | 464 | { |
@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | // lazy load a default if one has not be set |
| 477 | 477 | if ($this->_httpTransport === false) |
| 478 | 478 | { |
| 479 | - require_once(dirname(__FILE__) . '/HttpTransport/FileGetContents.php'); |
|
| 479 | + require_once(dirname(__FILE__).'/HttpTransport/FileGetContents.php'); |
|
| 480 | 480 | |
| 481 | 481 | $this->_httpTransport = new Apache_Solr_HttpTransport_FileGetContents(); |
| 482 | 482 | } |
@@ -744,7 +744,7 @@ discard block |
||
| 744 | 744 | |
| 745 | 745 | if ($document->getBoost() !== false) |
| 746 | 746 | { |
| 747 | - $xml .= ' boost="' . $document->getBoost() . '"'; |
|
| 747 | + $xml .= ' boost="'.$document->getBoost().'"'; |
|
| 748 | 748 | } |
| 749 | 749 | |
| 750 | 750 | $xml .= '>'; |
@@ -758,11 +758,11 @@ discard block |
||
| 758 | 758 | { |
| 759 | 759 | foreach ($value as $multivalue) |
| 760 | 760 | { |
| 761 | - $xml .= '<field name="' . $key . '"'; |
|
| 761 | + $xml .= '<field name="'.$key.'"'; |
|
| 762 | 762 | |
| 763 | 763 | if ($fieldBoost !== false) |
| 764 | 764 | { |
| 765 | - $xml .= ' boost="' . $fieldBoost . '"'; |
|
| 765 | + $xml .= ' boost="'.$fieldBoost.'"'; |
|
| 766 | 766 | |
| 767 | 767 | // only set the boost for the first field in the set |
| 768 | 768 | $fieldBoost = false; |
@@ -770,21 +770,21 @@ discard block |
||
| 770 | 770 | |
| 771 | 771 | $multivalue = htmlspecialchars($multivalue, ENT_NOQUOTES, 'UTF-8'); |
| 772 | 772 | |
| 773 | - $xml .= '>' . $multivalue . '</field>'; |
|
| 773 | + $xml .= '>'.$multivalue.'</field>'; |
|
| 774 | 774 | } |
| 775 | 775 | } |
| 776 | 776 | else |
| 777 | 777 | { |
| 778 | - $xml .= '<field name="' . $key . '"'; |
|
| 778 | + $xml .= '<field name="'.$key.'"'; |
|
| 779 | 779 | |
| 780 | 780 | if ($fieldBoost !== false) |
| 781 | 781 | { |
| 782 | - $xml .= ' boost="' . $fieldBoost . '"'; |
|
| 782 | + $xml .= ' boost="'.$fieldBoost.'"'; |
|
| 783 | 783 | } |
| 784 | 784 | |
| 785 | 785 | $value = htmlspecialchars($value, ENT_NOQUOTES, 'UTF-8'); |
| 786 | 786 | |
| 787 | - $xml .= '>' . $value . '</field>'; |
|
| 787 | + $xml .= '>'.$value.'</field>'; |
|
| 788 | 788 | } |
| 789 | 789 | } |
| 790 | 790 | |
@@ -824,7 +824,7 @@ discard block |
||
| 824 | 824 | $flushValue = $waitFlush ? 'true' : 'false'; |
| 825 | 825 | $searcherValue = $waitSearcher ? 'true' : 'false'; |
| 826 | 826 | |
| 827 | - $rawPost = '<commit expungeDeletes="' . $expungeValue . '" waitFlush="' . $flushValue . '" waitSearcher="' . $searcherValue . '" />'; |
|
| 827 | + $rawPost = '<commit expungeDeletes="'.$expungeValue.'" waitFlush="'.$flushValue.'" waitSearcher="'.$searcherValue.'" />'; |
|
| 828 | 828 | |
| 829 | 829 | return $this->_sendRawPost($this->_updateUrl, $rawPost, $timeout); |
| 830 | 830 | } |
@@ -863,7 +863,7 @@ discard block |
||
| 863 | 863 | //escape special xml characters |
| 864 | 864 | $id = htmlspecialchars($id, ENT_NOQUOTES, 'UTF-8'); |
| 865 | 865 | |
| 866 | - $rawPost = '<delete fromPending="' . $pendingValue . '" fromCommitted="' . $committedValue . '"><id>' . $id . '</id></delete>'; |
|
| 866 | + $rawPost = '<delete fromPending="'.$pendingValue.'" fromCommitted="'.$committedValue.'"><id>'.$id.'</id></delete>'; |
|
| 867 | 867 | |
| 868 | 868 | return $this->delete($rawPost, $timeout); |
| 869 | 869 | } |
@@ -884,14 +884,14 @@ discard block |
||
| 884 | 884 | $pendingValue = $fromPending ? 'true' : 'false'; |
| 885 | 885 | $committedValue = $fromCommitted ? 'true' : 'false'; |
| 886 | 886 | |
| 887 | - $rawPost = '<delete fromPending="' . $pendingValue . '" fromCommitted="' . $committedValue . '">'; |
|
| 887 | + $rawPost = '<delete fromPending="'.$pendingValue.'" fromCommitted="'.$committedValue.'">'; |
|
| 888 | 888 | |
| 889 | 889 | foreach ($ids as $id) |
| 890 | 890 | { |
| 891 | 891 | //escape special xml characters |
| 892 | 892 | $id = htmlspecialchars($id, ENT_NOQUOTES, 'UTF-8'); |
| 893 | 893 | |
| 894 | - $rawPost .= '<id>' . $id . '</id>'; |
|
| 894 | + $rawPost .= '<id>'.$id.'</id>'; |
|
| 895 | 895 | } |
| 896 | 896 | |
| 897 | 897 | $rawPost .= '</delete>'; |
@@ -918,7 +918,7 @@ discard block |
||
| 918 | 918 | // escape special xml characters |
| 919 | 919 | $rawQuery = htmlspecialchars($rawQuery, ENT_NOQUOTES, 'UTF-8'); |
| 920 | 920 | |
| 921 | - $rawPost = '<delete fromPending="' . $pendingValue . '" fromCommitted="' . $committedValue . '"><query>' . $rawQuery . '</query></delete>'; |
|
| 921 | + $rawPost = '<delete fromPending="'.$pendingValue.'" fromCommitted="'.$committedValue.'"><query>'.$rawQuery.'</query></delete>'; |
|
| 922 | 922 | |
| 923 | 923 | return $this->delete($rawPost, $timeout); |
| 924 | 924 | } |
@@ -1044,7 +1044,7 @@ discard block |
||
| 1044 | 1044 | $queryString = $this->_generateQueryString($params); |
| 1045 | 1045 | |
| 1046 | 1046 | // the file contents will be sent to SOLR as the POST BODY - we use application/octect-stream as default mimetype |
| 1047 | - return $this->_sendRawPost($this->_extractUrl . $this->_queryDelimiter . $queryString, $data, false, $mimetype); |
|
| 1047 | + return $this->_sendRawPost($this->_extractUrl.$this->_queryDelimiter.$queryString, $data, false, $mimetype); |
|
| 1048 | 1048 | } |
| 1049 | 1049 | |
| 1050 | 1050 | /** |
@@ -1119,7 +1119,7 @@ discard block |
||
| 1119 | 1119 | $flushValue = $waitFlush ? 'true' : 'false'; |
| 1120 | 1120 | $searcherValue = $waitSearcher ? 'true' : 'false'; |
| 1121 | 1121 | |
| 1122 | - $rawPost = '<optimize waitFlush="' . $flushValue . '" waitSearcher="' . $searcherValue . '" />'; |
|
| 1122 | + $rawPost = '<optimize waitFlush="'.$flushValue.'" waitSearcher="'.$searcherValue.'" />'; |
|
| 1123 | 1123 | |
| 1124 | 1124 | return $this->_sendRawPost($this->_updateUrl, $rawPost, $timeout); |
| 1125 | 1125 | } |
@@ -1167,7 +1167,7 @@ discard block |
||
| 1167 | 1167 | |
| 1168 | 1168 | if ($method == self::METHOD_GET) |
| 1169 | 1169 | { |
| 1170 | - return $this->_sendRawGet($this->_searchUrl . $this->_queryDelimiter . $queryString); |
|
| 1170 | + return $this->_sendRawGet($this->_searchUrl.$this->_queryDelimiter.$queryString); |
|
| 1171 | 1171 | } |
| 1172 | 1172 | else if ($method == self::METHOD_POST) |
| 1173 | 1173 | { |