We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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_structures', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | 'transOrigDiffSourceField' => 'l18n_diffsource', |
22 | 22 | 'default_sortby' => 'ORDER BY label', |
23 | 23 | 'delete' => 'deleted', |
24 | - 'enablecolumns' => array ( |
|
24 | + 'enablecolumns' => array( |
|
25 | 25 | 'disabled' => 'hidden', |
26 | 26 | ), |
27 | 27 | 'iconfile' => 'EXT:dlf/res/icons/txdlfstructures.png', |
@@ -30,106 +30,106 @@ discard block |
||
30 | 30 | 'searchFields' => 'label,index_name,oai_name', |
31 | 31 | 'requestUpdate' => 'toplevel', |
32 | 32 | ), |
33 | - 'feInterface' => array ( |
|
33 | + 'feInterface' => array( |
|
34 | 34 | 'fe_admin_fieldList' => '', |
35 | 35 | ), |
36 | - 'interface' => array ( |
|
36 | + 'interface' => array( |
|
37 | 37 | 'showRecordFieldList' => 'label,index_name,oai_name,toplevel', |
38 | 38 | ), |
39 | - 'columns' => array ( |
|
40 | - 'sys_language_uid' => array ( |
|
39 | + 'columns' => array( |
|
40 | + 'sys_language_uid' => array( |
|
41 | 41 | 'exclude' => 1, |
42 | 42 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
43 | - 'config' => array ( |
|
43 | + 'config' => array( |
|
44 | 44 | 'type' => 'select', |
45 | 45 | 'renderType' => 'selectSingle', |
46 | 46 | 'foreign_table' => 'sys_language', |
47 | 47 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
48 | - 'items' => array ( |
|
49 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
50 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
48 | + 'items' => array( |
|
49 | + array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
50 | + array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
51 | 51 | ), |
52 | 52 | 'default' => 0 |
53 | 53 | ), |
54 | 54 | ), |
55 | - 'l18n_parent' => array ( |
|
55 | + 'l18n_parent' => array( |
|
56 | 56 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
57 | 57 | 'exclude' => 1, |
58 | 58 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
59 | - 'config' => array ( |
|
59 | + 'config' => array( |
|
60 | 60 | 'type' => 'select', |
61 | 61 | 'renderType' => 'selectSingle', |
62 | - 'items' => array ( |
|
63 | - array ('', 0), |
|
62 | + 'items' => array( |
|
63 | + array('', 0), |
|
64 | 64 | ), |
65 | 65 | 'foreign_table' => 'tx_dlf_structures', |
66 | 66 | 'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.sys_language_uid IN (-1,0) ORDER BY label ASC', |
67 | 67 | ), |
68 | 68 | ), |
69 | - 'l18n_diffsource' => array ( |
|
70 | - 'config' => array ( |
|
69 | + 'l18n_diffsource' => array( |
|
70 | + 'config' => array( |
|
71 | 71 | 'type' => 'passthrough', |
72 | 72 | ), |
73 | 73 | ), |
74 | - 'hidden' => array ( |
|
74 | + 'hidden' => array( |
|
75 | 75 | 'exclude' => 1, |
76 | 76 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
77 | - 'config' => array ( |
|
77 | + 'config' => array( |
|
78 | 78 | 'type' => 'check', |
79 | 79 | 'default' => 0, |
80 | 80 | ), |
81 | 81 | ), |
82 | - 'toplevel' => array ( |
|
82 | + 'toplevel' => array( |
|
83 | 83 | 'exclude' => 1, |
84 | 84 | 'l10n_mode' => 'exclude', |
85 | 85 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.toplevel', |
86 | - 'config' => array ( |
|
86 | + 'config' => array( |
|
87 | 87 | 'type' => 'check', |
88 | 88 | 'default' => 0, |
89 | 89 | ), |
90 | 90 | ), |
91 | - 'label' => array ( |
|
91 | + 'label' => array( |
|
92 | 92 | 'exclude' => 1, |
93 | 93 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.label', |
94 | - 'config' => array ( |
|
94 | + 'config' => array( |
|
95 | 95 | 'type' => 'input', |
96 | 96 | 'size' => 30, |
97 | 97 | 'max' => 255, |
98 | 98 | 'eval' => 'required,trim', |
99 | 99 | ), |
100 | 100 | ), |
101 | - 'index_name' => array ( |
|
101 | + 'index_name' => array( |
|
102 | 102 | 'exclude' => 1, |
103 | 103 | 'l10n_mode' => 'exclude', |
104 | 104 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.index_name', |
105 | - 'config' => array ( |
|
105 | + 'config' => array( |
|
106 | 106 | 'type' => 'input', |
107 | 107 | 'size' => 30, |
108 | 108 | 'max' => 255, |
109 | 109 | 'eval' => 'required,nospace,alphanum_x,uniqueInPid', |
110 | 110 | ), |
111 | 111 | ), |
112 | - 'oai_name' => array ( |
|
112 | + 'oai_name' => array( |
|
113 | 113 | 'exclude' => 1, |
114 | 114 | 'l10n_mode' => 'exclude', |
115 | 115 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.oai_name', |
116 | - 'config' => array ( |
|
116 | + 'config' => array( |
|
117 | 117 | 'type' => 'input', |
118 | 118 | 'size' => 30, |
119 | 119 | 'max' => 255, |
120 | 120 | 'eval' => 'trim', |
121 | 121 | ), |
122 | 122 | ), |
123 | - 'thumbnail' => array ( |
|
123 | + 'thumbnail' => array( |
|
124 | 124 | 'exclude' => 1, |
125 | 125 | 'l10n_mode' => 'exclude', |
126 | 126 | 'displayCond' => 'FIELD:toplevel:REQ:true', |
127 | 127 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail', |
128 | - 'config' => array ( |
|
128 | + 'config' => array( |
|
129 | 129 | 'type' => 'select', |
130 | 130 | 'renderType' => 'selectSingle', |
131 | - 'items' => array ( |
|
132 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0), |
|
131 | + 'items' => array( |
|
132 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0), |
|
133 | 133 | ), |
134 | 134 | 'foreign_table' => 'tx_dlf_structures', |
135 | 135 | 'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.toplevel=0 AND tx_dlf_structures.sys_language_uid IN (-1,0) ORDER BY tx_dlf_structures.label', |
@@ -139,14 +139,14 @@ discard block |
||
139 | 139 | 'default' => 0, |
140 | 140 | ), |
141 | 141 | ), |
142 | - 'status' => array ( |
|
142 | + 'status' => array( |
|
143 | 143 | 'exclude' => 1, |
144 | 144 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status', |
145 | - 'config' => array ( |
|
145 | + 'config' => array( |
|
146 | 146 | 'type' => 'select', |
147 | 147 | 'renderType' => 'selectSingle', |
148 | - 'items' => array ( |
|
149 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0), |
|
148 | + 'items' => array( |
|
149 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0), |
|
150 | 150 | ), |
151 | 151 | 'size' => 1, |
152 | 152 | 'minitems' => 1, |
@@ -155,10 +155,10 @@ discard block |
||
155 | 155 | ), |
156 | 156 | ), |
157 | 157 | ), |
158 | - 'types' => array ( |
|
159 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label,--palette--;;1, thumbnail, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab3, hidden;;;;1-1-1, status;;;;2-2-2'), |
|
158 | + 'types' => array( |
|
159 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label,--palette--;;1, thumbnail, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab3, hidden;;;;1-1-1, status;;;;2-2-2'), |
|
160 | 160 | ), |
161 | - 'palettes' => array ( |
|
162 | - '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
161 | + 'palettes' => array( |
|
162 | + '1' => array('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
163 | 163 | ), |
164 | 164 | ); |
@@ -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' => 255, |
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,39 +305,39 @@ discard block |
||
305 | 305 | 'maxitems' => 1, |
306 | 306 | ), |
307 | 307 | ), |
308 | - 'mets_label' => array ( |
|
308 | + 'mets_label' => array( |
|
309 | 309 | 'exclude' => 1, |
310 | 310 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.mets_label', |
311 | - 'config' => array ( |
|
311 | + 'config' => array( |
|
312 | 312 | 'type' => 'input', |
313 | 313 | 'size' => 30, |
314 | 314 | 'max' => 255, |
315 | 315 | 'eval' => 'trim', |
316 | 316 | ), |
317 | 317 | ), |
318 | - 'mets_orderlabel' => array ( |
|
318 | + 'mets_orderlabel' => array( |
|
319 | 319 | 'exclude' => 1, |
320 | 320 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.mets_orderlabel', |
321 | - 'config' => array ( |
|
321 | + 'config' => array( |
|
322 | 322 | 'type' => 'input', |
323 | 323 | 'size' => 30, |
324 | 324 | 'max' => 255, |
325 | 325 | 'eval' => 'trim', |
326 | 326 | ), |
327 | 327 | ), |
328 | - 'solrcore' => array ( |
|
329 | - 'config' => array ( |
|
328 | + 'solrcore' => array( |
|
329 | + 'config' => array( |
|
330 | 330 | 'type' => 'passthrough', |
331 | 331 | ), |
332 | 332 | ), |
333 | - 'status' => array ( |
|
333 | + 'status' => array( |
|
334 | 334 | 'exclude' => 1, |
335 | 335 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status', |
336 | - 'config' => array ( |
|
336 | + 'config' => array( |
|
337 | 337 | 'type' => 'select', |
338 | 338 | 'renderType' => 'selectSingle', |
339 | - 'items' => array ( |
|
340 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0), |
|
339 | + 'items' => array( |
|
340 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0), |
|
341 | 341 | ), |
342 | 342 | 'size' => 1, |
343 | 343 | 'minitems' => 1, |
@@ -346,12 +346,12 @@ discard block |
||
346 | 346 | ), |
347 | 347 | ), |
348 | 348 | ), |
349 | - 'types' => array ( |
|
350 | - '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'), |
|
349 | + 'types' => array( |
|
350 | + '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'), |
|
351 | 351 | ), |
352 | - 'palettes' => array ( |
|
353 | - '1' => array ('showitem' => 'title_sorting', 'canNotCollapse' => 1), |
|
354 | - '2' => array ('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting, --linebreak--, mets_label, mets_orderlabel', 'canNotCollapse' => 1), |
|
355 | - '3' => array ('showitem' => 'starttime, endtime', 'canNotCollapse' => 1), |
|
352 | + 'palettes' => array( |
|
353 | + '1' => array('showitem' => 'title_sorting', 'canNotCollapse' => 1), |
|
354 | + '2' => array('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting, --linebreak--, mets_label, mets_orderlabel', 'canNotCollapse' => 1), |
|
355 | + '3' => array('showitem' => 'starttime, endtime', 'canNotCollapse' => 1), |
|
356 | 356 | ) |
357 | 357 | ); |
@@ -18,142 +18,142 @@ |
||
18 | 18 | |
19 | 19 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_audioplayer'] = 'pi_flexform'; |
20 | 20 | |
21 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_audioplayer', 'dlf_audioplayer'), 'list_type', 'dlf'); |
|
21 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_audioplayer', 'dlf_audioplayer'), 'list_type', 'dlf'); |
|
22 | 22 | |
23 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_audioplayer', 'FILE:EXT:'.'dlf/plugins/audioplayer/flexform.xml'); |
|
23 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_audioplayer', 'FILE:EXT:' . 'dlf/plugins/audioplayer/flexform.xml'); |
|
24 | 24 | |
25 | 25 | // Plugin "basket". |
26 | 26 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_basket'] = 'layout,select_key,pages,recursive'; |
27 | 27 | |
28 | 28 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_basket'] = 'pi_flexform'; |
29 | 29 | |
30 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_basket', 'dlf_basket'), 'list_type', 'dlf'); |
|
30 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_basket', 'dlf_basket'), 'list_type', 'dlf'); |
|
31 | 31 | |
32 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_basket', 'FILE:EXT:'.'dlf/plugins/basket/flexform.xml'); |
|
32 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_basket', 'FILE:EXT:' . 'dlf/plugins/basket/flexform.xml'); |
|
33 | 33 | |
34 | 34 | // Plugin "collection". |
35 | 35 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_collection'] = 'layout,select_key,pages,recursive'; |
36 | 36 | |
37 | 37 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_collection'] = 'pi_flexform'; |
38 | 38 | |
39 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_collection', 'dlf_collection'), 'list_type', 'dlf'); |
|
39 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_collection', 'dlf_collection'), 'list_type', 'dlf'); |
|
40 | 40 | |
41 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_collection', 'FILE:EXT:'.'dlf/plugins/collection/flexform.xml'); |
|
41 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_collection', 'FILE:EXT:' . 'dlf/plugins/collection/flexform.xml'); |
|
42 | 42 | |
43 | 43 | // Plugin "feeds". |
44 | 44 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_feeds'] = 'layout,select_key,pages,recursive'; |
45 | 45 | |
46 | 46 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_feeds'] = 'pi_flexform'; |
47 | 47 | |
48 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_feeds', 'dlf_feeds'), 'list_type', 'dlf'); |
|
48 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_feeds', 'dlf_feeds'), 'list_type', 'dlf'); |
|
49 | 49 | |
50 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_feeds', 'FILE:EXT:'.'dlf/plugins/feeds/flexform.xml'); |
|
50 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_feeds', 'FILE:EXT:' . 'dlf/plugins/feeds/flexform.xml'); |
|
51 | 51 | |
52 | 52 | // Plugin "listview". |
53 | 53 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_listview'] = 'layout,select_key,pages,recursive'; |
54 | 54 | |
55 | 55 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_listview'] = 'pi_flexform'; |
56 | 56 | |
57 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_listview', 'dlf_listview'), 'list_type', 'dlf'); |
|
57 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_listview', 'dlf_listview'), 'list_type', 'dlf'); |
|
58 | 58 | |
59 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_listview', 'FILE:EXT:'.'dlf/plugins/listview/flexform.xml'); |
|
59 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_listview', 'FILE:EXT:' . 'dlf/plugins/listview/flexform.xml'); |
|
60 | 60 | |
61 | 61 | // Plugin "metadata". |
62 | 62 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_metadata'] = 'layout,select_key,pages,recursive'; |
63 | 63 | |
64 | 64 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_metadata'] = 'pi_flexform'; |
65 | 65 | |
66 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_metadata', 'dlf_metadata'), 'list_type', 'dlf'); |
|
66 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_metadata', 'dlf_metadata'), 'list_type', 'dlf'); |
|
67 | 67 | |
68 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_metadata', 'FILE:EXT:'.'dlf/plugins/metadata/flexform.xml'); |
|
68 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_metadata', 'FILE:EXT:' . 'dlf/plugins/metadata/flexform.xml'); |
|
69 | 69 | |
70 | 70 | // Plugin "navigation". |
71 | 71 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_navigation'] = 'layout,select_key,pages,recursive'; |
72 | 72 | |
73 | 73 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_navigation'] = 'pi_flexform'; |
74 | 74 | |
75 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_navigation', 'dlf_navigation'), 'list_type', 'dlf'); |
|
75 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_navigation', 'dlf_navigation'), 'list_type', 'dlf'); |
|
76 | 76 | |
77 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_navigation', 'FILE:EXT:'.'dlf/plugins/navigation/flexform.xml'); |
|
77 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_navigation', 'FILE:EXT:' . 'dlf/plugins/navigation/flexform.xml'); |
|
78 | 78 | |
79 | 79 | // Plugin "newspaper". |
80 | 80 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_newspaper'] = 'layout,select_key,pages,recursive'; |
81 | 81 | |
82 | 82 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_newspaper'] = 'pi_flexform'; |
83 | 83 | |
84 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_newspaper', 'dlf_newspaper'), 'list_type', 'dlf'); |
|
84 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_newspaper', 'dlf_newspaper'), 'list_type', 'dlf'); |
|
85 | 85 | |
86 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_newspaper', 'FILE:EXT:'.'dlf/plugins/newspaper/flexform.xml'); |
|
86 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_newspaper', 'FILE:EXT:' . 'dlf/plugins/newspaper/flexform.xml'); |
|
87 | 87 | |
88 | 88 | // Plugin "oai". |
89 | 89 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_oai'] = 'layout,select_key,pages,recursive'; |
90 | 90 | |
91 | 91 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_oai'] = 'pi_flexform'; |
92 | 92 | |
93 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_oai', 'dlf_oai'), 'list_type', 'dlf'); |
|
93 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_oai', 'dlf_oai'), 'list_type', 'dlf'); |
|
94 | 94 | |
95 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_oai', 'FILE:EXT:'.'dlf/plugins/oai/flexform.xml'); |
|
95 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_oai', 'FILE:EXT:' . 'dlf/plugins/oai/flexform.xml'); |
|
96 | 96 | |
97 | 97 | // Plugin "pagegrid". |
98 | 98 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_pagegrid'] = 'layout,select_key,pages,recursive'; |
99 | 99 | |
100 | 100 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_pagegrid'] = 'pi_flexform'; |
101 | 101 | |
102 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_pagegrid', 'dlf_pagegrid'), 'list_type', 'dlf'); |
|
102 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_pagegrid', 'dlf_pagegrid'), 'list_type', 'dlf'); |
|
103 | 103 | |
104 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_pagegrid', 'FILE:EXT:'.'dlf/plugins/pagegrid/flexform.xml'); |
|
104 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_pagegrid', 'FILE:EXT:' . 'dlf/plugins/pagegrid/flexform.xml'); |
|
105 | 105 | |
106 | 106 | // Plugin "pageview". |
107 | 107 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_pageview'] = 'layout,select_key,pages,recursive'; |
108 | 108 | |
109 | 109 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_pageview'] = 'pi_flexform'; |
110 | 110 | |
111 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_pageview', 'dlf_pageview'), 'list_type', 'dlf'); |
|
111 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_pageview', 'dlf_pageview'), 'list_type', 'dlf'); |
|
112 | 112 | |
113 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_pageview', 'FILE:EXT:'.'dlf/plugins/pageview/flexform.xml'); |
|
113 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_pageview', 'FILE:EXT:' . 'dlf/plugins/pageview/flexform.xml'); |
|
114 | 114 | |
115 | 115 | // Plugin "search". |
116 | 116 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_search'] = 'layout,select_key,pages,recursive'; |
117 | 117 | |
118 | 118 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_search'] = 'pi_flexform'; |
119 | 119 | |
120 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_search', 'dlf_search'), 'list_type', 'dlf'); |
|
120 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_search', 'dlf_search'), 'list_type', 'dlf'); |
|
121 | 121 | |
122 | 122 | |
123 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_search', 'FILE:EXT:'.'dlf/plugins/search/flexform.xml'); |
|
123 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_search', 'FILE:EXT:' . 'dlf/plugins/search/flexform.xml'); |
|
124 | 124 | |
125 | 125 | // Plugin "statistics". |
126 | 126 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_statistics'] = 'layout,select_key,pages,recursive'; |
127 | 127 | |
128 | 128 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_statistics'] = 'pi_flexform'; |
129 | 129 | |
130 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_statistics', 'dlf_statistics'), 'list_type', 'dlf'); |
|
130 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_statistics', 'dlf_statistics'), 'list_type', 'dlf'); |
|
131 | 131 | |
132 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_statistics', 'FILE:EXT:'.'dlf/plugins/statistics/flexform.xml'); |
|
132 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_statistics', 'FILE:EXT:' . 'dlf/plugins/statistics/flexform.xml'); |
|
133 | 133 | |
134 | 134 | // Plugin "table of contents". |
135 | 135 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_toc'] = 'layout,select_key,pages,recursive'; |
136 | 136 | |
137 | 137 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_toc'] = 'pi_flexform'; |
138 | 138 | |
139 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_toc', 'dlf_toc'), 'list_type', 'dlf'); |
|
139 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_toc', 'dlf_toc'), 'list_type', 'dlf'); |
|
140 | 140 | |
141 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_toc', 'FILE:EXT:'.'dlf/plugins/toc/flexform.xml'); |
|
141 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_toc', 'FILE:EXT:' . 'dlf/plugins/toc/flexform.xml'); |
|
142 | 142 | |
143 | 143 | // Plugin "toolbox". |
144 | 144 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_toolbox'] = 'layout,select_key,pages,recursive'; |
145 | 145 | |
146 | 146 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_toolbox'] = 'pi_flexform'; |
147 | 147 | |
148 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_toolbox', 'dlf_toolbox'), 'list_type', 'dlf'); |
|
148 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_toolbox', 'dlf_toolbox'), 'list_type', 'dlf'); |
|
149 | 149 | |
150 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_toolbox', 'FILE:EXT:'.'dlf/plugins/toolbox/flexform.xml'); |
|
150 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_toolbox', 'FILE:EXT:' . 'dlf/plugins/toolbox/flexform.xml'); |
|
151 | 151 | |
152 | 152 | // Plugin "validator". |
153 | 153 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dlf_validator'] = 'layout,select_key,pages,recursive'; |
154 | 154 | |
155 | 155 | $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dlf_validator'] = 'pi_flexform'; |
156 | 156 | |
157 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array ('LLL:EXT:dlf/locallang.xml:tt_content.dlf_validator', 'dlf_validator'), 'list_type', 'dlf'); |
|
157 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_validator', 'dlf_validator'), 'list_type', 'dlf'); |
|
158 | 158 | |
159 | -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_validator', 'FILE:EXT:'.'dlf/plugins/validator/flexform.xml'); |
|
159 | +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dlf_validator', 'FILE:EXT:' . 'dlf/plugins/validator/flexform.xml'); |
@@ -34,11 +34,11 @@ discard block |
||
34 | 34 | $output = '<div style="padding:5px; background-color:#000000;">'; |
35 | 35 | |
36 | 36 | // Simulate TCA field type "passthrough". |
37 | - $output .= '<input type="hidden" name="'.$params['itemFormElName'].'" value="'.$params['itemFormElValue'].'" />'; |
|
37 | + $output .= '<input type="hidden" name="' . $params['itemFormElName'] . '" value="' . $params['itemFormElValue'] . '" />'; |
|
38 | 38 | |
39 | 39 | if (!empty($params['itemFormElValue'])) { |
40 | 40 | |
41 | - $output .= '<img alt="" src="'.$params['itemFormElValue'].'" />'; |
|
41 | + $output .= '<img alt="" src="' . $params['itemFormElValue'] . '" />'; |
|
42 | 42 | |
43 | 43 | } |
44 | 44 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
95 | 95 | 'label,uid', |
96 | 96 | 'tx_dlf_collections', |
97 | - 'pid='.intval($pages).' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)'.tx_dlf_helper::whereClause('tx_dlf_collections'), |
|
97 | + 'pid=' . intval($pages) . ' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)' . tx_dlf_helper::whereClause('tx_dlf_collections'), |
|
98 | 98 | '', |
99 | 99 | 'label', |
100 | 100 | '' |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
163 | 163 | 'label,index_name', |
164 | 164 | 'tx_dlf_metadata', |
165 | - 'index_indexed=1 AND pid='.intval($pages).' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)'.tx_dlf_helper::whereClause('tx_dlf_metadata'), |
|
165 | + 'index_indexed=1 AND pid=' . intval($pages) . ' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)' . tx_dlf_helper::whereClause('tx_dlf_metadata'), |
|
166 | 166 | '', |
167 | 167 | 'sorting', |
168 | 168 | '' |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
231 | 231 | 'label,index_name', |
232 | 232 | 'tx_dlf_metadata', |
233 | - 'is_facet=1 AND pid='.intval($pages).' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)'.tx_dlf_helper::whereClause('tx_dlf_metadata'), |
|
233 | + 'is_facet=1 AND pid=' . intval($pages) . ' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)' . tx_dlf_helper::whereClause('tx_dlf_metadata'), |
|
234 | 234 | '', |
235 | 235 | 'sorting', |
236 | 236 | '' |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
299 | 299 | 'label,uid', |
300 | 300 | 'tx_dlf_libraries', |
301 | - 'pid='.intval($pages).' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)'.tx_dlf_helper::whereClause('tx_dlf_libraries'), |
|
301 | + 'pid=' . intval($pages) . ' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)' . tx_dlf_helper::whereClause('tx_dlf_libraries'), |
|
302 | 302 | '', |
303 | 303 | 'label', |
304 | 304 | '' |
@@ -366,7 +366,7 @@ discard block |
||
366 | 366 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
367 | 367 | 'label,uid', |
368 | 368 | 'tx_dlf_solrcores', |
369 | - 'pid IN ('.intval($pages).',0)'.tx_dlf_helper::whereClause('tx_dlf_solrcores'), |
|
369 | + 'pid IN (' . intval($pages) . ',0)' . tx_dlf_helper::whereClause('tx_dlf_solrcores'), |
|
370 | 370 | '', |
371 | 371 | 'label', |
372 | 372 | '' |
@@ -402,7 +402,7 @@ discard block |
||
402 | 402 | |
403 | 403 | foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['dlf/plugins/toolbox/tools'] as $class => $label) { |
404 | 404 | |
405 | - $params['items'][] = array ($GLOBALS['LANG']->sL($label), $class); |
|
405 | + $params['items'][] = array($GLOBALS['LANG']->sL($label), $class); |
|
406 | 406 | |
407 | 407 | } |
408 | 408 |
@@ -17,7 +17,8 @@ discard block |
||
17 | 17 | * @subpackage tx_dlf |
18 | 18 | * @access public |
19 | 19 | */ |
20 | -class tx_dlf_tceforms { |
|
20 | +class tx_dlf_tceforms |
|
21 | +{ |
|
21 | 22 | |
22 | 23 | /** |
23 | 24 | * Helper to display document's thumbnail for table "tx_dlf_documents" |
@@ -29,7 +30,8 @@ discard block |
||
29 | 30 | * |
30 | 31 | * @return string HTML <img> tag for thumbnail |
31 | 32 | */ |
32 | - public function displayThumbnail(&$params, &$pObj) { |
|
33 | + public function displayThumbnail(&$params, &$pObj) |
|
34 | + { |
|
33 | 35 | |
34 | 36 | $output = '<div style="padding:5px; background-color:#000000;">'; |
35 | 37 | |
@@ -58,7 +60,8 @@ discard block |
||
58 | 60 | * |
59 | 61 | * @return void |
60 | 62 | */ |
61 | - public function itemsProcFunc_collectionList(&$params, &$pObj) { |
|
63 | + public function itemsProcFunc_collectionList(&$params, &$pObj) |
|
64 | + { |
|
62 | 65 | |
63 | 66 | // the access to pi_flexform data has changed in TYPO3 7.6 |
64 | 67 | if (version_compare(TYPO3_version, '7.6', '<')) { |
@@ -126,7 +129,8 @@ discard block |
||
126 | 129 | * |
127 | 130 | * @return void |
128 | 131 | */ |
129 | - public function itemsProcFunc_extendedSearchList(&$params, &$pObj) { |
|
132 | + public function itemsProcFunc_extendedSearchList(&$params, &$pObj) |
|
133 | + { |
|
130 | 134 | |
131 | 135 | // the access to pi_flexform data has changed in TYPO3 7.6 |
132 | 136 | if (version_compare(TYPO3_version, '7.6', '<')) { |
@@ -194,7 +198,8 @@ discard block |
||
194 | 198 | * |
195 | 199 | * @return void |
196 | 200 | */ |
197 | - public function itemsProcFunc_facetsList(&$params, &$pObj) { |
|
201 | + public function itemsProcFunc_facetsList(&$params, &$pObj) |
|
202 | + { |
|
198 | 203 | |
199 | 204 | // the access to pi_flexform data has changed in TYPO3 7.6 |
200 | 205 | if (version_compare(TYPO3_version, '7.6', '<')) { |
@@ -262,7 +267,8 @@ discard block |
||
262 | 267 | * |
263 | 268 | * @return void |
264 | 269 | */ |
265 | - public function itemsProcFunc_libraryList(&$params, &$pObj) { |
|
270 | + public function itemsProcFunc_libraryList(&$params, &$pObj) |
|
271 | + { |
|
266 | 272 | |
267 | 273 | // the access to pi_flexform data has changed in TYPO3 7.6 |
268 | 274 | if (version_compare(TYPO3_version, '7.6', '<')) { |
@@ -330,7 +336,8 @@ discard block |
||
330 | 336 | * |
331 | 337 | * @return void |
332 | 338 | */ |
333 | - public function itemsProcFunc_solrList(&$params, &$pObj) { |
|
339 | + public function itemsProcFunc_solrList(&$params, &$pObj) |
|
340 | + { |
|
334 | 341 | |
335 | 342 | // the access to pi_flexform data has changed in TYPO3 7.6 |
336 | 343 | if (version_compare(TYPO3_version, '7.6', '<')) { |
@@ -398,7 +405,8 @@ discard block |
||
398 | 405 | * |
399 | 406 | * @return void |
400 | 407 | */ |
401 | - public function itemsProcFunc_toolList(&$params, &$pObj) { |
|
408 | + public function itemsProcFunc_toolList(&$params, &$pObj) |
|
409 | + { |
|
402 | 410 | |
403 | 411 | foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['dlf/plugins/toolbox/tools'] as $class => $label) { |
404 | 412 |
@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | } |
72 | 72 | |
73 | - $recordIds = $xml->xpath('//mets:dmdSec[@ID="'.$id.'"]//mods:mods/mods:recordInfo/mods:recordIdentifier'); |
|
73 | + $recordIds = $xml->xpath('//mets:dmdSec[@ID="' . $id . '"]//mods:mods/mods:recordInfo/mods:recordIdentifier'); |
|
74 | 74 | |
75 | 75 | if (!empty($recordIds[0])) { |
76 | 76 |
@@ -17,7 +17,8 @@ discard block |
||
17 | 17 | * @subpackage tx_dlf |
18 | 18 | * @access public |
19 | 19 | */ |
20 | -class tx_dlf_hacks { |
|
20 | +class tx_dlf_hacks |
|
21 | +{ |
|
21 | 22 | |
22 | 23 | /** |
23 | 24 | * Hook for the __construct() method of dlf/common/class.tx_dlf_document.php |
@@ -31,7 +32,8 @@ discard block |
||
31 | 32 | * |
32 | 33 | * @return void |
33 | 34 | */ |
34 | - public function construct_postProcessRecordId(SimpleXMLElement &$xml, &$record_id) { |
|
35 | + public function construct_postProcessRecordId(SimpleXMLElement &$xml, &$record_id) |
|
36 | + { |
|
35 | 37 | |
36 | 38 | if (!$record_id) { |
37 | 39 |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @var array |
26 | 26 | * @access protected |
27 | 27 | */ |
28 | - protected $conf = array (); |
|
28 | + protected $conf = array(); |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * This holds the output ready to return |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | // Prepend username and password to hostname. |
53 | 53 | if (!empty($solrInfo['username']) && !empty($solrInfo['password'])) { |
54 | 54 | |
55 | - $host = $solrInfo['username'].':'.$solrInfo['password'].'@'.$solrInfo['host']; |
|
55 | + $host = $solrInfo['username'] . ':' . $solrInfo['password'] . '@' . $solrInfo['host']; |
|
56 | 56 | |
57 | 57 | } else { |
58 | 58 | |
@@ -61,10 +61,10 @@ discard block |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | // Build request URI. |
64 | - $url = $solrInfo['scheme'].'://'.$host.':'.$solrInfo['port'].'/'.$solrInfo['path'].'/admin/cores?wt=xml'; |
|
64 | + $url = $solrInfo['scheme'] . '://' . $host . ':' . $solrInfo['port'] . '/' . $solrInfo['path'] . '/admin/cores?wt=xml'; |
|
65 | 65 | |
66 | - $context = stream_context_create(array ( |
|
67 | - 'http' => array ( |
|
66 | + $context = stream_context_create(array( |
|
67 | + 'http' => array( |
|
68 | 68 | 'method' => 'GET', |
69 | 69 | 'user_agent' => (!empty($this->conf['useragent']) ? $this->conf['useragent'] : ini_get('user_agent')) |
70 | 70 | ) |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
130 | 130 | 'uid,admin,usergroup', |
131 | 131 | 'be_users', |
132 | - 'username='.$GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_users').\TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause('be_users') |
|
132 | + 'username=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_users') . \TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause('be_users') |
|
133 | 133 | ); |
134 | 134 | |
135 | 135 | if ($GLOBALS['TYPO3_DB']->sql_num_rows($result) > 0) { |
@@ -143,11 +143,11 @@ discard block |
||
143 | 143 | $result2 = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
144 | 144 | '1', |
145 | 145 | 'be_users', |
146 | - 'uid='.intval($resArray['uid']).\TYPO3\CMS\Backend\Utility\BackendUtility::BEenableFields('be_users') |
|
146 | + 'uid=' . intval($resArray['uid']) . \TYPO3\CMS\Backend\Utility\BackendUtility::BEenableFields('be_users') |
|
147 | 147 | ); |
148 | 148 | |
149 | 149 | // Check if user is configured properly. |
150 | - if (count(array_diff(array ($groupUid), $resArray['usergroup'])) == 0 |
|
150 | + if (count(array_diff(array($groupUid), $resArray['usergroup'])) == 0 |
|
151 | 151 | && !$resArray['admin'] |
152 | 152 | && $GLOBALS['TYPO3_DB']->sql_num_rows($result2) > 0) { |
153 | 153 | |
@@ -166,11 +166,11 @@ discard block |
||
166 | 166 | if (!$checkOnly && $groupUid) { |
167 | 167 | |
168 | 168 | // Keep exisiting values and add the new ones. |
169 | - $usergroup = array_unique(array_merge(array ($groupUid), $resArray['usergroup'])); |
|
169 | + $usergroup = array_unique(array_merge(array($groupUid), $resArray['usergroup'])); |
|
170 | 170 | |
171 | 171 | // Try to configure user. |
172 | - $data = array (); |
|
173 | - $data['be_users'][$resArray['uid']] = array ( |
|
172 | + $data = array(); |
|
173 | + $data['be_users'][$resArray['uid']] = array( |
|
174 | 174 | 'admin' => 0, |
175 | 175 | 'usergroup' => implode(',', $usergroup), |
176 | 176 | $GLOBALS['TCA']['be_users']['ctrl']['enablecolumns']['disabled'] => 0, |
@@ -226,8 +226,8 @@ discard block |
||
226 | 226 | // Try to create user. |
227 | 227 | $tempUid = uniqid('NEW'); |
228 | 228 | |
229 | - $data = array (); |
|
230 | - $data['be_users'][$tempUid] = array ( |
|
229 | + $data = array(); |
|
230 | + $data['be_users'][$tempUid] = array( |
|
231 | 231 | 'pid' => 0, |
232 | 232 | 'username' => '_cli_dlf', |
233 | 233 | 'password' => md5($tempUid), |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | * |
293 | 293 | * @return integer UID of usergroup or 0 if something is wrong |
294 | 294 | */ |
295 | - protected function checkCliGroup($checkOnly, $settings = array ()) { |
|
295 | + protected function checkCliGroup($checkOnly, $settings = array()) { |
|
296 | 296 | |
297 | 297 | // Set default return value. |
298 | 298 | $grpUid = 0; |
@@ -300,9 +300,9 @@ discard block |
||
300 | 300 | // Set default configuration for usergroup. |
301 | 301 | if (empty($settings)) { |
302 | 302 | |
303 | - $settings = array ( |
|
304 | - 'non_exclude_fields' => array (), |
|
305 | - 'tables_select' => array ( |
|
303 | + $settings = array( |
|
304 | + 'non_exclude_fields' => array(), |
|
305 | + 'tables_select' => array( |
|
306 | 306 | 'tx_dlf_documents', |
307 | 307 | 'tx_dlf_collections', |
308 | 308 | 'tx_dlf_libraries', |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | 'tx_dlf_formats', |
313 | 313 | 'tx_dlf_solrcores' |
314 | 314 | ), |
315 | - 'tables_modify' => array ( |
|
315 | + 'tables_modify' => array( |
|
316 | 316 | 'tx_dlf_documents', |
317 | 317 | 'tx_dlf_collections', |
318 | 318 | 'tx_dlf_libraries' |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | |
327 | 327 | if (!empty($fieldConf['exclude'])) { |
328 | 328 | |
329 | - $settings['non_exclude_fields'][] = $table.':'.$field; |
|
329 | + $settings['non_exclude_fields'][] = $table . ':' . $field; |
|
330 | 330 | |
331 | 331 | } |
332 | 332 | |
@@ -338,10 +338,10 @@ discard block |
||
338 | 338 | |
339 | 339 | // Check if group "_cli_dlf" exists and is not disabled. |
340 | 340 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
341 | - 'uid,non_exclude_fields,tables_select,tables_modify,'. |
|
341 | + 'uid,non_exclude_fields,tables_select,tables_modify,' . |
|
342 | 342 | $GLOBALS['TCA']['be_groups']['ctrl']['enablecolumns']['disabled'], |
343 | 343 | 'be_groups', |
344 | - 'title='.$GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_groups'). |
|
344 | + 'title=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_groups') . |
|
345 | 345 | \TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause('be_groups') |
346 | 346 | ); |
347 | 347 | |
@@ -384,8 +384,8 @@ discard block |
||
384 | 384 | $tables_modify = array_unique(array_merge($settings['tables_modify'], $resArray['tables_modify'])); |
385 | 385 | |
386 | 386 | // Try to configure usergroup. |
387 | - $data = array (); |
|
388 | - $data['be_groups'][$resArray['uid']] = array ( |
|
387 | + $data = array(); |
|
388 | + $data['be_groups'][$resArray['uid']] = array( |
|
389 | 389 | 'non_exclude_fields' => implode(',', $non_exclude_fields), |
390 | 390 | 'tables_select' => implode(',', $tables_select), |
391 | 391 | 'tables_modify' => implode(',', $tables_modify), |
@@ -440,8 +440,8 @@ discard block |
||
440 | 440 | // Try to create usergroup. |
441 | 441 | $tempUid = uniqid('NEW'); |
442 | 442 | |
443 | - $data = array (); |
|
444 | - $data['be_groups'][$tempUid] = array ( |
|
443 | + $data = array(); |
|
444 | + $data['be_groups'][$tempUid] = array( |
|
445 | 445 | 'pid' => 0, |
446 | 446 | 'title' => '_cli_dlf', |
447 | 447 | 'description' => $GLOBALS['LANG']->getLL('cliUserGroup.grpDescription'), |
@@ -522,7 +522,7 @@ discard block |
||
522 | 522 | $this->content .= $content; |
523 | 523 | |
524 | 524 | // Check if CLI dispatcher is executable. |
525 | - if (is_executable(PATH_typo3.'cli_dispatch.phpsh')) { |
|
525 | + if (is_executable(PATH_typo3 . 'cli_dispatch.phpsh')) { |
|
526 | 526 | |
527 | 527 | $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( |
528 | 528 | 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', |
@@ -562,7 +562,7 @@ discard block |
||
562 | 562 | */ |
563 | 563 | public function checkMetadataFormats(&$params, &$pObj) { |
564 | 564 | |
565 | - $nsDefined = array ( |
|
565 | + $nsDefined = array( |
|
566 | 566 | 'MODS' => FALSE, |
567 | 567 | 'TEIHDR' => FALSE |
568 | 568 | ); |
@@ -571,7 +571,7 @@ discard block |
||
571 | 571 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
572 | 572 | 'type', |
573 | 573 | 'tx_dlf_formats', |
574 | - '(type='.$GLOBALS['TYPO3_DB']->fullQuoteStr('MODS', 'tx_dlf_formats').' OR type='.$GLOBALS['TYPO3_DB']->fullQuoteStr('TEIHDR', 'tx_dlf_formats').')'.tx_dlf_helper::whereClause('tx_dlf_formats') |
|
574 | + '(type=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('MODS', 'tx_dlf_formats') . ' OR type=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('TEIHDR', 'tx_dlf_formats') . ')' . tx_dlf_helper::whereClause('tx_dlf_formats') |
|
575 | 575 | ); |
576 | 576 | |
577 | 577 | while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
@@ -581,12 +581,12 @@ discard block |
||
581 | 581 | } |
582 | 582 | |
583 | 583 | // Build data array. |
584 | - $data = array (); |
|
584 | + $data = array(); |
|
585 | 585 | |
586 | 586 | // Add MODS namespace. |
587 | 587 | if (!$nsDefined['MODS']) { |
588 | 588 | |
589 | - $data['tx_dlf_formats'][uniqid('NEW')] = array ( |
|
589 | + $data['tx_dlf_formats'][uniqid('NEW')] = array( |
|
590 | 590 | 'pid' => 0, |
591 | 591 | 'type' => 'MODS', |
592 | 592 | 'root' => 'mods', |
@@ -599,7 +599,7 @@ discard block |
||
599 | 599 | // Add TEIHDR namespace. |
600 | 600 | if (!$nsDefined['TEIHDR']) { |
601 | 601 | |
602 | - $data['tx_dlf_formats'][uniqid('NEW')] = array ( |
|
602 | + $data['tx_dlf_formats'][uniqid('NEW')] = array( |
|
603 | 603 | 'pid' => 0, |
604 | 604 | 'type' => 'TEIHDR', |
605 | 605 | 'root' => 'teiHeader', |
@@ -17,7 +17,8 @@ discard block |
||
17 | 17 | * @subpackage tx_dlf |
18 | 18 | * @access public |
19 | 19 | */ |
20 | -class tx_dlf_em { |
|
20 | +class tx_dlf_em |
|
21 | +{ |
|
21 | 22 | |
22 | 23 | /** |
23 | 24 | * This holds the current configuration |
@@ -45,7 +46,8 @@ discard block |
||
45 | 46 | * |
46 | 47 | * @return string Message informing the user of success or failure |
47 | 48 | */ |
48 | - public function checkSolrConnection(&$params, &$pObj) { |
|
49 | + public function checkSolrConnection(&$params, &$pObj) |
|
50 | + { |
|
49 | 51 | |
50 | 52 | $solrInfo = tx_dlf_solr::getSolrConnectionInfo(); |
51 | 53 | |
@@ -120,7 +122,8 @@ discard block |
||
120 | 122 | * |
121 | 123 | * @return integer UID of user or 0 if something is wrong |
122 | 124 | */ |
123 | - protected function checkCliUser($checkOnly, $groupUid) { |
|
125 | + protected function checkCliUser($checkOnly, $groupUid) |
|
126 | + { |
|
124 | 127 | |
125 | 128 | // Set default return value. |
126 | 129 | $usrUid = 0; |
@@ -292,7 +295,8 @@ discard block |
||
292 | 295 | * |
293 | 296 | * @return integer UID of usergroup or 0 if something is wrong |
294 | 297 | */ |
295 | - protected function checkCliGroup($checkOnly, $settings = array ()) { |
|
298 | + protected function checkCliGroup($checkOnly, $settings = array ()) |
|
299 | + { |
|
296 | 300 | |
297 | 301 | // Set default return value. |
298 | 302 | $grpUid = 0; |
@@ -507,7 +511,8 @@ discard block |
||
507 | 511 | * |
508 | 512 | * @return string Message informing the user of success or failure |
509 | 513 | */ |
510 | - public function checkCliUserGroup(&$params, &$pObj) { |
|
514 | + public function checkCliUserGroup(&$params, &$pObj) |
|
515 | + { |
|
511 | 516 | |
512 | 517 | // Check if usergroup "_cli_dlf" exists and is configured properly. |
513 | 518 | $groupUid = $this->checkCliGroup(empty($this->conf['makeCliUserGroup'])); |
@@ -560,7 +565,8 @@ discard block |
||
560 | 565 | * |
561 | 566 | * @return string Message informing the user of success or failure |
562 | 567 | */ |
563 | - public function checkMetadataFormats(&$params, &$pObj) { |
|
568 | + public function checkMetadataFormats(&$params, &$pObj) |
|
569 | + { |
|
564 | 570 | |
565 | 571 | $nsDefined = array ( |
566 | 572 | 'MODS' => FALSE, |
@@ -661,7 +667,8 @@ discard block |
||
661 | 667 | * |
662 | 668 | * @return void |
663 | 669 | */ |
664 | - public function __construct() { |
|
670 | + public function __construct() |
|
671 | + { |
|
665 | 672 | |
666 | 673 | // Load localization file. |
667 | 674 | $GLOBALS['LANG']->includeLLFile('EXT:dlf/locallang.xml'); |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | // Prepend username and password to hostname. |
120 | 120 | if ($solrInfo['username'] && $solrInfo['password']) { |
121 | 121 | |
122 | - $host = $solrInfo['username'].':'.$solrInfo['password'].'@'.$solrInfo['host']; |
|
122 | + $host = $solrInfo['username'] . ':' . $solrInfo['password'] . '@' . $solrInfo['host']; |
|
123 | 123 | |
124 | 124 | } else { |
125 | 125 | |
@@ -127,8 +127,8 @@ discard block |
||
127 | 127 | |
128 | 128 | } |
129 | 129 | |
130 | - $context = stream_context_create(array ( |
|
131 | - 'http' => array ( |
|
130 | + $context = stream_context_create(array( |
|
131 | + 'http' => array( |
|
132 | 132 | 'method' => 'GET', |
133 | 133 | 'user_agent' => ($conf['useragent'] ? $conf['useragent'] : ini_get('user_agent')) |
134 | 134 | ) |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | |
137 | 137 | // Build request for adding new Solr core. |
138 | 138 | // @see http://wiki.apache.org/solr/CoreAdmin |
139 | - $url = $solrInfo['scheme'].'://'.$host.':'.$solrInfo['port'].'/'.$solrInfo['path'].'/admin/cores?wt=xml&action=CREATE&name=dlfCore'.$coreNumber.'&instanceDir=dlfCore'.$coreNumber.'&dataDir=data&configSet=dlf'; |
|
139 | + $url = $solrInfo['scheme'] . '://' . $host . ':' . $solrInfo['port'] . '/' . $solrInfo['path'] . '/admin/cores?wt=xml&action=CREATE&name=dlfCore' . $coreNumber . '&instanceDir=dlfCore' . $coreNumber . '&dataDir=data&configSet=dlf'; |
|
140 | 140 | |
141 | 141 | $response = @simplexml_load_string(file_get_contents($url, FALSE, $context)); |
142 | 142 | |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | |
148 | 148 | if ($status && $status[0] == 0) { |
149 | 149 | |
150 | - $fieldArray['index_name'] = 'dlfCore'.$coreNumber; |
|
150 | + $fieldArray['index_name'] = 'dlfCore' . $coreNumber; |
|
151 | 151 | |
152 | 152 | return; |
153 | 153 | |
@@ -157,12 +157,12 @@ discard block |
||
157 | 157 | |
158 | 158 | if (TYPO3_DLOG) { |
159 | 159 | |
160 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_tcemain->processDatamap_postProcessFieldArray('.$status.', '.$table.', '.$id.', [data], ['.get_class($pObj).'])] Could not create new Apache Solr core "dlfCore'.$coreNumber.'"', $this->extKey, SYSLOG_SEVERITY_ERROR, $fieldArray); |
|
160 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_tcemain->processDatamap_postProcessFieldArray(' . $status . ', ' . $table . ', ' . $id . ', [data], [' . get_class($pObj) . '])] Could not create new Apache Solr core "dlfCore' . $coreNumber . '"', $this->extKey, SYSLOG_SEVERITY_ERROR, $fieldArray); |
|
161 | 161 | |
162 | 162 | } |
163 | 163 | |
164 | 164 | // Solr core could not be created, thus unset field array. |
165 | - $fieldArray = array (); |
|
165 | + $fieldArray = array(); |
|
166 | 166 | |
167 | 167 | break; |
168 | 168 | |
@@ -186,9 +186,9 @@ discard block |
||
186 | 186 | |
187 | 187 | // Get current configuration. |
188 | 188 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
189 | - $table.'.is_listed AS is_listed', |
|
189 | + $table . '.is_listed AS is_listed', |
|
190 | 190 | $table, |
191 | - $table.'.uid='.intval($id).tx_dlf_helper::whereClause($table), |
|
191 | + $table . '.uid=' . intval($id) . tx_dlf_helper::whereClause($table), |
|
192 | 192 | '', |
193 | 193 | '', |
194 | 194 | '1' |
@@ -214,9 +214,9 @@ discard block |
||
214 | 214 | |
215 | 215 | // Get current configuration. |
216 | 216 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
217 | - $table.'.index_autocomplete AS index_autocomplete', |
|
217 | + $table . '.index_autocomplete AS index_autocomplete', |
|
218 | 218 | $table, |
219 | - $table.'.uid='.intval($id).tx_dlf_helper::whereClause($table), |
|
219 | + $table . '.uid=' . intval($id) . tx_dlf_helper::whereClause($table), |
|
220 | 220 | '', |
221 | 221 | '', |
222 | 222 | '1' |
@@ -240,15 +240,15 @@ discard block |
||
240 | 240 | if (count($fieldArray) < 2) { |
241 | 241 | |
242 | 242 | // Unset the whole field array. |
243 | - $fieldArray = array (); |
|
243 | + $fieldArray = array(); |
|
244 | 244 | |
245 | 245 | } else { |
246 | 246 | |
247 | 247 | // Get current index name. |
248 | 248 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
249 | - $table.'.index_name AS index_name', |
|
249 | + $table . '.index_name AS index_name', |
|
250 | 250 | $table, |
251 | - $table.'.uid='.intval($id).tx_dlf_helper::whereClause($table), |
|
251 | + $table . '.uid=' . intval($id) . tx_dlf_helper::whereClause($table), |
|
252 | 252 | '', |
253 | 253 | '', |
254 | 254 | '1' |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | |
266 | 266 | if (TYPO3_DLOG) { |
267 | 267 | |
268 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_tcemain->processDatamap_postProcessFieldArray('.$status.', '.$table.', '.$id.', [data], ['.get_class($pObj).'])] Prevented change of "index_name" for UID "'.$id.'" in table "'.$table.'"', $this->extKey, SYSLOG_SEVERITY_NOTICE, $fieldArray); |
|
268 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_tcemain->processDatamap_postProcessFieldArray(' . $status . ', ' . $table . ', ' . $id . ', [data], [' . get_class($pObj) . '])] Prevented change of "index_name" for UID "' . $id . '" in table "' . $table . '"', $this->extKey, SYSLOG_SEVERITY_NOTICE, $fieldArray); |
|
269 | 269 | |
270 | 270 | } |
271 | 271 | |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
309 | 309 | 'tx_dlf_solrcores.uid,tx_dlf_documents.hidden', |
310 | 310 | 'tx_dlf_solrcores,tx_dlf_documents', |
311 | - 'tx_dlf_solrcores.uid=tx_dlf_documents.solrcore AND tx_dlf_documents.uid='.intval($id).tx_dlf_helper::whereClause('tx_dlf_solrcores'), |
|
311 | + 'tx_dlf_solrcores.uid=tx_dlf_documents.solrcore AND tx_dlf_documents.uid=' . intval($id) . tx_dlf_helper::whereClause('tx_dlf_solrcores'), |
|
312 | 312 | '', |
313 | 313 | '', |
314 | 314 | '1' |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | |
326 | 326 | // Delete Solr document. |
327 | 327 | $updateQuery = $solr->service->createUpdate(); |
328 | - $updateQuery->addDeleteQuery('uid:'.$id); |
|
328 | + $updateQuery->addDeleteQuery('uid:' . $id); |
|
329 | 329 | $updateQuery->addCommit(); |
330 | 330 | $solr->service->update($updateQuery); |
331 | 331 | |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | |
345 | 345 | if (TYPO3_DLOG) { |
346 | 346 | |
347 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_tcemain->processDatamap_afterDatabaseOperations('.$status.', '.$table.', '.$id.', [data], ['.get_class($pObj).'])] Failed to re-index document with UID "'.$id.'"', $this->extKey, SYSLOG_SEVERITY_ERROR, $fieldArray); |
|
347 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_tcemain->processDatamap_afterDatabaseOperations(' . $status . ', ' . $table . ', ' . $id . ', [data], [' . get_class($pObj) . '])] Failed to re-index document with UID "' . $id . '"', $this->extKey, SYSLOG_SEVERITY_ERROR, $fieldArray); |
|
348 | 348 | |
349 | 349 | } |
350 | 350 | |
@@ -379,13 +379,13 @@ discard block |
||
379 | 379 | */ |
380 | 380 | public function processCmdmap_postProcess($command, $table, $id, $value, $pObj) { |
381 | 381 | |
382 | - if (in_array($command, array ('move', 'delete', 'undelete')) && $table == 'tx_dlf_documents') { |
|
382 | + if (in_array($command, array('move', 'delete', 'undelete')) && $table == 'tx_dlf_documents') { |
|
383 | 383 | |
384 | 384 | // Get Solr core. |
385 | 385 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
386 | 386 | 'tx_dlf_solrcores.uid', |
387 | 387 | 'tx_dlf_solrcores,tx_dlf_documents', |
388 | - 'tx_dlf_solrcores.uid=tx_dlf_documents.solrcore AND tx_dlf_documents.uid='.intval($id).tx_dlf_helper::whereClause('tx_dlf_solrcores'), |
|
388 | + 'tx_dlf_solrcores.uid=tx_dlf_documents.solrcore AND tx_dlf_documents.uid=' . intval($id) . tx_dlf_helper::whereClause('tx_dlf_solrcores'), |
|
389 | 389 | '', |
390 | 390 | '', |
391 | 391 | '1' |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | |
406 | 406 | // Delete Solr document. |
407 | 407 | $updateQuery = $solr->service->createUpdate(); |
408 | - $updateQuery->addDeleteQuery('uid:'.$id); |
|
408 | + $updateQuery->addDeleteQuery('uid:' . $id); |
|
409 | 409 | $updateQuery->addCommit(); |
410 | 410 | $solr->service->update($updateQuery); |
411 | 411 | |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | |
431 | 431 | if (TYPO3_DLOG) { |
432 | 432 | |
433 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_tcemain->processCmdmap_postProcess('.$command.', '.$table.', '.$id.', '.$value.', ['.get_class($pObj).'])] Failed to re-index document with UID "'.$id.'"', $this->extKey, SYSLOG_SEVERITY_ERROR); |
|
433 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_tcemain->processCmdmap_postProcess(' . $command . ', ' . $table . ', ' . $id . ', ' . $value . ', [' . get_class($pObj) . '])] Failed to re-index document with UID "' . $id . '"', $this->extKey, SYSLOG_SEVERITY_ERROR); |
|
434 | 434 | |
435 | 435 | } |
436 | 436 |
@@ -17,7 +17,8 @@ discard block |
||
17 | 17 | * @subpackage tx_dlf |
18 | 18 | * @access public |
19 | 19 | */ |
20 | -class tx_dlf_tcemain { |
|
20 | +class tx_dlf_tcemain |
|
21 | +{ |
|
21 | 22 | |
22 | 23 | /** |
23 | 24 | * Field post-processing hook for the process_datamap() method. |
@@ -32,7 +33,8 @@ discard block |
||
32 | 33 | * |
33 | 34 | * @return void |
34 | 35 | */ |
35 | - public function processDatamap_postProcessFieldArray($status, $table, $id, &$fieldArray, $pObj) { |
|
36 | + public function processDatamap_postProcessFieldArray($status, $table, $id, &$fieldArray, $pObj) |
|
37 | + { |
|
36 | 38 | |
37 | 39 | if ($status == 'new') { |
38 | 40 | |
@@ -292,7 +294,8 @@ discard block |
||
292 | 294 | * |
293 | 295 | * @return void |
294 | 296 | */ |
295 | - public function processDatamap_afterDatabaseOperations($status, $table, $id, &$fieldArray, $pObj) { |
|
297 | + public function processDatamap_afterDatabaseOperations($status, $table, $id, &$fieldArray, $pObj) |
|
298 | + { |
|
296 | 299 | |
297 | 300 | if ($status == 'update') { |
298 | 301 | |
@@ -377,7 +380,8 @@ discard block |
||
377 | 380 | * |
378 | 381 | * @return void |
379 | 382 | */ |
380 | - public function processCmdmap_postProcess($command, $table, $id, $value, $pObj) { |
|
383 | + public function processCmdmap_postProcess($command, $table, $id, $value, $pObj) |
|
384 | + { |
|
381 | 385 | |
382 | 386 | if (in_array($command, array ('move', 'delete', 'undelete')) && $table == 'tx_dlf_documents') { |
383 | 387 |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * @var array |
44 | 44 | * @access protected |
45 | 45 | */ |
46 | - protected $piVars = array (); |
|
46 | + protected $piVars = array(); |
|
47 | 47 | |
48 | 48 | /** |
49 | 49 | * This holds the DLF parameter prefix |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | |
172 | 172 | if (TYPO3_DLOG) { |
173 | 173 | |
174 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_doctype->loadDocument()] Failed to load document with UID "'.$this->piVars['id'].'"', $this->extKey, SYSLOG_SEVERITY_WARNING); |
|
174 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_doctype->loadDocument()] Failed to load document with UID "' . $this->piVars['id'] . '"', $this->extKey, SYSLOG_SEVERITY_WARNING); |
|
175 | 175 | |
176 | 176 | } |
177 | 177 | |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
184 | 184 | 'tx_dlf_documents.uid', |
185 | 185 | 'tx_dlf_documents', |
186 | - 'tx_dlf_documents.record_id='.$GLOBALS['TYPO3_DB']->fullQuoteStr($this->piVars['recordId'], 'tx_dlf_documents').tx_dlf_helper::whereClause('tx_dlf_documents'), |
|
186 | + 'tx_dlf_documents.record_id=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($this->piVars['recordId'], 'tx_dlf_documents') . tx_dlf_helper::whereClause('tx_dlf_documents'), |
|
187 | 187 | '', |
188 | 188 | '', |
189 | 189 | '1' |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | |
207 | 207 | if (TYPO3_DLOG) { |
208 | 208 | |
209 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_doctype->loadDocument()] Failed to load document with record ID "'.$this->piVars['recordId'].'"', $this->extKey, SYSLOG_SEVERITY_WARNING); |
|
209 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_doctype->loadDocument()] Failed to load document with record ID "' . $this->piVars['recordId'] . '"', $this->extKey, SYSLOG_SEVERITY_WARNING); |
|
210 | 210 | |
211 | 211 | } |
212 | 212 |
@@ -18,7 +18,8 @@ discard block |
||
18 | 18 | * @subpackage tx_dlf |
19 | 19 | * @access public |
20 | 20 | */ |
21 | -class tx_dlf_doctype { |
|
21 | +class tx_dlf_doctype |
|
22 | +{ |
|
22 | 23 | |
23 | 24 | /** |
24 | 25 | * This holds the current document |
@@ -60,7 +61,8 @@ discard block |
||
60 | 61 | * |
61 | 62 | * @return string The type of the current document |
62 | 63 | */ |
63 | - public function getDocType() { |
|
64 | + public function getDocType() |
|
65 | + { |
|
64 | 66 | |
65 | 67 | // Load current document. |
66 | 68 | $this->loadDocument(); |
@@ -156,7 +158,8 @@ discard block |
||
156 | 158 | * |
157 | 159 | * @return void |
158 | 160 | */ |
159 | - protected function loadDocument() { |
|
161 | + protected function loadDocument() |
|
162 | + { |
|
160 | 163 | |
161 | 164 | // Check for required variable. |
162 | 165 | if (!empty($this->piVars['id'])) { |
@@ -223,7 +226,8 @@ discard block |
||
223 | 226 | * |
224 | 227 | * @return void |
225 | 228 | */ |
226 | - public function __construct() { |
|
229 | + public function __construct() |
|
230 | + { |
|
227 | 231 | |
228 | 232 | // Load current plugin parameters. |
229 | 233 | $this->piVars = \TYPO3\CMS\Core\Utility\GeneralUtility::_GPmerged($this->prefixId); |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -$EM_CONF[$_EXTKEY] = array ( |
|
12 | +$EM_CONF[$_EXTKEY] = array( |
|
13 | 13 | 'title' => 'Kitodo.Presentation', |
14 | 14 | 'description' => 'Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Kitodo Digitization Suite.', |
15 | 15 | 'category' => 'fe', |
@@ -22,18 +22,18 @@ discard block |
||
22 | 22 | 'createDirs' => '', |
23 | 23 | 'clearCacheOnLoad' => FALSE, |
24 | 24 | 'version' => '2.2.0', |
25 | - 'constraints' => array ( |
|
26 | - 'depends' => array ( |
|
25 | + 'constraints' => array( |
|
26 | + 'depends' => array( |
|
27 | 27 | 'php' => '7.0.0-', |
28 | 28 | 'typo3' => '7.6.0-', |
29 | 29 | ), |
30 | - 'conflicts' => array ( |
|
30 | + 'conflicts' => array( |
|
31 | 31 | ), |
32 | - 'suggests' => array ( |
|
32 | + 'suggests' => array( |
|
33 | 33 | ), |
34 | 34 | ), |
35 | - 'autoload' => array ( |
|
36 | - 'classmap' => array ( |
|
35 | + 'autoload' => array( |
|
36 | + 'classmap' => array( |
|
37 | 37 | 'vendor/solarium', |
38 | 38 | 'vendor/symfony/event-dispatcher', |
39 | 39 | 'cli/class.tx_dlf_cli.php', |