]> git.mxchange.org Git - city.git/blob - application/city/config.php
The console part of the game will become a daemon that is taking care of all
[city.git] / application / city / config.php
1 <?php
2 /**
3  * Configuration entries for this application only
4  *
5  * @author              Roland Haeder <webmaster@shipsimu.org>
6  * @version             0.0
7  * @copyright   Copyright (c) 2015 City Developer Team
8  * @license             GNU GPL 3.0 or any newer version
9  *
10  * This program is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
22  */
23
24 // Some hub-specific configuration like port hostname where we will listen, etc.
25 $cfg = FrameworkConfiguration::getSelfInstance();
26
27 /******************************************************************************
28  *                                  General                                   *
29  ******************************************************************************/
30
31 // CFG: CITY-DEFAULT-MODE (more is coming)
32 $cfg->setConfigEntry('city_default_mode', 'testing');
33
34 // CFG: NEWS-DOWNLOAD-FILTER
35 $cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
36
37 // CFG: NEWS-PROCESS-FILTER
38 $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
39
40 // CFG: NEWS-READER-CLASS
41 $cfg->setConfigEntry('news_reader_class', 'ConsoleNewsReader');
42
43 // CFG: CITY-INFO-DB-WRAPPER-CLASS
44 $cfg->setConfigEntry('city_info_db_wrapper_class', 'CityInformationDatabaseWrapper');
45
46 // CFG: CITY-INIT-STATE-CLASS
47 $cfg->setConfigEntry('city_init_state_class', 'CityInitState');
48
49 /******************************************************************************
50  *                                HTML client                                 *
51  ******************************************************************************/
52
53 // CFG: DEFAULT-CITY-HTML-COMMAND
54 $cfg->setConfigEntry('default_city_html_command', 'home');
55
56 // CFG: CITY-HTML-CMD-HOME-RESOLVER-CLASS
57 $cfg->setConfigEntry('city_html_cmd_home_resolver_class', 'CityHtmlCommandResolver');
58
59 // CFG: NEWS-HOME-LIMIT
60 $cfg->setConfigEntry('news_home_limit', 10);
61
62 // CFG: CITY-HOME-MENU-CLASS
63 $cfg->setConfigEntry('city_home_menu_class', 'CityHomeMenu');
64
65 // CFG: MENU-TEMPLATE-CLASS
66 $cfg->setConfigEntry('menu_template_class', 'MenuTemplateEngine');
67
68 // CFG: MENU-TEMPLATE-EXTENSION
69 $cfg->setConfigEntry('menu_template_extension', '.xml');
70
71 /******************************************************************************
72  *                              Console client                                *
73  ******************************************************************************/
74
75 // CFG: DEFAULT-CITY-CONSOLE-COMMAND
76 $cfg->setConfigEntry('default_city_console_command', 'daemon');
77
78 // CFG: CITY-CONSOLE-CMD-DAEMON-RESOLVER-CLASS
79 $cfg->setConfigEntry('city_console_cmd_daemon_resolver_class', 'CityConsoleCommandResolver');
80
81 // CFG: CITY-PHP-REQUIREMENTS-FILTER
82 $cfg->setConfigEntry('city_php_requirements_filter', 'CityPhpRequirementsFilter');
83
84 // CFG: CITY-INITIALIZER-FILTER
85 $cfg->setConfigEntry('city_initializer_filter', 'CityInitializationFilter');
86
87 // CFG: CITY-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER
88 $cfg->setConfigEntry('city_activation_task_handler_initializer_filter', 'CityTaskHandlerInitializerFilter');
89
90 // CFG: CITY-WELCOME-TEASER-FILTER
91 $cfg->setConfigEntry('city_welcome_teaser_filter', 'CityWelcomeTeaserFilter');
92
93 // CFG: CITY-SHUTDOWN-TASK-HANDLER-FILTER
94 $cfg->setConfigEntry('city_shutdown_task_handler_filter', 'CityShutdownTaskHandlerFilter');
95
96 // CFG: CITY-SHUTDOWN-CITY-FILTER
97 $cfg->setConfigEntry('city_shutdown_city_filter', 'CityShutdownCityFilter');
98
99 // CFG: NEWS-DAEMON-LIMIT
100 $cfg->setConfigEntry('news_daemon_limit', 5);
101
102 // [EOF]
103 ?>