[TASK] Extensionmanager: Remove persistence mapping
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Configuration / TCA / Extension.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 $TCA['tx_extensionmanager_domain_model_extension'] = array(
6 'ctrl' => $TCA['tx_extensionmanager_domain_model_extension']['ctrl'],
7 'interface' => array(
8 'showRecordFieldList' => 'extensionkey,version,title,description,state,category,lastupdated,updatecomment,authorname,authoremail,md5hash'
9 ),
10 'columns' => array(
11 'extension_key' => array(
12 'exclude' => 0,
13 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.extensionkey',
14 'config' => array(
15 'type' => 'input',
16 'size' => '30'
17 )
18 ),
19 'version' => array(
20 'exclude' => 0,
21 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.version',
22 'config' => array(
23 'type' => 'input',
24 'size' => '30'
25 )
26 ),
27 'title' => array(
28 'exclude' => 0,
29 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.title',
30 'config' => array(
31 'type' => 'input',
32 'size' => '30'
33 )
34 ),
35 'description' => array(
36 'exclude' => 0,
37 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.description',
38 'config' => array(
39 'type' => 'text',
40 'cols' => '30',
41 'rows' => '5'
42 )
43 ),
44 'state' => array(
45 'exclude' => 0,
46 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.state',
47 'config' => array(
48 'type' => 'input',
49 'size' => '30',
50 'range' => array('lower' => 0, 'upper' => 1000),
51 'eval' => 'int'
52 )
53 ),
54 'category' => array(
55 'exclude' => 0,
56 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.category',
57 'config' => array(
58 'type' => 'input',
59 'size' => '30',
60 'range' => array('lower' => 0, 'upper' => 1000),
61 'eval' => 'int'
62 )
63 ),
64 'last_updated' => array(
65 'exclude' => 0,
66 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.lastupdated',
67 'config' => array(
68 'type' => 'input',
69 'size' => '30',
70 'eval' => 'datetime'
71 )
72 ),
73 'update_comment' => array(
74 'exclude' => 0,
75 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.updatecomment',
76 'config' => array(
77 'type' => 'text',
78 'cols' => '30',
79 'rows' => '5'
80 )
81 ),
82 'author_name' => array(
83 'exclude' => 0,
84 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.authorname',
85 'config' => array(
86 'type' => 'input',
87 'size' => '30'
88 )
89 ),
90 'author_email' => array(
91 'exclude' => 0,
92 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.authoremail',
93 'config' => array(
94 'type' => 'input',
95 'size' => '30'
96 )
97 ),
98 'current_version' => array(
99 'exclude' => 0,
100 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.currentversion',
101 'config' => array(
102 'type' => 'check',
103 'size' => '1'
104 )
105 ),
106 'md5hash' => array(
107 'exclude' => 0,
108 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.md5hash',
109 'config' => array(
110 'type' => 'input',
111 'size' => '1',
112 ),
113 ),
114 ),
115 'types' => array(
116 '0' => array('showitem' => 'extensionkey;;;;1-1-1, version, title;;;;2-2-2, description;;;;3-3-3, state, category, lastupdated, updatecomment, authorname, authoremail, md5hash')
117 ),
118 'palettes' => array(
119 '1' => array('showitem' => '')
120 )
121 );
122 ?>