From: Roland Häder Date: Tue, 24 Mar 2009 10:27:52 +0000 (+0000) Subject: Double-quotes rewritten to single-quotes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4fed48c021136ad4bb55a5443fb113c5ec156050;p=shipsimu.git Double-quotes rewritten to single-quotes --- diff --git a/application/selector/data.php b/application/selector/data.php index bc4cc7e..45876a3 100644 --- a/application/selector/data.php +++ b/application/selector/data.php @@ -30,7 +30,7 @@ $cfg = FrameworkConfiguration::getInstance(); // Get an instance of the helper $app = call_user_func_array( - array($cfg->readConfig('app_helper_class'), "getInstance"), + array($cfg->readConfig('app_helper_class'), 'getInstance'), array() ); diff --git a/application/selector/starter.php b/application/selector/starter.php index 706684c..e4ede0e 100644 --- a/application/selector/starter.php +++ b/application/selector/starter.php @@ -24,7 +24,7 @@ // Is there an application helper instance? We need the method main() for // maining the application -$app = call_user_func_array(array(FrameworkConfiguration::getInstance()->readConfig('app_helper_class'), "getInstance"), array()); +$app = call_user_func_array(array(FrameworkConfiguration::getInstance()->readConfig('app_helper_class'), 'getInstance'), array()); // Some sanity checks if ((empty($app)) || (is_null($app))) { diff --git a/application/ship-simu/data.php b/application/ship-simu/data.php index 3396d44..893b124 100644 --- a/application/ship-simu/data.php +++ b/application/ship-simu/data.php @@ -38,7 +38,7 @@ $cfg = FrameworkConfiguration::getInstance(); // Get an instance of the helper $app = call_user_func_array( - array($cfg->readConfig('app_helper_class'), "getInstance"), + array($cfg->readConfig('app_helper_class'), 'getInstance'), array() ); diff --git a/application/ship-simu/main/menu/class_ShipSimu b/application/ship-simu/main/menu/class_ShipSimu index 44fcbb0..eac52e3 100644 --- a/application/ship-simu/main/menu/class_ShipSimu +++ b/application/ship-simu/main/menu/class_ShipSimu @@ -35,16 +35,12 @@ class ShipSimu???Menu extends BaseMenu implements RenderableMenu { /** * Creates an instance of this class * - * @param $appInstance A manageable application instance * @return $menuInstance An instance of this class */ - public final static function createShipSimu???Menu (ManageableApplication $appInstance) { + public final static function createShipSimu???Menu () { // Get a new instance $menuInstance = new ShipSimu???Menu(); - // Set the app instance - $menuInstance->setApplicationInstance($appInstance); - // Return the prepared instance return $menuInstance; } diff --git a/application/ship-simu/main/menu/class_ShipSimuHomeMenu.php b/application/ship-simu/main/menu/class_ShipSimuHomeMenu.php index 3b129e6..0987058 100644 --- a/application/ship-simu/main/menu/class_ShipSimuHomeMenu.php +++ b/application/ship-simu/main/menu/class_ShipSimuHomeMenu.php @@ -35,16 +35,12 @@ class ShipSimuHomeMenu extends BaseMenu implements RenderableMenu { /** * Creates an instance of this class * - * @param $appInstance A manageable application instance * @return $menuInstance An instance of this class */ - public final static function createShipSimuHomeMenu (ManageableApplication $appInstance) { + public final static function createShipSimuHomeMenu () { // Get a new instance $menuInstance = new ShipSimuHomeMenu(); - // Set the app instance - $menuInstance->setApplicationInstance($appInstance); - // Return the prepared instance return $menuInstance; } diff --git a/application/ship-simu/starter.php b/application/ship-simu/starter.php index 3a3038b..d73db4b 100644 --- a/application/ship-simu/starter.php +++ b/application/ship-simu/starter.php @@ -24,7 +24,7 @@ // Is there an application helper instance? We need the method main() for // maining the application -$app = call_user_func_array(array(FrameworkConfiguration::getInstance()->readConfig('app_helper_class'), "getInstance"), array()); +$app = call_user_func_array(array(FrameworkConfiguration::getInstance()->readConfig('app_helper_class'), 'getInstance'), array()); // Some sanity checks if ((empty($app)) || (is_null($app))) { diff --git a/application/ship-simu/templates/de/code/shipsimu_main.ctp b/application/ship-simu/templates/de/code/shipsimu_main.ctp index 8fc7404..a298102 100644 --- a/application/ship-simu/templates/de/code/shipsimu_main.ctp +++ b/application/ship-simu/templates/de/code/shipsimu_main.ctp @@ -4,8 +4,8 @@ {?ship_simu_header?} -