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