Documentation TYPO3 par Ameos

tca.php

00001 <?php
00002 
00003 // ******************************************************************
00004 // This is the standard TypoScript address table, tt_address
00005 // ******************************************************************
00006 $TCA['tt_address'] = Array (
00007         'ctrl' => $TCA['tt_address']['ctrl'],
00008         'interface' => Array (
00009                 'showRecordFieldList' => 'name,address,city,zip,country,phone,fax,email,www,title,company,image'
00010         ),
00011         'feInterface' => $TCA['tt_address']['feInterface'],
00012         'columns' => Array (
00013                 'hidden' => Array (
00014                         'exclude' => 1,
00015                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
00016                         'config' => Array (
00017                                 'type' => 'check'
00018                         )
00019                 ),
00020                 'name' => Array (
00021                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.name',
00022                         'config' => Array (
00023                                 'type' => 'input',
00024                                 'size' => '40',
00025                                 'max' => '256'
00026                         )
00027                 ),
00028                 'title' => Array (
00029                         'exclude' => 1,
00030                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.title_person',
00031                         'config' => Array (
00032                                 'type' => 'input',
00033                                 'size' => '20',
00034                                 'eval' => 'trim',
00035                                 'max' => '40'
00036                         )
00037                 ),
00038                 'address' => Array (
00039                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.address',
00040                         'config' => Array (
00041                                 'type' => 'text',
00042                                 'cols' => '20',
00043                                 'rows' => '3'
00044                         )
00045                 ),
00046                 'phone' => Array (
00047                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.phone',
00048                         'config' => Array (
00049                                 'type' => 'input',
00050                                 'eval' => 'trim',
00051                                 'size' => '20',
00052                                 'max' => '30'
00053                         )
00054                 ),
00055                 'fax' => Array (
00056                         'exclude' => 1,
00057                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fax',
00058                         'config' => Array (
00059                                 'type' => 'input',
00060                                 'size' => '20',
00061                                 'eval' => 'trim',
00062                                 'max' => '30'
00063                         )
00064                 ),
00065                 'mobile' => Array (
00066                         'exclude' => 1,
00067                         'label' => 'LLL:EXT:tt_address/locallang_tca.php:tt_address.mobile',
00068                         'config' => Array (
00069                                 'type' => 'input',
00070                                 'eval' => 'trim',
00071                                 'size' => '20',
00072                                 'max' => '30'
00073                         )
00074                 ),
00075                 'www' => Array (
00076                         'exclude' => 1,
00077                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.www',
00078                         'config' => Array (
00079                                 'type' => 'input',
00080                                 'eval' => 'trim',
00081                                 'size' => '20',
00082                                 'max' => '80'
00083                         )
00084                 ),
00085                 'email' => Array (
00086                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
00087                         'config' => Array (
00088                                 'type' => 'input',
00089                                 'size' => '40',
00090                                 'eval' => 'trim',
00091                                 'max' => '80'
00092                         )
00093                 ),
00094                 'company' => Array (
00095                         'exclude' => 1,
00096                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.company',
00097                         'config' => Array (
00098                                 'type' => 'input',
00099                                 'eval' => 'trim',
00100                                 'size' => '20',
00101                                 'max' => '80'
00102                         )
00103                 ),
00104                 'city' => Array (
00105                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.city',
00106                         'config' => Array (
00107                                 'type' => 'input',
00108                                 'size' => '20',
00109                                 'eval' => 'trim',
00110                                 'max' => '80'
00111                         )
00112                 ),
00113                 'zip' => Array (
00114                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.zip',
00115                         'config' => Array (
00116                                 'type' => 'input',
00117                                 'eval' => 'trim',
00118                                 'size' => '10',
00119                                 'max' => '20'
00120                         )
00121                 ),
00122                 'country' => Array (
00123                         'exclude' => 1,
00124                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.country',
00125                         'config' => Array (
00126                                 'type' => 'input',
00127                                 'size' => '20',
00128                                 'eval' => 'trim',
00129                                 'max' => '30'
00130                         )
00131                 ),
00132                 'image' => Array (
00133                         'exclude' => 1,
00134                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.image',
00135                         'config' => Array (
00136                                 'type' => 'group',
00137                                 'internal_type' => 'file',
00138                                 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
00139                                 'max_size' => '1000',
00140                                 'uploadfolder' => 'uploads/pics',
00141                                 'show_thumbs' => '1',
00142                                 'size' => '3',
00143                                 'maxitems' => '6',
00144                                 'minitems' => '0'
00145                         )
00146                 ),
00147                 'description' => Array (
00148                         'exclude' => 1,
00149                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description',
00150                         'config' => Array (
00151                                 'type' => 'text',
00152                                 'rows' => 5,
00153                                 'cols' => 48
00154                         )
00155                 )
00156         ),
00157         'types' => Array (
00158                 '1' => Array('showitem' => 'hidden;;;;1-1-1, name;;2;;3-3-3, address, zip, city;;3, email;;5, phone;;4, image;;;;4-4-4, description')
00159         ),
00160         'palettes' => Array (
00161                 '2' => Array('showitem' => 'title, company'),
00162                 '3' => Array('showitem' => 'country'),
00163                 '4' => Array('showitem' => 'mobile, fax'),
00164                 '5' => Array('showitem' => 'www')
00165         )
00166 );
00167 ?>


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