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