TYPO3 CMS  TYPO3_6-2
ext_tables.mnattr.php
Go to the documentation of this file.
1 <?php
2 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_irretutorial_mnattr_hotel');
3 
4 $TCA['tx_irretutorial_mnattr_hotel'] = array(
5  'ctrl' => array(
6  'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_mnattr_hotel',
7  'label' => 'title',
8  'tstamp' => 'tstamp',
9  'crdate' => 'crdate',
10  'cruser_id' => 'cruser_id',
11  'languageField' => 'sys_language_uid',
12  'transOrigPointerField' => 'l18n_parent',
13  'transOrigDiffSourceField' => 'l18n_diffsource',
14  'sortby' => 'sorting',
15  'delete' => 'deleted',
16  'enablecolumns' => array(
17  'disabled' => 'hidden',
18  ),
19  'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnattr.php',
20  'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
21  'versioningWS' => 2,
22  'origUid' => 't3_origuid',
23  'dividers2tabs' => TRUE,
24  ),
25  'feInterface' => array(
26  'fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, title, offers',
27  )
28 );
29 
30 
32 
33 $TCA['tx_irretutorial_mnattr_hotel_offer_rel'] = array(
34  'ctrl' => array(
35  'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_mnattr_hotel_offer_rel',
36  'label' => 'uid',
37  'tstamp' => 'tstamp',
38  'crdate' => 'crdate',
39  'cruser_id' => 'cruser_id',
40  'languageField' => 'sys_language_uid',
41  'transOrigPointerField' => 'l18n_parent',
42  'transOrigDiffSourceField' => 'l18n_diffsource',
43  'delete' => 'deleted',
44  'enablecolumns' => array(
45  'disabled' => 'hidden',
46  ),
47  'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnattr.php',
48  'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel_offer_rel.gif',
49  'versioningWS' => 2,
50  'origUid' => 't3_origuid',
51  // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
52  // 'shadowColumnsForNewPlaceholders' => 'hotelid,offerid',
53  'dividers2tabs' => TRUE,
54  ),
55  'feInterface' => array(
56  'fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, hotelid, offerid, quality, allincl',
57  )
58 );
59 
60 
62 
63 $TCA['tx_irretutorial_mnattr_offer'] = array(
64  'ctrl' => array(
65  'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_mnattr_offer',
66  'label' => 'title',
67  'tstamp' => 'tstamp',
68  'crdate' => 'crdate',
69  'cruser_id' => 'cruser_id',
70  'languageField' => 'sys_language_uid',
71  'transOrigPointerField' => 'l18n_parent',
72  'transOrigDiffSourceField' => 'l18n_diffsource',
73  'sortby' => 'sorting',
74  'delete' => 'deleted',
75  'enablecolumns' => array(
76  'disabled' => 'hidden',
77  ),
78  'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnattr.php',
79  'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
80  'versioningWS' => 2,
81  'origUid' => 't3_origuid',
82  'dividers2tabs' => TRUE,
83  ),
84  'feInterface' => array(
85  'fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, title, hotels',
86  )
87 );
88 ?>
$TCA['tx_irretutorial_mnattr_hotel']