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