From: Roland Häder Date: Sun, 30 Aug 2009 02:21:47 +0000 (+0000) Subject: Missing menu class and config entries added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c33e62c1d793713e8627af655488b99c1817ab64;p=install.git Missing menu class and config entries added --- diff --git a/.gitattributes b/.gitattributes index 960cc50..fa552f4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -27,6 +27,9 @@ application/install/main/filter/.htaccess -text application/install/main/filter/class_ -text application/install/main/filter/class_BaseInstallFilter.php -text application/install/main/filter/install/.htaccess -text +application/install/main/menu/.htaccess -text +application/install/main/menu/class_Install -text +application/install/main/menu/class_InstallHomeMenu.php -text application/install/starter.php -text application/install/templates/.htaccess -text application/install/templates/de/.htaccess -text diff --git a/application/install/config.php b/application/install/config.php index 821ea48..50d11bb 100644 --- a/application/install/config.php +++ b/application/install/config.php @@ -46,5 +46,11 @@ $cfg->setConfigEntry('web_form_helper', 'WebFormHelper'); // CFG: WEB-LINK-HELPER $cfg->setConfigEntry('web_link_helper', 'WebLinkHelper'); +// CFG: WEB-CMD-HOME-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver'); + +// CFG: HOME-MENU-CLASS +$cfg->setConfigEntry('home_menu_class', 'InstallHomeMenu'); + // [EOF] ?> diff --git a/application/install/main/menu/.htaccess b/application/install/main/menu/.htaccess new file mode 100644 index 0000000..3a42882 --- /dev/null +++ b/application/install/main/menu/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/application/install/main/menu/class_Install b/application/install/main/menu/class_Install new file mode 100644 index 0000000..2295888 --- /dev/null +++ b/application/install/main/menu/class_Install @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Installation-Wizard Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.ship-simu.org + * + * 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 . + */ +class Install???Menu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createInstall???Menu () { + // Get a new instance + $menuInstance = new Install???Menu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/install/main/menu/class_InstallHomeMenu.php b/application/install/main/menu/class_InstallHomeMenu.php new file mode 100644 index 0000000..e4e3d28 --- /dev/null +++ b/application/install/main/menu/class_InstallHomeMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Installation-Wizard Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.ship-simu.org + * + * 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 . + */ +class InstallHomeMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createInstallHomeMenu () { + // Get a new instance + $menuInstance = new InstallHomeMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?>