3 * Configuration entries for this application only
5 * @author Roland Haeder <webmaster@shipsimu.org>
7 * @copyright Copyright (c) 2015 City Developer Team
8 * @license GNU GPL 3.0 or any newer version
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.
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.
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/>.
24 // Some hub-specific configuration like port hostname where we will listen, etc.
25 $cfg = FrameworkConfiguration::getSelfInstance();
27 /******************************************************************************
29 ******************************************************************************/
31 // CFG: CITY-DEFAULT-MODE (more is coming)
32 $cfg->setConfigEntry('city_default_mode', 'testing');
34 // CFG: NEWS-DOWNLOAD-FILTER
35 $cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
37 // CFG: NEWS-PROCESS-FILTER
38 $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
40 // CFG: NEWS-READER-CLASS
41 $cfg->setConfigEntry('news_reader_class', 'ConsoleNewsReader');
43 // CFG: CITY-INFO-DB-WRAPPER-CLASS
44 $cfg->setConfigEntry('city_info_db_wrapper_class', 'CityInformationDatabaseWrapper');
46 // CFG: CITY-INIT-STATE-CLASS
47 $cfg->setConfigEntry('city_init_state_class', 'CityInitState');
49 /******************************************************************************
51 ******************************************************************************/
53 // CFG: DEFAULT-CITY-HTML-COMMAND
54 $cfg->setConfigEntry('default_city_html_command', 'home');
56 // CFG: CITY-HTML-CMD-HOME-RESOLVER-CLASS
57 $cfg->setConfigEntry('city_html_cmd_home_resolver_class', 'CityHtmlCommandResolver');
59 // CFG: NEWS-HOME-LIMIT
60 $cfg->setConfigEntry('news_home_limit', 10);
62 // CFG: CITY-HOME-MENU-CLASS
63 $cfg->setConfigEntry('city_home_menu_class', 'CityHomeMenu');
65 // CFG: MENU-TEMPLATE-CLASS
66 $cfg->setConfigEntry('menu_template_class', 'MenuTemplateEngine');
68 // CFG: MENU-TEMPLATE-EXTENSION
69 $cfg->setConfigEntry('menu_template_extension', '.xml');
71 /******************************************************************************
73 ******************************************************************************/
75 // CFG: DEFAULT-CITY-CONSOLE-COMMAND
76 $cfg->setConfigEntry('default_city_console_command', 'daemon');
78 // CFG: CITY-CONSOLE-CMD-DAEMON-RESOLVER-CLASS
79 $cfg->setConfigEntry('city_console_cmd_daemon_resolver_class', 'CityConsoleCommandResolver');
81 // CFG: CITY-PHP-REQUIREMENTS-FILTER
82 $cfg->setConfigEntry('city_php_requirements_filter', 'CityPhpRequirementsFilter');
84 // CFG: CITY-INITIALIZER-FILTER
85 $cfg->setConfigEntry('city_initializer_filter', 'CityInitializationFilter');
87 // CFG: CITY-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER
88 $cfg->setConfigEntry('city_activation_task_handler_initializer_filter', 'CityTaskHandlerInitializerFilter');
90 // CFG: CITY-WELCOME-TEASER-FILTER
91 $cfg->setConfigEntry('city_welcome_teaser_filter', 'CityWelcomeTeaserFilter');
93 // CFG: CITY-SHUTDOWN-TASK-HANDLER-FILTER
94 $cfg->setConfigEntry('city_shutdown_task_handler_filter', 'CityShutdownTaskHandlerFilter');
96 // CFG: CITY-SHUTDOWN-CITY-FILTER
97 $cfg->setConfigEntry('city_shutdown_city_filter', 'CityShutdownCityFilter');
99 // CFG: NEWS-DAEMON-LIMIT
100 $cfg->setConfigEntry('news_daemon_limit', 5);