Documentation TYPO3 par Ameos

ext_tables.php

00001 <?php
00002 if (!defined ('TYPO3_MODE'))    die ('Access denied.');
00003 
00004 $TCA['tt_products'] = Array (
00005         'ctrl' => Array (
00006                 'label' => 'title',
00007                 'default_sortby' => 'ORDER BY title',
00008                 'tstamp' => 'tstamp',
00009                 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00010                 'delete' => 'deleted',
00011                 'title' => 'LLL:EXT:tt_products/locallang_tca.php:tt_products',
00012                 'enablecolumns' => Array (
00013                         'disabled' => 'hidden',
00014                         'starttime' => 'starttime',
00015                         'endtime' => 'endtime',
00016                         'fe_group' => 'fe_group',
00017                 ),
00018                 'thumbnail' => 'image',
00019                 'useColumnsForDefaultValues' => 'category',
00020                 'mainpalette' => 1,
00021                 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif',
00022                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
00023         )
00024 );
00025 $TCA['tt_products_cat'] = Array (
00026         'ctrl' => Array (
00027                 'label' => 'title',
00028                 'tstamp' => 'tstamp',
00029                 'delete' => 'deleted',
00030                 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00031                 'crdate' => 'crdate',
00032                 'title' => 'LLL:EXT:tt_products/locallang_tca.php:tt_products_cat',
00033                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
00034         )
00035 );
00036 t3lib_extMgm::addPlugin(Array('LLL:EXT:tt_products/locallang_tca.php:tt_products', '5'));
00037 t3lib_extMgm::allowTableOnStandardPages('tt_products');
00038 t3lib_extMgm::addToInsertRecords('tt_products');
00039 if (TYPO3_MODE=='BE')   $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_ttproducts_wizicon'] = t3lib_extMgm::extPath($_EXTKEY).'class.tx_ttproducts_wizicon.php';
00040 
00041 t3lib_extMgm::addLLrefForTCAdescr('tt_products','EXT:tt_products/locallang_csh_ttprod.php');
00042 t3lib_extMgm::addLLrefForTCAdescr('tt_products_cat','EXT:tt_products/locallang_csh_ttprodc.php');
00043 
00044 ?>


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