‪TYPO3CMS  10.4
tx_irretutorial_mnmmasym_offer.php
Go to the documentation of this file.
1 <?php
2 
3 return [
4  'ctrl' => [
5  'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_mnmmasym_offer',
6  'label' => 'title',
7  'tstamp' => 'tstamp',
8  'crdate' => 'crdate',
9  'cruser_id' => 'cruser_id',
10  'languageField' => 'sys_language_uid',
11  'transOrigPointerField' => 'l18n_parent',
12  'transOrigDiffSourceField' => 'l18n_diffsource',
13  'translationSource' => 'l10n_source',
14  'sortby' => 'sorting',
15  'delete' => 'deleted',
16  'enablecolumns' => [
17  'disabled' => 'hidden',
18  ],
19  'iconfile' => 'EXT:irre_tutorial/Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
20  'versioningWS' => true,
21  'origUid' => 't3_origuid',
22  ],
23  'columns' => [
24  'sys_language_uid' => [
25  'exclude' => true,
26  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
27  'config' => [
28  'type' => 'select',
29  'renderType' => 'selectSingle',
30  'foreign_table' => 'sys_language',
31  'items' => [
32  ['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1],
33  ['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0]
34  ],
35  'default' => 0
36  ]
37  ],
38  'l18n_parent' => [
39  'displayCond' => 'FIELD:sys_language_uid:>:0',
40  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
41  'config' => [
42  'type' => 'select',
43  'renderType' => 'selectSingle',
44  'items' => [
45  ['', 0],
46  ],
47  'foreign_table' => 'tx_irretutorial_mnmmasym_offer',
48  'foreign_table_where' => 'AND tx_irretutorial_mnmmasym_offer.pid=###CURRENT_PID### AND tx_irretutorial_mnmmasym_offer.sys_language_uid IN (-1,0)',
49  'default' => 0,
50  ]
51  ],
52  'l18n_diffsource' => [
53  'config' => [
54  'type' => 'passthrough',
55  'default' => ''
56  ]
57  ],
58  'hidden' => [
59  'exclude' => true,
60  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
61  'config' => [
62  'type' => 'check',
63  'default' => 0
64  ]
65  ],
66  'title' => [
67  'exclude' => true,
68  'l10n_mode' => 'prefixLangTitle',
69  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_offer.title',
70  'config' => [
71  'type' => 'input',
72  'size' => 30,
73  'eval' => 'required',
74  ]
75  ],
76  'hotels' => [
77  'exclude' => true,
78  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_offer.hotels',
79  'config' => [
80  'type' => 'inline',
81  'foreign_table' => 'tx_irretutorial_mnmmasym_hotel',
82  'MM' => 'tx_irretutorial_mnmmasym_hotel_offer_rel',
83  'MM_hasUidField' => true,
84  'MM_opposite_field' => 'offers',
85  'maxitems' => 10,
86  'appearance' => [
87  'showSynchronizationLink' => 1,
88  'showAllLocalizationLink' => 1,
89  'showPossibleLocalizationRecords' => 1,
90  'showRemovedLocalizationRecords' => 1,
91  ],
92  ]
93  ],
94  'prices' => [
95  'exclude' => true,
96  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_offer.prices',
97  'config' => [
98  'type' => 'inline',
99  'foreign_table' => 'tx_irretutorial_mnmmasym_price',
100  'MM' => 'tx_irretutorial_mnmmasym_offer_price_rel',
101  'MM_hasUidField' => true,
102  'maxitems' => 10,
103  'appearance' => [
104  'showSynchronizationLink' => 1,
105  'showAllLocalizationLink' => 1,
106  'showPossibleLocalizationRecords' => 1,
107  'showRemovedLocalizationRecords' => 1,
108  ],
109  ]
110  ],
111  ],
112  'types' => [
113  '0' => ['showitem' =>
114  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, hotels, prices,' .
115  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden'
116  ]
117  ],
118  'palettes' => [
119  '1' => ['showitem' => '']
120  ]
121 ];