[TASK] Remove superfluous parenthesis in sysexts
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / tca.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 $TCA['index_config'] = array(
6 'ctrl' => $TCA['index_config']['ctrl'],
7 'interface' => array(
8 'showRecordFieldList' => 'hidden,starttime,title,description,type,depth,table2index,alternative_source_pid,get_params,chashcalc,filepath,extensions'
9 ),
10 'feInterface' => $TCA['index_config']['feInterface'],
11 'columns' => array(
12 'hidden' => array(
13 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
14 'config' => array(
15 'type' => 'check',
16 'default' => '1'
17 )
18 ),
19 'starttime' => array(
20 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
21 'config' => array(
22 'type' => 'input',
23 'size' => '8',
24 'max' => '20',
25 'eval' => 'date',
26 'default' => '0',
27 'checkbox' => '0'
28 )
29 ),
30 'title' => array(
31 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.title',
32 'config' => array(
33 'type' => 'input',
34 'size' => '30',
35 'eval' => 'required'
36 )
37 ),
38 'description' => array(
39 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.description',
40 'config' => array(
41 'type' => 'text',
42 'cols' => '30',
43 'rows' => '2'
44 )
45 ),
46 'type' => array(
47 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.type',
48 'config' => array(
49 'type' => 'select',
50 'items' => array(
51 array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.0', '0'),
52 array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.1', '1'),
53 array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.2', '2'),
54 array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.3', '3'),
55 array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.4', '4'),
56 array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.5', '5')
57 ),
58 'size' => 1,
59 'maxitems' => 1
60 )
61 ),
62 'depth' => array(
63 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.depth',
64 'config' => array(
65 'type' => 'select',
66 'items' => array(
67 array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.0', '0'),
68 array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.1', '1'),
69 array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.2', '2'),
70 array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.3', '3')
71 ),
72 'size' => 1,
73 'maxitems' => 1
74 )
75 ),
76 'table2index' => array(
77 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.table2index',
78 'config' => array(
79 'type' => 'select',
80 'items' => array(
81 array('LLL:EXT:indexed_search/locallang_db.php:index_config.table2index.I.0', '0')
82 ),
83 'special' => 'tables',
84 'size' => 1,
85 'maxitems' => 1
86 )
87 ),
88 'alternative_source_pid' => array(
89 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.alternative_source_pid',
90 'config' => array(
91 'type' => 'group',
92 'internal_type' => 'db',
93 'allowed' => 'pages',
94 'size' => 1,
95 'minitems' => 0,
96 'maxitems' => 1,
97 'wizards' => array(
98 'suggest' => array(
99 'type' => 'suggest'
100 )
101 )
102 )
103 ),
104 'indexcfgs' => array(
105 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.indexcfgs',
106 'config' => array(
107 'type' => 'group',
108 'internal_type' => 'db',
109 'allowed' => 'index_config,pages',
110 'size' => 5,
111 'minitems' => 0,
112 'maxitems' => 200,
113 'wizards' => array(
114 'suggest' => array(
115 'type' => 'suggest'
116 )
117 )
118 )
119 ),
120 'get_params' => array(
121 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.get_params',
122 'config' => array(
123 'type' => 'input',
124 'size' => '30'
125 )
126 ),
127 'fieldlist' => array(
128 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.fields',
129 'config' => array(
130 'type' => 'input',
131 'size' => '30'
132 )
133 ),
134 'externalUrl' => array(
135 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.externalUrl',
136 'config' => array(
137 'type' => 'input',
138 'size' => '30'
139 )
140 ),
141 'chashcalc' => array(
142 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.chashcalc',
143 'config' => array(
144 'type' => 'check'
145 )
146 ),
147 'filepath' => array(
148 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.filepath',
149 'config' => array(
150 'type' => 'input',
151 'size' => '30'
152 )
153 ),
154 'extensions' => array(
155 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.extensions',
156 'config' => array(
157 'type' => 'input',
158 'size' => '30'
159 )
160 ),
161 'url_deny' => array(
162 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.url_deny',
163 'config' => array(
164 'type' => 'text',
165 'cols' => '30',
166 'rows' => '2'
167 )
168 ),
169 'records_indexonchange' => array(
170 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.records_indexonchange',
171 'config' => array(
172 'type' => 'check',
173 'default' => '0'
174 )
175 ),
176 'timer_next_indexing' => array(
177 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_next_indexing',
178 'config' => array(
179 'type' => 'input',
180 'size' => '12',
181 'max' => '20',
182 'eval' => 'datetime',
183 'default' => '0',
184 'checkbox' => '0'
185 )
186 ),
187 'timer_offset' => array(
188 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_offset',
189 'config' => array(
190 'type' => 'input',
191 'size' => '8',
192 'max' => '20',
193 'eval' => 'time',
194 'default' => 3600
195 )
196 ),
197 'timer_frequency' => array(
198 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency',
199 'config' => array(
200 'type' => 'select',
201 'items' => array(
202 array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.0', '3600'),
203 array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.1', '86400'),
204 array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.2', '604800')
205 ),
206 'size' => 1,
207 'maxitems' => 1,
208 'default' => 86400
209 )
210 ),
211 'recordsbatch' => array(
212 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.recordsbatch',
213 'config' => array(
214 'type' => 'input',
215 'size' => '8',
216 'max' => '20',
217 'eval' => 'int',
218 'default' => '0',
219 'checkbox' => '0'
220 )
221 ),
222 'set_id' => array(
223 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.set_id',
224 'config' => array(
225 'type' => 'none'
226 )
227 )
228 ),
229 'types' => array(
230 '0' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3'),
231 '1' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3, table2index;;;;3-3-3, alternative_source_pid, fieldlist, get_params, chashcalc,recordsbatch,records_indexonchange'),
232 '2' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3, filepath;;;;3-3-3, extensions, depth'),
233 '3' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3, externalUrl;;;;3-3-3, depth, url_deny'),
234 '4' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3, alternative_source_pid;LLL:EXT:indexed_search/locallang_db.php:index_config.rootpage;;;3-3-3, depth'),
235 '5' => array('showitem' => 'title;;;;2-2-2, description, type;;;;3-3-3, indexcfgs;;;;3-3-3')
236 ),
237 'palettes' => array(
238 '1' => array('showitem' => 'starttime,hidden')
239 )
240 );
241 ?>