[BUGFIX] Warnings in extensionmanager
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Configuration / TCA / Extension.php
index a95f54f..0716c29 100644 (file)
 if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
-
-$TCA['tx_extensionmanager_extension'] = array(
-       'ctrl' => $TCA['tx_extensionmanager_extension']['ctrl'],
+$TCA['tx_extensionmanager_domain_model_extension'] = array(
+       'ctrl' => $TCA['tx_extensionmanager_domain_model_extension']['ctrl'],
        'interface' => array(
-               'showRecordFieldList' => 'extensionkey,version,title,description,state,category,lastupdated,updatecomment,authorname,authoremail'
+               'showRecordFieldList' => 'extension_key,version,integer_version,title,description,state,category,last_updated,update_comment,author_name,author_email,md5hash,serialized_dependencies'
        ),
-       'feInterface' => $TCA['tx_extensionmanager_extension']['feInterface'],
        'columns' => array(
                'extension_key' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.extensionkey',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.extensionkey',
                        'config' => array(
                                'type' => 'input',
-                               'size' => '30',
+                               'size' => '30'
                        )
                ),
                'version' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.version',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.version',
                        'config' => array(
                                'type' => 'input',
-                               'size' => '30',
+                               'size' => '30'
+                       )
+               ),
+               'integer_version' => array(
+                       'exclude' => 0,
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.integerversion',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '30'
                        )
                ),
                'title' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.title',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.title',
                        'config' => array(
                                'type' => 'input',
-                               'size' => '30',
+                               'size' => '30'
                        )
                ),
                'description' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.description',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.description',
                        'config' => array(
                                'type' => 'text',
                                'cols' => '30',
-                               'rows' => '5',
+                               'rows' => '5'
                        )
                ),
                'state' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.state',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.state',
                        'config' => array(
                                'type' => 'input',
                                'size' => '30',
                                'range' => array('lower' => 0, 'upper' => 1000),
-                               'eval' => 'int',
+                               'eval' => 'int'
                        )
                ),
                'category' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.category',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.category',
                        'config' => array(
                                'type' => 'input',
                                'size' => '30',
                                'range' => array('lower' => 0, 'upper' => 1000),
-                               'eval' => 'int',
+                               'eval' => 'int'
                        )
                ),
                'last_updated' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.lastupdated',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.lastupdated',
                        'config' => array(
                                'type' => 'input',
                                'size' => '30',
-                               'eval' => 'datetime',
+                               'eval' => 'datetime'
                        )
                ),
                'update_comment' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.updatecomment',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.updatecomment',
                        'config' => array(
                                'type' => 'text',
                                'cols' => '30',
-                               'rows' => '5',
+                               'rows' => '5'
                        )
                ),
                'author_name' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.authorname',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.authorname',
                        'config' => array(
                                'type' => 'input',
-                               'size' => '30',
+                               'size' => '30'
                        )
                ),
                'author_email' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.authoremail',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.authoremail',
                        'config' => array(
                                'type' => 'input',
-                               'size' => '30',
+                               'size' => '30'
                        )
                ),
-               'lastversion' => array(
+               'current_version' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.lastversion',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.currentversion',
                        'config' => array(
                                'type' => 'check',
-                               'size' => '1',
+                               'size' => '1'
                        )
                ),
-               'position' => array(
+               'review_state' => array(
                        'exclude' => 0,
-                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_extension.lastversion',
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.reviewstate',
                        'config' => array(
-                               'type' => 'input',
-                               'size' => '10',
-                               'eval' => 'int'
+                               'type' => 'check',
+                               'size' => '1'
                        )
                ),
+               'md5hash' => array(
+                       'exclude' => 0,
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.md5hash',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '1',
+                       ),
+               ),
+               'serialized_dependencies' => array(
+                       'exclude' => 0,
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.serializedDependencies',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '30',
+                       ),
+               ),
        ),
        'types' => array(
-               '0' => array('showitem' => 'extensionkey;;;;1-1-1, version, title;;;;2-2-2, description;;;;3-3-3, state, category, lastupdated, updatecomment, authorname, authoremail')
+               '0' => array('showitem' => 'extensionkey;;;;1-1-1, version, integer_version, title;;;;2-2-2, description;;;;3-3-3, state, category, last_updated, update_comment, author_name, author_email, review_state, md5hash, serialized_dependencies')
        ),
        'palettes' => array(
                '1' => array('showitem' => '')
        )
 );
-?>
+?>
\ No newline at end of file