Documentation TYPO3 par Ameos

tca.php

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' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
00013             'config' => Array (
00014                 'type' => 'check',
00015                 'default' => '0'
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                 ),
00055                 'size' => 1,
00056                 'maxitems' => 1,
00057             )
00058         ),
00059         'depth' => Array (
00060             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.depth',
00061             'config' => Array (
00062                 'type' => 'select',
00063                 'items' => Array (
00064                     Array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.0', '0'),
00065                     Array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.1', '1'),
00066                     Array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.2', '2'),
00067                     Array('LLL:EXT:indexed_search/locallang_db.php:index_config.depth.I.3', '3'),
00068                 ),
00069                 'size' => 1,
00070                 'maxitems' => 1,
00071             )
00072         ),
00073         'table2index' => Array (
00074             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.table2index',
00075             'config' => Array (
00076                 'type' => 'select',
00077                 'items' => Array (
00078                     Array('LLL:EXT:indexed_search/locallang_db.php:index_config.table2index.I.0', '0'),
00079                 ),
00080                                 'special' => 'tables',
00081                 'size' => 1,
00082                 'maxitems' => 1,
00083             )
00084         ),
00085         'alternative_source_pid' => Array (
00086             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.alternative_source_pid',
00087             'config' => Array (
00088                 'type' => 'group',
00089                 'internal_type' => 'db',
00090                 'allowed' => 'pages',
00091                 'size' => 1,
00092                 'minitems' => 0,
00093                 'maxitems' => 1,
00094             )
00095         ),
00096         'get_params' => Array (
00097             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.get_params',
00098             'config' => Array (
00099                 'type' => 'input',
00100                 'size' => '30',
00101             )
00102         ),
00103         'fieldlist' => Array (
00104             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.fields',
00105             'config' => Array (
00106                 'type' => 'input',
00107                 'size' => '30',
00108             )
00109         ),
00110         'externalUrl' => Array (
00111             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.externalUrl',
00112             'config' => Array (
00113                 'type' => 'input',
00114                 'size' => '30',
00115             )
00116         ),
00117         'chashcalc' => Array (
00118             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.chashcalc',
00119             'config' => Array (
00120                 'type' => 'check',
00121             )
00122         ),
00123         'filepath' => Array (
00124             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.filepath',
00125             'config' => Array (
00126                 'type' => 'input',
00127                 'size' => '30',
00128             )
00129         ),
00130         'extensions' => Array (
00131             'label' => 'LLL:EXT:indexed_search/locallang_db.php:index_config.extensions',
00132             'config' => Array (
00133                 'type' => 'input',
00134                 'size' => '30',
00135             )
00136         ),
00137     ),
00138     'types' => Array (
00139         '0' => Array('showitem' => 'title;;1;;2-2-2, description, type'),
00140         '1' => Array('showitem' => 'title;;1;;2-2-2, description, type;;;;3-3-3, table2index;;;;3-3-3, alternative_source_pid, fieldlist, get_params, chashcalc'),
00141         '2' => Array('showitem' => 'title;;1;;2-2-2, description, type;;;;3-3-3, filepath;;;;3-3-3, extensions, depth'),
00142         '3' => Array('showitem' => 'title;;1;;2-2-2, description, type;;;;3-3-3, externalUrl;;;;3-3-3, depth')
00143     ),
00144     'palettes' => Array (
00145         '1' => Array('showitem' => 'starttime,hidden')
00146     )
00147 );
00148 ?>


Généré par TYPO3 Ameos avec  doxygen 1.4.6