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