* Added support for listing and calling methods in new installer
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / modules / database / conf.php
1 <?php
2 $GLOBALS['MCA']['database'] = array (
3 // general settings for this module
4 // This section contains things like title, description and help texts
5 'general' => array (
6 'title' => 'LLL:title_module_database',
7 ),
8
9 // This sections contains all options that are provided by this module
10 'options' => array (
11 'typo_db_host' => array (
12 'title' => 'title_typo_db_host',
13 'description' => 'description_typo_db_host',
14 'help' => 'help_typo_db_host',
15 'categoryMain' => 'database',
16 'categorySub' => 'connection',
17 'tags' => array ('database', 'db', 'host'),
18 'elementType' => 'input',
19 'value' => 'LC:db:typo_db_host',
20 'default' => 'localhost',
21 ),
22 'typo_db_username' => array (
23 'title' => 'title_typo_db_username',
24 'description' => 'description_typo_db_username',
25 'help' => 'help_typo_db_username',
26 'categoryMain' => 'database',
27 'categorySub' => 'connection',
28 'tags' => array ('database', 'db', 'username', 'user'),
29 'elementType' => 'input',
30 'value' => 'LC:db:typo_db_username',
31 ),
32 'typo_db_password' => array (
33 'title' => 'title_typo_db_password',
34 'description' => 'description_typo_db_password',
35 'help' => 'help_typo_db_password',
36 'categoryMain' => 'database',
37 'categorySub' => 'connection',
38 'tags' => array ('database', 'db', 'password'),
39 'elementType' => 'input',
40 'value' => 'LC:db:typo_db_password',
41 ),
42 'typo_db' => array (
43 'title' => 'title_typo_db',
44 'description' => 'description_typo_db',
45 'help' => 'help_typo_db',
46 'categoryMain' => 'database',
47 'categorySub' => 'connection',
48 'tags' => array ('database', 'db'),
49 'elementType' => 'selectbox',
50 'value' => 'LC:db:typo_db',
51 'overruleOptions' => array (
52 'elements' => 'database:getDatabaseList',
53 'empty' => '&nbsp;'
54 ),
55 ),
56 'typo_db_new' => array (
57 'title' => 'title_typo_db_new',
58 'description' => 'description_typo_db_new',
59 'help' => 'help_typo_db_new',
60 'categoryMain' => 'database',
61 'categorySub' => 'connection',
62 'tags' => array ('database', 'db', 'username', 'user'),
63 'elementType' => 'input',
64 'value' => 'LC:db:typo_db',
65 ),
66 ),
67
68 'methods' => array (
69 'analyze_compareFile' => array (
70 'categoryMain' => 'database',
71 'categorySub' => 'analyze',
72 'tags' => array('database', 'db', 'cleanup', 'compare'),
73 'method' => 'database:analyzeCompareFile',
74 'autostart' => false
75 ),
76 'cleanUp_cachedImageSizes' => array(
77 'title' => 'title_cleanUp_cachedImageSizes',
78 'description' => 'description_cleanUp_cachedImageSizes',
79 'help' => 'help_cleanUp_cachedImageSizes',
80 'categoryMain' => 'database',
81 'categorySub' => 'cleanup',
82 'tags' => array ('database', 'db', 'clean'),
83 'method' => 'database:cleanUpCachedImageSizes',
84 'autostart' => false
85 ),
86 ),
87
88 // this section contains all provided checks that this module provides
89 'checks' => array (
90 'database_connectable' => array (
91 'title' => 'title_database_connectable',
92 'categoryMain' => 'database',
93 'categorySub' => 'connection',
94 'tags' => array('database', 'db', 'connection'),
95 'method' => 'database:checkDatabaseConnect'
96 ),
97 )
98 );
99 ?>