// 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()
);
// 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))) {
// 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()
);
/**
* 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;
}
/**
* 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;
}
// 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))) {
{?ship_simu_header?}
</div>
-<div id="navigation">
- {?navigation?}
+<div id="menu">
+ {?menu?}
</div>
<div id="advert">