Documentation TYPO3 par Ameos

tca.php

00001 <?php
00002 
00003 
00004 // ******************************************************************
00005 // This is the standard TypoScript guestbook
00006 // ******************************************************************
00007 $TCA['tt_guest'] = Array (
00008         'ctrl' => $TCA['tt_guest']['ctrl'],
00009         'interface' => Array (
00010                 'showRecordFieldList' => 'title,cr_name,cr_email,note,www,hidden'
00011         ),
00012         'columns' => Array (    
00013                 'title' => Array (
00014                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.title',
00015                         'config' => Array (
00016                                 'type' => 'input',
00017                                 'size' => '40',
00018                                 'max' => '256'
00019                         )
00020                 ),
00021                 'note' => Array (
00022                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.note',
00023                         'config' => Array (
00024                                 'type' => 'text',
00025                                 'cols' => '40', 
00026                                 'rows' => '5'
00027                         )
00028                 ),
00029                 'cr_name' => Array (
00030                         'label' => 'LLL:EXT:tt_guest/locallang_tca.php:tt_guest.cr_name',
00031                         'config' => Array (
00032                                 'type' => 'input',
00033                                 'size' => '40',
00034                                 'eval' => 'trim',
00035                                 'max' => '80'
00036                         )
00037                 ),
00038                 'cr_email' => Array (
00039                         'label' => 'LLL:EXT:tt_guest/locallang_tca.php:tt_guest.cr_email',
00040                         'config' => Array (
00041                                 'type' => 'input',
00042                                 'size' => '40',
00043                                 'eval' => 'trim',
00044                                 'max' => '80'
00045                         )
00046                 ),
00047                 'www' => Array (
00048                         'exclude' => 1, 
00049                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.www',
00050                         'config' => Array (
00051                                 'type' => 'input',
00052                                 'eval' => 'trim',
00053                                 'size' => '20',
00054                                 'max' => '256'
00055                         )
00056                 ),
00057                 'hidden' => Array (
00058                         'exclude' => 1, 
00059                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
00060                         'config' => Array (
00061                                 'type' => 'check',
00062                                 'default' => '1'
00063                         )
00064                 )
00065         ),
00066         'types' => Array (      
00067                 '0' => Array('showitem' => 'hidden;;;;1-1-1, title;;;;3-3-3, note, cr_name, cr_email, www')
00068         )
00069 );
00070 ?>


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