* @version 0.0 * @copyright Copyright (c) 2015 City Developer Team * @license GNU GPL 3.0 or any newer version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ // Some hub-specific configuration like port hostname where we will listen, etc. $cfg = FrameworkConfiguration::getSelfInstance(); /****************************************************************************** * General * ******************************************************************************/ // CFG: CITY-DEFAULT-MODE (more is coming) $cfg->setConfigEntry('city_default_mode', 'testing'); // CFG: NEWS-DOWNLOAD-FILTER $cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter'); // CFG: NEWS-PROCESS-FILTER $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter'); // CFG: NEWS-READER-CLASS $cfg->setConfigEntry('news_reader_class', 'ConsoleNewsReader'); // CFG: CITY-INFO-DB-WRAPPER-CLASS $cfg->setConfigEntry('city_info_db_wrapper_class', 'CityInformationDatabaseWrapper'); // CFG: CITY-INIT-STATE-CLASS $cfg->setConfigEntry('city_init_state_class', 'CityInitState'); /****************************************************************************** * HTML client * ******************************************************************************/ // CFG: DEFAULT-CITY-HTML-COMMAND $cfg->setConfigEntry('default_city_html_command', 'home'); // CFG: CITY-HTML-CMD-HOME-RESOLVER-CLASS $cfg->setConfigEntry('city_html_cmd_home_resolver_class', 'CityHtmlCommandResolver'); // CFG: NEWS-HOME-LIMIT $cfg->setConfigEntry('news_home_limit', 10); // CFG: CITY-HOME-MENU-CLASS $cfg->setConfigEntry('city_home_menu_class', 'CityHomeMenu'); // CFG: MENU-TEMPLATE-CLASS $cfg->setConfigEntry('menu_template_class', 'MenuTemplateEngine'); // CFG: MENU-TEMPLATE-EXTENSION $cfg->setConfigEntry('menu_template_extension', '.xml'); /****************************************************************************** * Console client * ******************************************************************************/ // CFG: DEFAULT-CITY-CONSOLE-COMMAND $cfg->setConfigEntry('default_city_console_command', 'main'); // CFG: CITY-CONSOLE-CMD-MAIN-RESOLVER-CLASS $cfg->setConfigEntry('city_console_cmd_main_resolver_class', 'CityConsoleCommandResolver'); // CFG: CITY-PHP-REQUIREMENTS-FILTER $cfg->setConfigEntry('city_php_requirements_filter', 'CityPhpRequirementsFilter'); // CFG: CITY-INITIALIZER-FILTER $cfg->setConfigEntry('city_initializer_filter', 'CityInitializationFilter'); // CFG: CITY-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER $cfg->setConfigEntry('city_activation_task_handler_initializer_filter', 'CityTaskHandlerInitializerFilter'); // CFG: CITY-WELCOME-TEASER-FILTER $cfg->setConfigEntry('city_welcome_teaser_filter', 'CityWelcomeTeaserFilter'); // CFG: CITY-SHUTDOWN-TASK-HANDLER-FILTER $cfg->setConfigEntry('city_shutdown_task_handler_filter', 'CityShutdownTaskHandlerFilter'); // CFG: CITY-SHUTDOWN-CITY-FILTER $cfg->setConfigEntry('city_shutdown_city_filter', 'CityShutdownCityFilter'); // CFG: NEWS-MAIN-LIMIT $cfg->setConfigEntry('news_main_limit', 5); // [EOF] ?>