Replace all TINYTEXT columns with VARCHAR(255) and change index "parent" of fe_user...
[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' => '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 )
97 ),
98 'indexcfgs' => Array (
99 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.indexcfgs',
100 'config' => Array (
101 'type' => 'group',
102 'internal_type' => 'db',
103 'allowed' => 'index_config,pages',
104 'size' => 5,
105 'minitems' => 0,
106 'maxitems' => 200,
107 )
108 ),
109 'get_params' => Array (
110 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.get_params',
111 'config' => Array (
112 'type' => 'input',
113 'size' => '30',
114 )
115 ),
116 'fieldlist' => Array (
117 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.fields',
118 'config' => Array (
119 'type' => 'input',
120 'size' => '30',
121 )
122 ),
123 'externalUrl' => Array (
124 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.externalUrl',
125 'config' => Array (
126 'type' => 'input',
127 'size' => '30',
128 )
129 ),
130 'chashcalc' => Array (
131 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.chashcalc',
132 'config' => Array (
133 'type' => 'check',
134 )
135 ),
136 'filepath' => Array (
137 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.filepath',
138 'config' => Array (
139 'type' => 'input',
140 'size' => '30',
141 )
142 ),
143 'extensions' => Array (
144 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.extensions',
145 'config' => Array (
146 'type' => 'input',
147 'size' => '30',
148 )
149 ),
150 'url_deny' => Array (
151 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.url_deny',
152 'config' => Array (
153 'type' => 'text',
154 'cols' => '30',
155 'rows' => '2',
156 )
157 ),
158 'records_indexonchange' => Array (
159 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.records_indexonchange',
160 'config' => Array (
161 'type' => 'check',
162 'default' => '0',
163 )
164 ),
165 'timer_next_indexing' => Array (
166 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_next_indexing',
167 'config' => Array (
168 'type' => 'input',
169 'size' => '12',
170 'max' => '20',
171 'eval' => 'datetime',
172 'default' => '0',
173 'checkbox' => '0'
174 )
175 ),
176 'timer_offset' => Array (
177 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_offset',
178 'config' => Array (
179 'type' => 'input',
180 'size' => '8',
181 'max' => '20',
182 'eval' => 'time',
183 'default' => 3600,
184 )
185 ),
186 'timer_frequency' => Array (
187 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency',
188 'config' => Array (
189 'type' => 'select',
190 'items' => Array (
191 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.0', '3600'),
192 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.1', '86400'),
193 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.2', '604800'),
194 ),
195 'size' => 1,
196 'maxitems' => 1,
197 'default' => 86400,
198 )
199 ),
200 'recordsbatch' => Array (
201 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.recordsbatch',
202 'config' => Array (
203 'type' => 'input',
204 'size' => '8',
205 'max' => '20',
206 'eval' => 'int',
207 'default' => '0',
208 'checkbox' => '0'
209 )
210 ),
211 'set_id' => Array (
212 'label' => 'Session ID (if > zero, then indexing job is running):',
213 'config' => Array (
214 'type' => 'none',
215 )
216 ),
217 ),
218 'types' => Array (
219 '0' => Array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3'),
220 '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'),
221 '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'),
222 '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'),
223 '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'),
224 '5' => Array('showitem' => 'title;;;;2-2-2, description, type;;;;3-3-3, indexcfgs;;;;3-3-3'),
225 ),
226 'palettes' => Array (
227 '1' => Array('showitem' => 'starttime,hidden')
228 )
229 );
230 ?>