Documentation TYPO3 par Ameos

ext_tables.php

00001 <?php
00002 if (!defined ('TYPO3_MODE'))    die ('Access denied.');
00003 
00004 $TCA['tt_calender'] = Array (
00005         'ctrl' => Array (
00006                 'label' => 'title',
00007                 'default_sortby' => 'ORDER BY date',
00008                 'tstamp' => 'tstamp',
00009                 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00010                 'delete' => 'deleted',
00011                 'type' => 'type',
00012                 'enablecolumns' => Array (
00013                         'disabled' => 'hidden',
00014                         'starttime' => 'starttime',
00015                         'endtime' => 'endtime'
00016                 ),
00017                 'mainpalette' => 1,
00018                 'typeicon_column' => 'type',
00019                 'typeicons' => Array (
00020                         '0' => 'tt_calender.gif',
00021                         '1' => 'tt_calender_todo.gif'
00022                 ),
00023                 'title' => 'LLL:EXT:tt_calender/locallang_tca.php:tt_calender',
00024                 'useColumnsForDefaultValues' => 'type',
00025                 'mainpalette' => 1,
00026                 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif',
00027                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
00028         )
00029 );
00030 $TCA['tt_calender_cat'] = Array (
00031         'ctrl' => Array (
00032                 'label' => 'title',
00033                 'tstamp' => 'tstamp',
00034                 'delete' => 'deleted',
00035                 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00036                 'crdate' => 'crdate',
00037                 'title' => 'LLL:EXT:tt_calender/locallang_tca.php:tt_calender_cat',
00038                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
00039         )
00040 );
00041 t3lib_extMgm::addPlugin(Array('LLL:EXT:tt_calender/locallang_tca.php:tt_calender', '7'));
00042 t3lib_extMgm::allowTableOnStandardPages('tt_calender');
00043 t3lib_extMgm::addToInsertRecords('tt_calender');
00044 
00045 t3lib_extMgm::addLLrefForTCAdescr('tt_calender','EXT:tt_calender/locallang_csh_ttcalen.php');
00046 t3lib_extMgm::addLLrefForTCAdescr('tt_calender_cat','EXT:tt_calender/locallang_csh_ttcalenc.php');
00047 ?>


Généré par L'expert TYPO3 avec  doxygen 1.4.6