bf204f66791a5ed4a0dede78a38fa6ab94c70459
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / Fixtures / Extensions / irre_tutorial / Configuration / TCA / tx_irretutorial_1ncsv_offer.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_1ncsv_offer',
5 'label' => 'title',
6 'tstamp' => 'tstamp',
7 'crdate' => 'crdate',
8 'cruser_id' => 'cruser_id',
9 'languageField' => 'sys_language_uid',
10 'transOrigPointerField' => 'l18n_parent',
11 'transOrigDiffSourceField' => 'l18n_diffsource',
12 'sortby' => 'sorting',
13 'delete' => 'deleted',
14 'enablecolumns' => array(
15 'disabled' => 'hidden',
16 ),
17 'iconfile' => 'EXT:irre_tutorial/Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
18 'versioningWS' => true,
19 'origUid' => 't3_origuid',
20 'shadowColumnsForNewPlaceholders' => 'prices',
21 'shadowColumnsForMovePlaceholders' => 'prices',
22 ),
23 'interface' => array(
24 'showRecordFieldList' => 'sys_language_uid,l18n_parent,l18n_diffsource,hidden,title,prices'
25 ),
26 'columns' => array(
27 'sys_language_uid' => array(
28 'exclude' => 1,
29 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
30 'config' => array(
31 'type' => 'select',
32 'renderType' => 'selectSingle',
33 'foreign_table' => 'sys_language',
34 'foreign_table_where' => 'ORDER BY sys_language.title',
35 'items' => array(
36 array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
37 array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0)
38 ),
39 'default' => 0
40 )
41 ),
42 'l18n_parent' => array(
43 'displayCond' => 'FIELD:sys_language_uid:>:0',
44 'exclude' => 1,
45 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
46 'config' => array(
47 'type' => 'select',
48 'renderType' => 'selectSingle',
49 'items' => array(
50 array('', 0),
51 ),
52 'foreign_table' => 'tx_irretutorial_1ncsv_offer',
53 'foreign_table_where' => 'AND tx_irretutorial_1ncsv_offer.pid=###CURRENT_PID### AND tx_irretutorial_1ncsv_offer.sys_language_uid IN (-1,0)',
54 'default' => 0,
55 )
56 ),
57 'l18n_diffsource' => array(
58 'config' => array(
59 'type' => 'passthrough',
60 'default' => ''
61 )
62 ),
63 'hidden' => array(
64 'exclude' => 1,
65 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
66 'config' => array(
67 'type' => 'check',
68 'default' => '0'
69 )
70 ),
71 'title' => array(
72 'exclude' => 1,
73 'l10n_mode' => 'prefixLangTitle',
74 'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_offer.title',
75 'config' => array(
76 'type' => 'input',
77 'size' => '30',
78 'eval' => 'required',
79 )
80 ),
81 'prices' => array(
82 'exclude' => 1,
83 'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_offer.prices',
84 'config' => array(
85 'type' => 'inline',
86 'foreign_table' => 'tx_irretutorial_1ncsv_price',
87 'maxitems' => 10,
88 'appearance' => array(
89 'showSynchronizationLink' => 1,
90 'showAllLocalizationLink' => 1,
91 'showPossibleLocalizationRecords' => 1,
92 'showRemovedLocalizationRecords' => 1,
93 ),
94 'behaviour' => array(
95 'localizationMode' => 'select',
96 'localizeChildrenAtParentLocalization' => true,
97 ),
98 'default' => ''
99 )
100 ),
101 ),
102 'types' => array(
103 '0' => array('showitem' =>
104 '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, prices,' .
105 '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
106 )
107 ),
108 'palettes' => array(
109 '1' => array('showitem' => '')
110 )
111 );