Documentation TYPO3 par Ameos

tca.php

00001 <?php
00002 
00003 // ******************************************************************
00004 // Static file edit table
00005 // ******************************************************************
00006 $TCA['sys_staticfile_edit'] = Array (
00007         'ctrl' => $TCA['sys_staticfile_edit']['ctrl'],
00008         'interface' => Array (
00009                 'showRecordFieldList' => ''
00010         ),
00011         'columns' => Array (    
00012                 'edit_file' => Array (
00013                         'exclude' => 1, 
00014                         'label' => 'LLL:EXT:static_file_edit/locallang_tca.php:sys_staticfile_edit.edit_file',
00015                         'config' => Array (
00016                                 'type' => 'input',
00017                                 'size' => '40',
00018                                 'eval' => 'trim,required',
00019                                 'max' => '256'
00020                         )
00021                 ),
00022                 'edit_content' => Array (
00023                         'label' => 'LLL:EXT:static_file_edit/locallang_tca.php:sys_staticfile_edit.edit_content',
00024                         'config' => Array (
00025                                 'type' => 'text',
00026                                 'cols' => '40',
00027                                 'rows' => '15',
00028                         ),
00029                         'defaultExtras' => '
00030                                         richtext [*] :
00031                                         rte_transform [ flag=rte_enabled | mode=ts_images-ts_reglinks ] :
00032                                         static_write [edit_file|edit_content|edit_subpart_marker|always_reload|update_status]
00033                                 '
00034                 ),
00035                 'edit_subpart_marker' => Array (
00036                         'exclude' => 1,
00037                         'label' => 'LLL:EXT:static_file_edit/locallang_tca.php:sys_staticfile_edit.edit_subpart_marker',
00038                         'config' => Array (
00039                                 'type' => 'input',
00040                                 'size' => '20',
00041                                 'eval' => 'trim',
00042                                 'max' => '80'
00043                         )
00044                 ),
00045                 'always_reload' => Array (
00046                         'exclude' => 1,
00047                         'label' => 'LLL:EXT:static_file_edit/locallang_tca.php:sys_staticfile_edit.always_reload',
00048                         'config' => Array (
00049                                 'type' => 'check'
00050                         )
00051                 ),
00052                 'rte_enabled' => Array (
00053                         'exclude' => 1,
00054                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disableRTE',
00055                         'config' => Array (
00056                                 'type' => 'check',
00057                                 'showIfRTE' => 1
00058                         )
00059                 ),
00060                 'update_status' => Array (
00061                         'label' => 'LLL:EXT:static_file_edit/locallang_tca.php:sys_staticfile_edit.update_status',
00062                         'config' => Array ('type' => 'none')
00063                 )
00064         ),
00065         'types' => Array (
00066                 '0' => Array('showitem' => 'edit_file;;1;;2-2-2,
00067                         edit_content;;;nowrap;3-3-3,
00068                         rte_enabled,update_status;;;;5-5-5')
00069         ),
00070         'palettes' => Array (
00071                 '1' => Array('showitem' => 'edit_subpart_marker,always_reload')
00072         )
00073 );
00074 
00075 
00076 ?>


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6