Documentation TYPO3 par Ameos

ext_tables.php

00001 <?php
00002 if (!defined ('TYPO3_MODE'))    die ('Access denied.');
00003 
00004 $TCA['tt_board'] = Array (
00005         'ctrl' => Array (
00006                 'label' => 'subject',
00007                 'default_sortby' => 'ORDER BY parent,crdate DESC',              // crdate should gradually not be used! Trying to phase it out in favour of datetime.
00008                 'tstamp' => 'tstamp',
00009                 'crdate' => 'crdate',
00010                 'delete' => 'deleted',
00011                 'copyAfterDuplFields' => 'parent',
00012                 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00013                 'enablecolumns' => Array (
00014                         'disabled' => 'hidden'
00015                 ),
00016                 'title' => 'LLL:EXT:tt_board/locallang_tca.php:tt_board',
00017                 'typeicon_column' => 'parent',
00018                 'typeicons' => Array (
00019                         '0' => 'tt_faq_board_root.gif'
00020                 ),
00021                 'useColumnsForDefaultValues' => 'parent',
00022                 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif',
00023                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
00024         )
00025 );
00026 t3lib_extMgm::addPlugin(Array('LLL:EXT:tt_board/locallang_tca.php:pi_list', '4'));
00027 t3lib_extMgm::addPlugin(Array('LLL:EXT:tt_board/locallang_tca.php:pi_tree', '2'));
00028 t3lib_extMgm::allowTableOnStandardPages('tt_board');
00029 t3lib_extMgm::addToInsertRecords('tt_board');
00030 
00031 t3lib_extMgm::addLLrefForTCAdescr('tt_board','EXT:tt_board/locallang_csh_ttboard.php');
00032 
00033 if (TYPO3_MODE=='BE')   $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_ttboard_wizicon'] = t3lib_extMgm::extPath($_EXTKEY).'class.tx_ttboard_wizicon.php';
00034 ?>


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