Documentation TYPO3 par Ameos

ext_tables.php

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


Généré par Les experts TYPO3 avec  doxygen 1.4.6