‪TYPO3CMS  10.4
tx_irretutorial_mnmmasym_price.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_price',
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_price.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_price',
48  'foreign_table_where' => 'AND tx_irretutorial_mnmmasym_price.pid=###CURRENT_PID### AND tx_irretutorial_mnmmasym_price.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_price.title',
70  'config' => [
71  'type' => 'input',
72  'size' => 30,
73  'eval' => 'required',
74  ]
75  ],
76  'price' => [
77  'exclude' => true,
78  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_price.price',
79  'config' => [
80  'type' => 'input',
81  'size' => 30,
82  'eval' => 'double2',
83  ]
84  ],
85  'offers' => [
86  'exclude' => true,
87  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_price.offers',
88  'config' => [
89  'type' => 'inline',
90  'foreign_table' => 'tx_irretutorial_mnmmasym_offer',
91  'MM' => 'tx_irretutorial_mnmmasym_offer_price_rel',
92  'MM_hasUidField' => true,
93  'MM_opposite_field' => 'prices',
94  'maxitems' => 10,
95  'appearance' => [
96  'showSynchronizationLink' => 1,
97  'showAllLocalizationLink' => 1,
98  'showPossibleLocalizationRecords' => 1,
99  'showRemovedLocalizationRecords' => 1,
100  ],
101  ]
102  ],
103  ],
104  'types' => [
105  '0' => ['showitem' =>
106  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, price, offers,' .
107  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden'
108  ]
109  ],
110  'palettes' => [
111  '1' => ['showitem' => '']
112  ]
113 ];