TYPO3 CMS  TYPO3_6-2
ext_tables.general.php
Go to the documentation of this file.
1 <?php
2 if (!defined('TYPO3_MODE')) {
3  die ('Access denied.');
4 }
5 
7  'pages',
8  array(
9  'tx_irretutorial_hotels' => array(
10  'exclude' => 1,
11  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.tx_irretutorial_hotels',
12  'config' => array(
13  'type' => 'inline',
14  'foreign_table' => 'tx_irretutorial_1nff_hotel',
15  'foreign_field' => 'parentid',
16  'foreign_table_field' => 'parenttable',
17  'maxitems' => 10,
18  'appearance' => array(
19  'showSynchronizationLink' => 1,
20  'showAllLocalizationLink' => 1,
21  'showPossibleLocalizationRecords' => 1,
22  'showRemovedLocalizationRecords' => 1,
23  ),
24  'behaviour' => array(
25  'localizationMode' => 'select',
26  ),
27  )
28  ),
29  )
30 );
32  'pages',
33  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.doktype.div.irre, tx_irretutorial_hotels;;;;1-1-1'
34 );
35 
37  'pages_language_overlay',
38  array(
39  'tx_irretutorial_hotels' => array(
40  'exclude' => 1,
41  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.tx_irretutorial_hotels',
42  'config' => array(
43  'type' => 'inline',
44  'foreign_table' => 'tx_irretutorial_1nff_hotel',
45  'foreign_field' => 'parentid',
46  'foreign_table_field' => 'parenttable',
47  'maxitems' => 10,
48  'appearance' => array(
49  'showSynchronizationLink' => 1,
50  'showAllLocalizationLink' => 1,
51  'showPossibleLocalizationRecords' => 1,
52  'showRemovedLocalizationRecords' => 1,
53  ),
54  'behaviour' => array(
55  'localizationMode' => 'select',
56  ),
57  )
58  ),
59  )
60 );
62  'pages_language_overlay',
63  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.doktype.div.irre, tx_irretutorial_hotels;;;;1-1-1'
64 );
65 
66 
68  'tt_content',
69  array(
70  'tx_irretutorial_1nff_hotels' => array(
71  'exclude' => 1,
72  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_1nff_hotels',
73  'config' => array(
74  'type' => 'inline',
75  'foreign_table' => 'tx_irretutorial_1nff_hotel',
76  'foreign_field' => 'parentid',
77  'foreign_table_field' => 'parenttable',
78  'maxitems' => 10,
79  'appearance' => array(
80  'showSynchronizationLink' => 1,
81  'showAllLocalizationLink' => 1,
82  'showPossibleLocalizationRecords' => 1,
83  'showRemovedLocalizationRecords' => 1,
84  ),
85  'behaviour' => array(
86  'localizationMode' => 'select',
87  'localizeChildrenAtParentLocalization' => TRUE,
88  ),
89  )
90  ),
91  'tx_irretutorial_1ncsv_hotels' => array(
92  'exclude' => 1,
93  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_1ncsv_hotels',
94  'config' => array(
95  'type' => 'inline',
96  'foreign_table' => 'tx_irretutorial_1ncsv_hotel',
97  'maxitems' => 10,
98  'appearance' => array(
99  'showSynchronizationLink' => 1,
100  'showAllLocalizationLink' => 1,
101  'showPossibleLocalizationRecords' => 1,
102  'showRemovedLocalizationRecords' => 1,
103  ),
104  'behaviour' => array(
105  'localizationMode' => 'select',
106  'localizeChildrenAtParentLocalization' => TRUE,
107  ),
108  )
109  ),
110  'tx_irretutorial_flexform' => array(
111  'exclude' => 1,
112  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_flexform',
113  'config' => array(
114  'type' => 'flex',
115  'ds' => array(
116  'default' => 'FILE:EXT:irre_tutorial/Configuration/FlexForms/tt_content_flexform.xml',
117  ),
118  )
119  ),
120  )
121 );
122 
124  'tt_content',
125  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.div.irre, tx_irretutorial_1nff_hotels;;;;1-1-1, tx_irretutorial_1ncsv_hotels, tx_irretutorial_flexform'
126 );
127 
128 $GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForNewPlaceholders'] = 'tx_irretutorial_1ncsv_hotels';
129 $GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForMovePlaceholders'] = 'tx_irretutorial_1ncsv_hotels';
130 
131 ?>
static addTCAcolumns($table, $columnArray, $addTofeInterface=FALSE)
die
Definition: index.php:6
static addToAllTCAtypes($table, $newFieldsString, $typeList='', $position='')
$GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForNewPlaceholders']