Documentation TYPO3 par Ameos |
00001 <?php 00002 if (!defined ('TYPO3_MODE')) die ('Access denied.'); 00003 00004 $TCA['index_config'] = Array ( 00005 'ctrl' => $TCA['index_config']['ctrl'], 00006 'interface' => Array ( 00007 'showRecordFieldList' => 'hidden,starttime,title,description,type,depth,table2index,alternative_source_pid,get_params,chashcalc,filepath,extensions' 00008 ), 00009 'feInterface' => $TCA['index_config']['feInterface'], 00010 'columns' => Array ( 00011 'hidden' => Array ( 00012 'label' => 'Disable', 00013 'config' => Array ( 00014 'type' => 'check', 00015 'default' => '1' 00016 ) 00017 ), 00018 'starttime' => Array ( 00019 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime', 00020 'config' => Array ( 00021 'type' => 'input', 00022 'size' => '8', 00023 'max' => '20', 00024 'eval' => 'date', 00025 'default' => '0', 00026 'checkbox' => '0' 00027 ) 00028 ), 00029 'title' => Array ( 00030 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.title', 00031 'config' => Array ( 00032 'type' => 'input', 00033 'size' => '30', 00034 'eval' => 'required', 00035 ) 00036 ), 00037 'description' => Array ( 00038 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.description', 00039 'config' => Array ( 00040 'type' => 'text', 00041 'cols' => '30', 00042 'rows' => '2', 00043 ) 00044 ), 00045 'type' => Array ( 00046 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.type', 00047 'config' => Array ( 00048 'type' => 'select', 00049 'items' => Array ( 00050 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.0', '0'), 00051 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.1', '1'), 00052 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.2', '2'), 00053 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.3', '3'), 00054 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.4', '4'), 00055 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.type.I.5', '5'), 00056 ), 00057 'size' => 1, 00058 'maxitems' => 1, 00059 ) 00060 ), 00061 'depth' => Array ( 00062 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.depth', 00063 'config' => Array ( 00064 'type' => 'select', 00065 'items' => Array ( 00066 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.0', '0'), 00067 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.1', '1'), 00068 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.2', '2'), 00069 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.3', '3'), 00070 ), 00071 'size' => 1, 00072 'maxitems' => 1, 00073 ) 00074 ), 00075 'table2index' => Array ( 00076 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.table2index', 00077 'config' => Array ( 00078 'type' => 'select', 00079 'items' => Array ( 00080 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.table2index.I.0', '0'), 00081 ), 00082 'special' => 'tables', 00083 'size' => 1, 00084 'maxitems' => 1, 00085 ) 00086 ), 00087 'alternative_source_pid' => Array ( 00088 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.alternative_source_pid', 00089 'config' => Array ( 00090 'type' => 'group', 00091 'internal_type' => 'db', 00092 'allowed' => 'pages', 00093 'size' => 1, 00094 'minitems' => 0, 00095 'maxitems' => 1, 00096 ) 00097 ), 00098 'indexcfgs' => Array ( 00099 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.indexcfgs', 00100 'config' => Array ( 00101 'type' => 'group', 00102 'internal_type' => 'db', 00103 'allowed' => 'index_config,pages', 00104 'size' => 5, 00105 'minitems' => 0, 00106 'maxitems' => 200, 00107 ) 00108 ), 00109 'get_params' => Array ( 00110 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.get_params', 00111 'config' => Array ( 00112 'type' => 'input', 00113 'size' => '30', 00114 ) 00115 ), 00116 'fieldlist' => Array ( 00117 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.fields', 00118 'config' => Array ( 00119 'type' => 'input', 00120 'size' => '30', 00121 ) 00122 ), 00123 'externalUrl' => Array ( 00124 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.externalUrl', 00125 'config' => Array ( 00126 'type' => 'input', 00127 'size' => '30', 00128 ) 00129 ), 00130 'chashcalc' => Array ( 00131 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.chashcalc', 00132 'config' => Array ( 00133 'type' => 'check', 00134 ) 00135 ), 00136 'filepath' => Array ( 00137 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.filepath', 00138 'config' => Array ( 00139 'type' => 'input', 00140 'size' => '30', 00141 ) 00142 ), 00143 'extensions' => Array ( 00144 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.extensions', 00145 'config' => Array ( 00146 'type' => 'input', 00147 'size' => '30', 00148 ) 00149 ), 00150 'url_deny' => Array ( 00151 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.url_deny', 00152 'config' => Array ( 00153 'type' => 'text', 00154 'cols' => '30', 00155 'rows' => '2', 00156 ) 00157 ), 00158 'records_indexonchange' => Array ( 00159 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.records_indexonchange', 00160 'config' => Array ( 00161 'type' => 'check', 00162 'default' => '0', 00163 ) 00164 ), 00165 'timer_next_indexing' => Array ( 00166 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_next_indexing', 00167 'config' => Array ( 00168 'type' => 'input', 00169 'size' => '12', 00170 'max' => '20', 00171 'eval' => 'datetime', 00172 'default' => '0', 00173 'checkbox' => '0' 00174 ) 00175 ), 00176 'timer_offset' => Array ( 00177 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_offset', 00178 'config' => Array ( 00179 'type' => 'input', 00180 'size' => '8', 00181 'max' => '20', 00182 'eval' => 'time', 00183 'default' => 3600, 00184 ) 00185 ), 00186 'timer_frequency' => Array ( 00187 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency', 00188 'config' => Array ( 00189 'type' => 'select', 00190 'items' => Array ( 00191 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.0', '3600'), 00192 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.1', '86400'), 00193 Array('LLL:EXT:indexed_search/locallang_db.php:index_config.timer_frequency.I.2', '604800'), 00194 ), 00195 'size' => 1, 00196 'maxitems' => 1, 00197 'default' => 86400, 00198 ) 00199 ), 00200 'recordsbatch' => Array ( 00201 'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.recordsbatch', 00202 'config' => Array ( 00203 'type' => 'input', 00204 'size' => '8', 00205 'max' => '20', 00206 'eval' => 'int', 00207 'default' => '0', 00208 'checkbox' => '0' 00209 ) 00210 ), 00211 'set_id' => Array ( 00212 'label' => 'Session ID (if > zero, then indexing job is running):', 00213 'config' => Array ( 00214 'type' => 'none', 00215 ) 00216 ), 00217 ), 00218 'types' => Array ( 00219 '0' => Array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3'), 00220 '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'), 00221 '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'), 00222 '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'), 00223 '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'), 00224 '5' => Array('showitem' => 'title;;;;2-2-2, description, type;;;;3-3-3, indexcfgs;;;;3-3-3'), 00225 ), 00226 'palettes' => Array ( 00227 '1' => Array('showitem' => 'starttime,hidden') 00228 ) 00229 ); 00230 ?>