Documentation TYPO3 par Ameos |
00001 <?php 00002 if (!defined ('TYPO3_MODE')) die ('Access denied.'); 00003 00004 $TCA['tt_guest'] = Array ( 00005 'ctrl' => Array ( 00006 'label' => 'title', 00007 'default_sortby' => 'ORDER BY crdate DESC', 00008 'tstamp' => 'tstamp', 00009 'crdate' => 'crdate', 00010 'delete' => 'deleted', 00011 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy', 00012 'enablecolumns' => Array ( 00013 'disabled' => 'hidden' 00014 ), 00015 'title' => 'LLL:EXT:tt_guest/locallang_tca.php:tt_guest', 00016 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif', 00017 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php' 00018 ) 00019 ); 00020 t3lib_extMgm::addPlugin(Array('LLL:EXT:tt_guest/locallang_tca.php:pi', '3')); 00021 t3lib_extMgm::allowTableOnStandardPages('tt_guest'); 00022 t3lib_extMgm::addToInsertRecords('tt_guest'); 00023 if (TYPO3_MODE=='BE') { 00024 $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_ttguest_wizicon'] = 00025 t3lib_extMgm::extPath($_EXTKEY).'class.tx_ttguest_wizicon.php'; 00026 } 00027 00028 t3lib_extMgm::addLLrefForTCAdescr('tt_guest','EXT:tt_guest/locallang_csh_ttguest.php'); 00029 ?>