Renamed 'ship-simu' to 'shipsimu' + added 'core' and symlink to core/inc
authorRoland Haeder <roland@mxchange.org>
Sun, 22 Mar 2015 20:21:22 +0000 (21:21 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 22 Mar 2015 20:21:22 +0000 (21:21 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
655 files changed:
.gitmodules [new file with mode: 0644]
application/ship-simu/.htaccess [deleted file]
application/ship-simu/admin/.htaccess [deleted file]
application/ship-simu/class_ApplicationHelper.php [deleted file]
application/ship-simu/config.php [deleted file]
application/ship-simu/data.php [deleted file]
application/ship-simu/debug.php [deleted file]
application/ship-simu/exceptions.php [deleted file]
application/ship-simu/exceptions/.htaccess [deleted file]
application/ship-simu/exceptions/class_BirthdayInvalidException.php [deleted file]
application/ship-simu/exceptions/class_CabinShipMismatchException.php [deleted file]
application/ship-simu/exceptions/class_ContractAllreadySignedException.php [deleted file]
application/ship-simu/exceptions/class_ContractPartnerMismatchException.php [deleted file]
application/ship-simu/exceptions/class_DeckShipMismatchException.php [deleted file]
application/ship-simu/exceptions/class_EmptyStructuresListException.php [deleted file]
application/ship-simu/exceptions/class_InvalidContractPartnerException.php [deleted file]
application/ship-simu/exceptions/class_InvalidIDFormatException.php [deleted file]
application/ship-simu/exceptions/class_ItemNotInPriceListException.php [deleted file]
application/ship-simu/exceptions/class_ItemNotTradeableException.php [deleted file]
application/ship-simu/exceptions/class_MissingSimulatorIdException.php [deleted file]
application/ship-simu/exceptions/class_MotorShipMismatchException.php [deleted file]
application/ship-simu/exceptions/class_NoShippingCompanyOwnedException.php [deleted file]
application/ship-simu/exceptions/class_NoShipyardsConstructedException.php [deleted file]
application/ship-simu/exceptions/class_PersonellListAlreadyCreatedException.php [deleted file]
application/ship-simu/exceptions/class_RoomShipMismatchException.php [deleted file]
application/ship-simu/exceptions/class_ShipNotConstructedException.php [deleted file]
application/ship-simu/exceptions/class_ShipPartNotConstructableException.php [deleted file]
application/ship-simu/exceptions/class_StructureShipMismatchException.php [deleted file]
application/ship-simu/exceptions/class_StructuresOutOfBoundsException.php [deleted file]
application/ship-simu/exceptions/class_ToMuchEmployeesException.php [deleted file]
application/ship-simu/exceptions/class_TotalPriceNotCalculatedException.php [deleted file]
application/ship-simu/exceptions/class_UnsupportedLimitationPartException.php [deleted file]
application/ship-simu/exceptions/class_WrongGenderSpecifiedException.php [deleted file]
application/ship-simu/init.php [deleted file]
application/ship-simu/interfaces/.htaccess [deleted file]
application/ship-simu/interfaces/class_BookableAccount.php [deleted file]
application/ship-simu/interfaces/class_ConstructableShip.php [deleted file]
application/ship-simu/interfaces/class_ConstructableShipPart.php [deleted file]
application/ship-simu/interfaces/class_ContractPartner.php [deleted file]
application/ship-simu/interfaces/class_Customer.php [deleted file]
application/ship-simu/interfaces/class_Personellizer.php [deleted file]
application/ship-simu/interfaces/class_SignableContract.php [deleted file]
application/ship-simu/interfaces/class_TradeableItem.php [deleted file]
application/ship-simu/loader.php [deleted file]
application/ship-simu/main/.htaccess [deleted file]
application/ship-simu/main/actions/.htaccess [deleted file]
application/ship-simu/main/actions/class_ [deleted file]
application/ship-simu/main/actions/class_BaseShipSimuAction.php [deleted file]
application/ship-simu/main/actions/ship-simu/.htaccess [deleted file]
application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php [deleted file]
application/ship-simu/main/actions/ship-simu/class_ShipSimuProfileAction.php [deleted file]
application/ship-simu/main/actions/web/.htaccess [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLogin [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLoginCompanyAction.php [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentTrainingAction.php [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLoginLogoutAction.php [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLoginProfileAction.php [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLoginRefillAction.php [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLoginStatusProblemAction.php [deleted file]
application/ship-simu/main/actions/web/class_WebShipSimuLoginWelcomeAction.php [deleted file]
application/ship-simu/main/bank/.htaccess [deleted file]
application/ship-simu/main/bank/class_BaseBank.php [deleted file]
application/ship-simu/main/bank/money/class_MoneyBank.php [deleted file]
application/ship-simu/main/class_ [deleted file]
application/ship-simu/main/class_BasePersonell.php [deleted file]
application/ship-simu/main/class_BaseSimulator.php [deleted file]
application/ship-simu/main/class_Merchant.php [deleted file]
application/ship-simu/main/class_WorksContract.php [deleted file]
application/ship-simu/main/commands/.htaccess [deleted file]
application/ship-simu/main/commands/web/.htaccess [deleted file]
application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php [deleted file]
application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php [deleted file]
application/ship-simu/main/commands/web/class_WebShipsimuRefillCommand.php [deleted file]
application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php [deleted file]
application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php [deleted file]
application/ship-simu/main/commands/web/company/.htaccess [deleted file]
application/ship-simu/main/commands/web/company/class_WebShipSimuCompanyCommand.php [deleted file]
application/ship-simu/main/commands/web/government/.htaccess [deleted file]
application/ship-simu/main/commands/web/government/class_WebGovernmentFailedStartupCommand.php [deleted file]
application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php [deleted file]
application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php [deleted file]
application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentTrainingCommand.php [deleted file]
application/ship-simu/main/companies/.htaccess [deleted file]
application/ship-simu/main/companies/class_ShippingCompany.php [deleted file]
application/ship-simu/main/constructions/.htaccess [deleted file]
application/ship-simu/main/constructions/berths/.htaccess [deleted file]
application/ship-simu/main/constructions/berths/class_Berth.php [deleted file]
application/ship-simu/main/constructions/class_BaseConstruction.php [deleted file]
application/ship-simu/main/constructions/docks/.htaccess [deleted file]
application/ship-simu/main/constructions/docks/class_DryDock.php [deleted file]
application/ship-simu/main/constructions/harbors/.htaccess [deleted file]
application/ship-simu/main/constructions/harbors/class_Harbor.php [deleted file]
application/ship-simu/main/constructions/terminals/.htaccess [deleted file]
application/ship-simu/main/constructions/terminals/class_Terminal.php [deleted file]
application/ship-simu/main/constructions/yards/.htaccess [deleted file]
application/ship-simu/main/constructions/yards/class_Shipyard.php [deleted file]
application/ship-simu/main/controller/.htaccess [deleted file]
application/ship-simu/main/controller/web/.htaccess [deleted file]
application/ship-simu/main/controller/web/class_WebCompanyController.php [deleted file]
application/ship-simu/main/controller/web/class_WebGovernmentFailedController.php [deleted file]
application/ship-simu/main/drives/.htaccess [deleted file]
application/ship-simu/main/drives/class_BaseDrive.php [deleted file]
application/ship-simu/main/drives/motor/.htaccess [deleted file]
application/ship-simu/main/drives/motor/class_Motor.php [deleted file]
application/ship-simu/main/factories/.htaccess [deleted file]
application/ship-simu/main/factories/class_ShipSimuWebNewsFactory.php [deleted file]
application/ship-simu/main/filter/.htaccess [deleted file]
application/ship-simu/main/filter/book/.htaccess [deleted file]
application/ship-simu/main/filter/book/refill/.htaccess [deleted file]
application/ship-simu/main/filter/book/refill/class_RefillRequestCurrencyTestBookFilter.php [deleted file]
application/ship-simu/main/filter/class_ [deleted file]
application/ship-simu/main/filter/class_BaseShipSimuFilter.php [deleted file]
application/ship-simu/main/filter/government/.htaccess [deleted file]
application/ship-simu/main/filter/government/class_ShipSimuGovernmentPaysStartupHelpFilter.php [deleted file]
application/ship-simu/main/filter/government/class_ShipSimuGovernmentPaysTrainingFilter.php [deleted file]
application/ship-simu/main/filter/page/.htaccess [deleted file]
application/ship-simu/main/filter/page/class_RefillPageFilter.php [deleted file]
application/ship-simu/main/filter/validator/.htaccess [deleted file]
application/ship-simu/main/filter/validator/class_RefillRequestValidatorFilter.php [deleted file]
application/ship-simu/main/filter/validator/class_ShipSimuUserStatusGuestFilter.php [deleted file]
application/ship-simu/main/filter/verifier/.htaccess [deleted file]
application/ship-simu/main/filter/verifier/class_BirthdayVerifierFilter.php [deleted file]
application/ship-simu/main/government/.htaccess [deleted file]
application/ship-simu/main/government/class_SimplifiedGovernment.php [deleted file]
application/ship-simu/main/login/.htaccess [deleted file]
application/ship-simu/main/login/class_ShipSimuGuestLogin.php [deleted file]
application/ship-simu/main/login/class_ShipSimuUserLogin.php [deleted file]
application/ship-simu/main/login/helper/.htaccess [deleted file]
application/ship-simu/main/login/helper/class_ShipSimuLoginHelper.php [deleted file]
application/ship-simu/main/menu/.htaccess [deleted file]
application/ship-simu/main/menu/class_ShipSimu [deleted file]
application/ship-simu/main/menu/class_ShipSimuConfirmMenu.php [deleted file]
application/ship-simu/main/menu/class_ShipSimuHomeMenu.php [deleted file]
application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php [deleted file]
application/ship-simu/main/menu/class_ShipSimuLoginFailedMenu.php [deleted file]
application/ship-simu/main/menu/class_ShipSimuLoginMenu.php [deleted file]
application/ship-simu/main/menu/class_ShipSimuLogoutMenu.php [deleted file]
application/ship-simu/main/menu/class_ShipSimuRegisterMenu.php [deleted file]
application/ship-simu/main/menu/class_ShipSimuStatusMenu.php [deleted file]
application/ship-simu/main/menu/government/.htaccess [deleted file]
application/ship-simu/main/menu/government/class_ShipSimuGovernmentFailedAreaMenu.php [deleted file]
application/ship-simu/main/opening/.htaccess [deleted file]
application/ship-simu/main/opening/bank/.htaccess [deleted file]
application/ship-simu/main/opening/bank/class_MoneyBankRealtimeOpening.php [deleted file]
application/ship-simu/main/opening/class_ [deleted file]
application/ship-simu/main/opening/class_BaseOpening.php [deleted file]
application/ship-simu/main/parts/.htaccess [deleted file]
application/ship-simu/main/parts/class_BaseShipPart.php [deleted file]
application/ship-simu/main/parts/maschineroom/.htaccess [deleted file]
application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php [deleted file]
application/ship-simu/main/personell/.htaccess [deleted file]
application/ship-simu/main/personell/class_SimulatorPersonell.php [deleted file]
application/ship-simu/main/personell/company/.htaccess [deleted file]
application/ship-simu/main/personell/company/class_CompanyEmployee.php [deleted file]
application/ship-simu/main/registration/.htaccess [deleted file]
application/ship-simu/main/registration/class_ShipSimuRegistration.php [deleted file]
application/ship-simu/main/resolver/.htaccess [deleted file]
application/ship-simu/main/resolver/web/.htaccess [deleted file]
application/ship-simu/main/resolver/web/class_WebCompanyCommandResolver.php [deleted file]
application/ship-simu/main/resolver/web/class_WebGovernmentFailedCommandResolver.php [deleted file]
application/ship-simu/main/ships/.htaccess [deleted file]
application/ship-simu/main/ships/class_BaseShip.php [deleted file]
application/ship-simu/main/ships/passenger/.htaccess [deleted file]
application/ship-simu/main/ships/passenger/class_PassengerShip.php [deleted file]
application/ship-simu/main/structures/.htaccess [deleted file]
application/ship-simu/main/structures/class_BaseStructure.php [deleted file]
application/ship-simu/main/structures/extended/.htaccess [deleted file]
application/ship-simu/main/structures/extended/cabines/.htaccess [deleted file]
application/ship-simu/main/structures/extended/cabines/class_BaseCabin.php [deleted file]
application/ship-simu/main/structures/extended/cabines/ship/.htaccess [deleted file]
application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php [deleted file]
application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php [deleted file]
application/ship-simu/main/structures/extended/cabines/ship/class_LuxuryCabin.php [deleted file]
application/ship-simu/main/structures/extended/cabines/ship/class_PremierCabin.php [deleted file]
application/ship-simu/main/structures/extended/class_ [deleted file]
application/ship-simu/main/structures/extended/class_BaseCabinStructure.php [deleted file]
application/ship-simu/main/structures/extended/class_BaseDeckStructure.php [deleted file]
application/ship-simu/main/structures/extended/class_BaseUpperStructure.php [deleted file]
application/ship-simu/main/structures/extended/decks/.htaccess [deleted file]
application/ship-simu/main/structures/extended/decks/cargo/.htaccess [deleted file]
application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php [deleted file]
application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php [deleted file]
application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php [deleted file]
application/ship-simu/main/structures/extended/decks/class_BaseDeck.php [deleted file]
application/ship-simu/main/structures/extended/lower/.htaccess [deleted file]
application/ship-simu/main/structures/extended/upper/.htaccess [deleted file]
application/ship-simu/main/structures/extended/upper/class_Bridge.php [deleted file]
application/ship-simu/main/user/.htaccess [deleted file]
application/ship-simu/main/user/class_ShipSimuBaseUser.php [deleted file]
application/ship-simu/main/user/extended/.htaccess [deleted file]
application/ship-simu/main/user/extended/class_ShipSimuGuest.php [deleted file]
application/ship-simu/main/user/extended/class_ShipSimuMember.php [deleted file]
application/ship-simu/main/wrapper/.htaccess [deleted file]
application/ship-simu/main/wrapper/class_CompanyDatabaseWrapper.php [deleted file]
application/ship-simu/main/wrapper/class_UserGovernmentDatabaseWrapper.php [deleted file]
application/ship-simu/starter.php [deleted file]
application/ship-simu/templates/.htaccess [deleted file]
application/ship-simu/templates/de/.htaccess [deleted file]
application/ship-simu/templates/de/.xml [deleted file]
application/ship-simu/templates/de/code/action_ship_simu_login_company.ctp [deleted file]
application/ship-simu/templates/de/code/action_ship_simu_login_government_startup_help.ctp [deleted file]
application/ship-simu/templates/de/code/action_ship_simu_login_government_training.ctp [deleted file]
application/ship-simu/templates/de/code/action_ship_simu_login_logout.ctp [deleted file]
application/ship-simu/templates/de/code/action_ship_simu_login_profile.ctp [deleted file]
application/ship-simu/templates/de/code/action_ship_simu_login_refill.ctp [deleted file]
application/ship-simu/templates/de/code/action_ship_simu_login_status_problem.ctp [deleted file]
application/ship-simu/templates/de/code/action_ship_simu_login_welcome.ctp [deleted file]
application/ship-simu/templates/de/code/block_company_data.ctp [deleted file]
application/ship-simu/templates/de/code/block_persona_data.ctp [deleted file]
application/ship-simu/templates/de/code/captch_graphic_code.ctp [deleted file]
application/ship-simu/templates/de/code/confirm_link.ctp [deleted file]
application/ship-simu/templates/de/code/emergency_exit.ctp [deleted file]
application/ship-simu/templates/de/code/footer.ctp [deleted file]
application/ship-simu/templates/de/code/footer_msg.ctp [deleted file]
application/ship-simu/templates/de/code/government_failed_main.ctp [deleted file]
application/ship-simu/templates/de/code/header.ctp [deleted file]
application/ship-simu/templates/de/code/header_extras_hook.ctp [deleted file]
application/ship-simu/templates/de/code/home.ctp [deleted file]
application/ship-simu/templates/de/code/login_failed.ctp [deleted file]
application/ship-simu/templates/de/code/login_form.ctp [deleted file]
application/ship-simu/templates/de/code/login_main.ctp [deleted file]
application/ship-simu/templates/de/code/logout_done.ctp [deleted file]
application/ship-simu/templates/de/code/mail_debug.ctp [deleted file]
application/ship-simu/templates/de/code/register_form.ctp [deleted file]
application/ship-simu/templates/de/code/shipsimu_main.ctp [deleted file]
application/ship-simu/templates/de/code/status.ctp [deleted file]
application/ship-simu/templates/de/emails/.htaccess [deleted file]
application/ship-simu/templates/de/emails/text_resend_link.tpl [deleted file]
application/ship-simu/templates/de/html/.htaccess [deleted file]
application/ship-simu/templates/de/html/nav_advert.tpl [deleted file]
application/ship-simu/templates/de/html/selector_ship-simu.tpl [deleted file]
application/ship-simu/templates/de/image/base_code.xml [deleted file]
application/ship-simu/templates/de/image/code_captcha.img [deleted file]
application/ship-simu/templates/de/image/emergency_exit.img [deleted file]
application/ship-simu/templates/de/menu/.htaccess [deleted file]
application/ship-simu/templates/de/menu/base_menu.xml [deleted file]
application/ship-simu/templates/de/menu/generic_menu_entries.xml [deleted file]
application/ship-simu/templates/game/!MISSING [deleted file]
application/ship-simu/templates/game/.htaccess [deleted file]
application/ship-simu/templates/game/building/.htaccess [deleted file]
application/ship-simu/templates/game/building/advanced_research_lab.xml [deleted file]
application/ship-simu/templates/game/building/base_building.xml [deleted file]
application/ship-simu/templates/game/building/research_lab.xml [deleted file]
application/ship-simu/templates/game/chemicals/.htaccess [deleted file]
application/ship-simu/templates/game/company/.htaccess [deleted file]
application/ship-simu/templates/game/container/.htaccess [deleted file]
application/ship-simu/templates/game/container/base_container.xml [deleted file]
application/ship-simu/templates/game/contract/.htaccess [deleted file]
application/ship-simu/templates/game/contract/base_contract.xml [deleted file]
application/ship-simu/templates/game/drink/.htaccess [deleted file]
application/ship-simu/templates/game/drink/base_drink.xml [deleted file]
application/ship-simu/templates/game/electronic/.htaccess [deleted file]
application/ship-simu/templates/game/electronic/base_electronic.xml [deleted file]
application/ship-simu/templates/game/electronic/cellphone.xml [deleted file]
application/ship-simu/templates/game/electronic/hifi_system.xml [deleted file]
application/ship-simu/templates/game/electronic/radio_receiver.xml [deleted file]
application/ship-simu/templates/game/electronic/surround_system.xml [deleted file]
application/ship-simu/templates/game/electronic/television.xml [deleted file]
application/ship-simu/templates/game/engine/.htaccess [deleted file]
application/ship-simu/templates/game/engine/base_engine.xml [deleted file]
application/ship-simu/templates/game/farmer/.htaccess [deleted file]
application/ship-simu/templates/game/farmer/base_farmer.xml [deleted file]
application/ship-simu/templates/game/fruit/.htaccess [deleted file]
application/ship-simu/templates/game/fruit/base_fruit.xml [deleted file]
application/ship-simu/templates/game/fuel/.htaccess [deleted file]
application/ship-simu/templates/game/fuel/base_fuel.xml [deleted file]
application/ship-simu/templates/game/grain/.htaccess [deleted file]
application/ship-simu/templates/game/grain/base_grain.xml [deleted file]
application/ship-simu/templates/game/lifestock/.htaccess [deleted file]
application/ship-simu/templates/game/lifestock/base_lifestock.xml [deleted file]
application/ship-simu/templates/game/merchant/.htaccess [deleted file]
application/ship-simu/templates/game/merchant/base_merchant.xml [deleted file]
application/ship-simu/templates/game/mineral/.htaccess [deleted file]
application/ship-simu/templates/game/mineral/base_mineral.xml [deleted file]
application/ship-simu/templates/game/produce/.htaccess [deleted file]
application/ship-simu/templates/game/produce/base_produce.xml [deleted file]
application/ship-simu/templates/game/research/.htaccess [deleted file]
application/ship-simu/templates/game/research/base_research.xml [deleted file]
application/ship-simu/templates/game/research/electricity.xml [deleted file]
application/ship-simu/templates/game/research/electronics.xml [deleted file]
application/ship-simu/templates/game/research/mathematics.xml [deleted file]
application/ship-simu/templates/game/research/radio_receiving.xml [deleted file]
application/ship-simu/templates/game/research/statics.xml [deleted file]
application/ship-simu/templates/game/resource/.htaccess [deleted file]
application/ship-simu/templates/game/resource/base_resource.xml [deleted file]
application/ship-simu/templates/game/ship/.htaccess [deleted file]
application/ship-simu/templates/game/ship/base_ship.xml [deleted file]
application/ship-simu/templates/game/tank/.htaccess [deleted file]
application/ship-simu/templates/game/tank/base_tank.xml [deleted file]
application/ship-simu/templates/game/technology/.htaccess [deleted file]
application/ship-simu/templates/game/technology/architecture.xml [deleted file]
application/ship-simu/templates/game/technology/base_technology.xml [deleted file]
application/ship-simu/templates/game/technology/cellular_network.xml [deleted file]
application/ship-simu/templates/game/technology/drawings.xml [deleted file]
application/ship-simu/templates/game/technology/glass_making.xml [deleted file]
application/ship-simu/templates/game/technology/household_devices.xml [deleted file]
application/ship-simu/templates/game/technology/intergrated_currents.xml [deleted file]
application/ship-simu/templates/game/technology/laboratory_equipment.xml [deleted file]
application/ship-simu/templates/game/technology/naval_architecture.xml [deleted file]
application/ship-simu/templates/game/technology/plastics.xml [deleted file]
application/ship-simu/templates/game/technology/signal_amplifying.xml [deleted file]
application/ship-simu/templates/game/technology/signal_modulation.xml [deleted file]
application/ship-simu/templates/game/technology/sound_equalizer.xml [deleted file]
application/ship-simu/templates/game/technology/sound_processor.xml [deleted file]
application/ship-simu/templates/game/technology/surround_mixing.xml [deleted file]
application/ship-simu/templates/game/technology/transistor.xml [deleted file]
application/ship-simu/templates/game/technology/video_receiving.xml [deleted file]
application/ship-simu/templates/game/types/.htaccess [deleted file]
application/ship-simu/templates/game/types/building_types.xml [deleted file]
application/ship-simu/templates/game/types/container_types.xml [deleted file]
application/ship-simu/templates/game/types/content_types.xml [deleted file]
application/ship-simu/templates/game/types/contract_types.xml [deleted file]
application/ship-simu/templates/game/types/electronic_types.xml [deleted file]
application/ship-simu/templates/game/types/engine_types.xml [deleted file]
application/ship-simu/templates/game/types/farmer_types.xml [deleted file]
application/ship-simu/templates/game/types/fuel_types.xml [deleted file]
application/ship-simu/templates/game/types/merchant_types.xml [deleted file]
application/ship-simu/templates/game/types/owner_occupants.xml [deleted file]
application/ship-simu/templates/game/types/product_types.xml [deleted file]
application/ship-simu/templates/game/types/research_types.xml [deleted file]
application/ship-simu/templates/game/types/ship_types.xml [deleted file]
application/ship-simu/templates/game/types/signer_types.xml [deleted file]
application/ship-simu/templates/game/types/tank_types.xml [deleted file]
application/ship-simu/templates/game/types/technology_types.xml [deleted file]
application/ship-simu/templates/game/vegetable/.htaccess [deleted file]
application/ship-simu/templates/game/vegetable/base_vegetable.xml [deleted file]
application/shipsimu/.htaccess [new file with mode: 0644]
application/shipsimu/admin/.htaccess [new file with mode: 0644]
application/shipsimu/class_ApplicationHelper.php [new file with mode: 0644]
application/shipsimu/config.php [new file with mode: 0644]
application/shipsimu/data.php [new file with mode: 0644]
application/shipsimu/debug.php [new file with mode: 0644]
application/shipsimu/exceptions.php [new file with mode: 0644]
application/shipsimu/exceptions/.htaccess [new file with mode: 0644]
application/shipsimu/exceptions/class_BirthdayInvalidException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_CabinShipMismatchException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_ContractAllreadySignedException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_ContractPartnerMismatchException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_DeckShipMismatchException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_EmptyStructuresListException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_InvalidContractPartnerException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_InvalidIDFormatException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_ItemNotInPriceListException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_ItemNotTradeableException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_MissingSimulatorIdException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_MotorShipMismatchException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_NoShippingCompanyOwnedException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_NoShipyardsConstructedException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_PersonellListAlreadyCreatedException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_RoomShipMismatchException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_ShipNotConstructedException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_ShipPartNotConstructableException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_StructureShipMismatchException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_StructuresOutOfBoundsException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_ToMuchEmployeesException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_TotalPriceNotCalculatedException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_UnsupportedLimitationPartException.php [new file with mode: 0644]
application/shipsimu/exceptions/class_WrongGenderSpecifiedException.php [new file with mode: 0644]
application/shipsimu/init.php [new file with mode: 0644]
application/shipsimu/interfaces/.htaccess [new file with mode: 0644]
application/shipsimu/interfaces/class_BookableAccount.php [new file with mode: 0644]
application/shipsimu/interfaces/class_ConstructableShip.php [new file with mode: 0644]
application/shipsimu/interfaces/class_ConstructableShipPart.php [new file with mode: 0644]
application/shipsimu/interfaces/class_ContractPartner.php [new file with mode: 0644]
application/shipsimu/interfaces/class_Customer.php [new file with mode: 0644]
application/shipsimu/interfaces/class_Personellizer.php [new file with mode: 0644]
application/shipsimu/interfaces/class_SignableContract.php [new file with mode: 0644]
application/shipsimu/interfaces/class_TradeableItem.php [new file with mode: 0644]
application/shipsimu/loader.php [new file with mode: 0644]
application/shipsimu/main/.htaccess [new file with mode: 0644]
application/shipsimu/main/actions/.htaccess [new file with mode: 0644]
application/shipsimu/main/actions/class_ [new file with mode: 0644]
application/shipsimu/main/actions/class_BaseShipSimuAction.php [new file with mode: 0644]
application/shipsimu/main/actions/ship-simu/.htaccess [new file with mode: 0644]
application/shipsimu/main/actions/ship-simu/class_ShipSimuLoginAction.php [new file with mode: 0644]
application/shipsimu/main/actions/ship-simu/class_ShipSimuProfileAction.php [new file with mode: 0644]
application/shipsimu/main/actions/web/.htaccess [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLogin [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLoginCompanyAction.php [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLoginGovernmentTrainingAction.php [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLoginLogoutAction.php [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLoginProfileAction.php [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLoginRefillAction.php [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLoginStatusProblemAction.php [new file with mode: 0644]
application/shipsimu/main/actions/web/class_WebShipSimuLoginWelcomeAction.php [new file with mode: 0644]
application/shipsimu/main/bank/.htaccess [new file with mode: 0644]
application/shipsimu/main/bank/class_BaseBank.php [new file with mode: 0644]
application/shipsimu/main/bank/money/class_MoneyBank.php [new file with mode: 0644]
application/shipsimu/main/class_ [new file with mode: 0644]
application/shipsimu/main/class_BasePersonell.php [new file with mode: 0644]
application/shipsimu/main/class_BaseSimulator.php [new file with mode: 0644]
application/shipsimu/main/class_Merchant.php [new file with mode: 0644]
application/shipsimu/main/class_WorksContract.php [new file with mode: 0644]
application/shipsimu/main/commands/.htaccess [new file with mode: 0644]
application/shipsimu/main/commands/web/.htaccess [new file with mode: 0644]
application/shipsimu/main/commands/web/class_WebShipsimuGuestLoginCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/class_WebShipsimuProfileCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/class_WebShipsimuRefillCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/class_WebShipsimuRegisterCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/class_WebShipsimuUserLoginCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/company/.htaccess [new file with mode: 0644]
application/shipsimu/main/commands/web/company/class_WebShipSimuCompanyCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/government/.htaccess [new file with mode: 0644]
application/shipsimu/main/commands/web/government/class_WebGovernmentFailedStartupCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php [new file with mode: 0644]
application/shipsimu/main/commands/web/government/class_WebShipsimuGovernmentTrainingCommand.php [new file with mode: 0644]
application/shipsimu/main/companies/.htaccess [new file with mode: 0644]
application/shipsimu/main/companies/class_ShippingCompany.php [new file with mode: 0644]
application/shipsimu/main/constructions/.htaccess [new file with mode: 0644]
application/shipsimu/main/constructions/berths/.htaccess [new file with mode: 0644]
application/shipsimu/main/constructions/berths/class_Berth.php [new file with mode: 0644]
application/shipsimu/main/constructions/class_BaseConstruction.php [new file with mode: 0644]
application/shipsimu/main/constructions/docks/.htaccess [new file with mode: 0644]
application/shipsimu/main/constructions/docks/class_DryDock.php [new file with mode: 0644]
application/shipsimu/main/constructions/harbors/.htaccess [new file with mode: 0644]
application/shipsimu/main/constructions/harbors/class_Harbor.php [new file with mode: 0644]
application/shipsimu/main/constructions/terminals/.htaccess [new file with mode: 0644]
application/shipsimu/main/constructions/terminals/class_Terminal.php [new file with mode: 0644]
application/shipsimu/main/constructions/yards/.htaccess [new file with mode: 0644]
application/shipsimu/main/constructions/yards/class_Shipyard.php [new file with mode: 0644]
application/shipsimu/main/controller/.htaccess [new file with mode: 0644]
application/shipsimu/main/controller/web/.htaccess [new file with mode: 0644]
application/shipsimu/main/controller/web/class_WebCompanyController.php [new file with mode: 0644]
application/shipsimu/main/controller/web/class_WebGovernmentFailedController.php [new file with mode: 0644]
application/shipsimu/main/drives/.htaccess [new file with mode: 0644]
application/shipsimu/main/drives/class_BaseDrive.php [new file with mode: 0644]
application/shipsimu/main/drives/motor/.htaccess [new file with mode: 0644]
application/shipsimu/main/drives/motor/class_Motor.php [new file with mode: 0644]
application/shipsimu/main/factories/.htaccess [new file with mode: 0644]
application/shipsimu/main/factories/class_ShipSimuWebNewsFactory.php [new file with mode: 0644]
application/shipsimu/main/filter/.htaccess [new file with mode: 0644]
application/shipsimu/main/filter/book/.htaccess [new file with mode: 0644]
application/shipsimu/main/filter/book/refill/.htaccess [new file with mode: 0644]
application/shipsimu/main/filter/book/refill/class_RefillRequestCurrencyTestBookFilter.php [new file with mode: 0644]
application/shipsimu/main/filter/class_ [new file with mode: 0644]
application/shipsimu/main/filter/class_BaseShipSimuFilter.php [new file with mode: 0644]
application/shipsimu/main/filter/government/.htaccess [new file with mode: 0644]
application/shipsimu/main/filter/government/class_ShipSimuGovernmentPaysStartupHelpFilter.php [new file with mode: 0644]
application/shipsimu/main/filter/government/class_ShipSimuGovernmentPaysTrainingFilter.php [new file with mode: 0644]
application/shipsimu/main/filter/page/.htaccess [new file with mode: 0644]
application/shipsimu/main/filter/page/class_RefillPageFilter.php [new file with mode: 0644]
application/shipsimu/main/filter/validator/.htaccess [new file with mode: 0644]
application/shipsimu/main/filter/validator/class_RefillRequestValidatorFilter.php [new file with mode: 0644]
application/shipsimu/main/filter/validator/class_ShipSimuUserStatusGuestFilter.php [new file with mode: 0644]
application/shipsimu/main/filter/verifier/.htaccess [new file with mode: 0644]
application/shipsimu/main/filter/verifier/class_BirthdayVerifierFilter.php [new file with mode: 0644]
application/shipsimu/main/government/.htaccess [new file with mode: 0644]
application/shipsimu/main/government/class_SimplifiedGovernment.php [new file with mode: 0644]
application/shipsimu/main/login/.htaccess [new file with mode: 0644]
application/shipsimu/main/login/class_ShipSimuGuestLogin.php [new file with mode: 0644]
application/shipsimu/main/login/class_ShipSimuUserLogin.php [new file with mode: 0644]
application/shipsimu/main/login/helper/.htaccess [new file with mode: 0644]
application/shipsimu/main/login/helper/class_ShipSimuLoginHelper.php [new file with mode: 0644]
application/shipsimu/main/menu/.htaccess [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimu [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimuConfirmMenu.php [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimuHomeMenu.php [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimuLoginAreaMenu.php [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimuLoginFailedMenu.php [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimuLoginMenu.php [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimuLogoutMenu.php [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimuRegisterMenu.php [new file with mode: 0644]
application/shipsimu/main/menu/class_ShipSimuStatusMenu.php [new file with mode: 0644]
application/shipsimu/main/menu/government/.htaccess [new file with mode: 0644]
application/shipsimu/main/menu/government/class_ShipSimuGovernmentFailedAreaMenu.php [new file with mode: 0644]
application/shipsimu/main/opening/.htaccess [new file with mode: 0644]
application/shipsimu/main/opening/bank/.htaccess [new file with mode: 0644]
application/shipsimu/main/opening/bank/class_MoneyBankRealtimeOpening.php [new file with mode: 0644]
application/shipsimu/main/opening/class_ [new file with mode: 0644]
application/shipsimu/main/opening/class_BaseOpening.php [new file with mode: 0644]
application/shipsimu/main/parts/.htaccess [new file with mode: 0644]
application/shipsimu/main/parts/class_BaseShipPart.php [new file with mode: 0644]
application/shipsimu/main/parts/maschineroom/.htaccess [new file with mode: 0644]
application/shipsimu/main/parts/maschineroom/class_MaschineRoom.php [new file with mode: 0644]
application/shipsimu/main/personell/.htaccess [new file with mode: 0644]
application/shipsimu/main/personell/class_SimulatorPersonell.php [new file with mode: 0644]
application/shipsimu/main/personell/company/.htaccess [new file with mode: 0644]
application/shipsimu/main/personell/company/class_CompanyEmployee.php [new file with mode: 0644]
application/shipsimu/main/registration/.htaccess [new file with mode: 0644]
application/shipsimu/main/registration/class_ShipSimuRegistration.php [new file with mode: 0644]
application/shipsimu/main/resolver/.htaccess [new file with mode: 0644]
application/shipsimu/main/resolver/web/.htaccess [new file with mode: 0644]
application/shipsimu/main/resolver/web/class_WebCompanyCommandResolver.php [new file with mode: 0644]
application/shipsimu/main/resolver/web/class_WebGovernmentFailedCommandResolver.php [new file with mode: 0644]
application/shipsimu/main/ships/.htaccess [new file with mode: 0644]
application/shipsimu/main/ships/class_BaseShip.php [new file with mode: 0644]
application/shipsimu/main/ships/passenger/.htaccess [new file with mode: 0644]
application/shipsimu/main/ships/passenger/class_PassengerShip.php [new file with mode: 0644]
application/shipsimu/main/structures/.htaccess [new file with mode: 0644]
application/shipsimu/main/structures/class_BaseStructure.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/.htaccess [new file with mode: 0644]
application/shipsimu/main/structures/extended/cabines/.htaccess [new file with mode: 0644]
application/shipsimu/main/structures/extended/cabines/class_BaseCabin.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/cabines/ship/.htaccess [new file with mode: 0644]
application/shipsimu/main/structures/extended/cabines/ship/class_EconomyCabin.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/cabines/ship/class_LowCabin.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/cabines/ship/class_LuxuryCabin.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/cabines/ship/class_PremierCabin.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/class_ [new file with mode: 0644]
application/shipsimu/main/structures/extended/class_BaseCabinStructure.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/class_BaseDeckStructure.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/class_BaseUpperStructure.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/decks/.htaccess [new file with mode: 0644]
application/shipsimu/main/structures/extended/decks/cargo/.htaccess [new file with mode: 0644]
application/shipsimu/main/structures/extended/decks/cargo/class_CarDeck.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/decks/cargo/class_TrainDeck.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/decks/cargo/class_TruckDeck.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/decks/class_BaseDeck.php [new file with mode: 0644]
application/shipsimu/main/structures/extended/lower/.htaccess [new file with mode: 0644]
application/shipsimu/main/structures/extended/upper/.htaccess [new file with mode: 0644]
application/shipsimu/main/structures/extended/upper/class_Bridge.php [new file with mode: 0644]
application/shipsimu/main/user/.htaccess [new file with mode: 0644]
application/shipsimu/main/user/class_ShipSimuBaseUser.php [new file with mode: 0644]
application/shipsimu/main/user/extended/.htaccess [new file with mode: 0644]
application/shipsimu/main/user/extended/class_ShipSimuGuest.php [new file with mode: 0644]
application/shipsimu/main/user/extended/class_ShipSimuMember.php [new file with mode: 0644]
application/shipsimu/main/wrapper/.htaccess [new file with mode: 0644]
application/shipsimu/main/wrapper/class_CompanyDatabaseWrapper.php [new file with mode: 0644]
application/shipsimu/main/wrapper/class_UserGovernmentDatabaseWrapper.php [new file with mode: 0644]
application/shipsimu/starter.php [new file with mode: 0644]
application/shipsimu/templates/.htaccess [new file with mode: 0644]
application/shipsimu/templates/de/.htaccess [new file with mode: 0644]
application/shipsimu/templates/de/.xml [new file with mode: 0644]
application/shipsimu/templates/de/code/action_ship_simu_login_company.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/action_ship_simu_login_government_startup_help.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/action_ship_simu_login_government_training.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/action_ship_simu_login_logout.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/action_ship_simu_login_profile.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/action_ship_simu_login_refill.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/action_ship_simu_login_status_problem.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/action_ship_simu_login_welcome.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/block_company_data.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/block_persona_data.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/captch_graphic_code.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/confirm_link.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/emergency_exit.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/footer.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/footer_msg.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/government_failed_main.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/header.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/header_extras_hook.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/home.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/login_failed.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/login_form.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/login_main.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/logout_done.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/mail_debug.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/register_form.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/shipsimu_main.ctp [new file with mode: 0644]
application/shipsimu/templates/de/code/status.ctp [new file with mode: 0644]
application/shipsimu/templates/de/emails/.htaccess [new file with mode: 0644]
application/shipsimu/templates/de/emails/text_resend_link.tpl [new file with mode: 0644]
application/shipsimu/templates/de/html/.htaccess [new file with mode: 0644]
application/shipsimu/templates/de/html/nav_advert.tpl [new file with mode: 0644]
application/shipsimu/templates/de/html/selector_ship-simu.tpl [new file with mode: 0644]
application/shipsimu/templates/de/image/base_code.xml [new file with mode: 0644]
application/shipsimu/templates/de/image/code_captcha.img [new file with mode: 0644]
application/shipsimu/templates/de/image/emergency_exit.img [new file with mode: 0644]
application/shipsimu/templates/de/menu/.htaccess [new file with mode: 0644]
application/shipsimu/templates/de/menu/base_menu.xml [new file with mode: 0644]
application/shipsimu/templates/de/menu/generic_menu_entries.xml [new file with mode: 0644]
application/shipsimu/templates/game/!MISSING [new file with mode: 0644]
application/shipsimu/templates/game/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/building/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/building/advanced_research_lab.xml [new file with mode: 0644]
application/shipsimu/templates/game/building/base_building.xml [new file with mode: 0644]
application/shipsimu/templates/game/building/research_lab.xml [new file with mode: 0644]
application/shipsimu/templates/game/chemicals/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/company/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/container/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/container/base_container.xml [new file with mode: 0644]
application/shipsimu/templates/game/contract/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/contract/base_contract.xml [new file with mode: 0644]
application/shipsimu/templates/game/drink/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/drink/base_drink.xml [new file with mode: 0644]
application/shipsimu/templates/game/electronic/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/electronic/base_electronic.xml [new file with mode: 0644]
application/shipsimu/templates/game/electronic/cellphone.xml [new file with mode: 0644]
application/shipsimu/templates/game/electronic/hifi_system.xml [new file with mode: 0644]
application/shipsimu/templates/game/electronic/radio_receiver.xml [new file with mode: 0644]
application/shipsimu/templates/game/electronic/surround_system.xml [new file with mode: 0644]
application/shipsimu/templates/game/electronic/television.xml [new file with mode: 0644]
application/shipsimu/templates/game/engine/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/engine/base_engine.xml [new file with mode: 0644]
application/shipsimu/templates/game/farmer/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/farmer/base_farmer.xml [new file with mode: 0644]
application/shipsimu/templates/game/fruit/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/fruit/base_fruit.xml [new file with mode: 0644]
application/shipsimu/templates/game/fuel/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/fuel/base_fuel.xml [new file with mode: 0644]
application/shipsimu/templates/game/grain/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/grain/base_grain.xml [new file with mode: 0644]
application/shipsimu/templates/game/lifestock/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/lifestock/base_lifestock.xml [new file with mode: 0644]
application/shipsimu/templates/game/merchant/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/merchant/base_merchant.xml [new file with mode: 0644]
application/shipsimu/templates/game/mineral/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/mineral/base_mineral.xml [new file with mode: 0644]
application/shipsimu/templates/game/produce/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/produce/base_produce.xml [new file with mode: 0644]
application/shipsimu/templates/game/research/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/research/base_research.xml [new file with mode: 0644]
application/shipsimu/templates/game/research/electricity.xml [new file with mode: 0644]
application/shipsimu/templates/game/research/electronics.xml [new file with mode: 0644]
application/shipsimu/templates/game/research/mathematics.xml [new file with mode: 0644]
application/shipsimu/templates/game/research/radio_receiving.xml [new file with mode: 0644]
application/shipsimu/templates/game/research/statics.xml [new file with mode: 0644]
application/shipsimu/templates/game/resource/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/resource/base_resource.xml [new file with mode: 0644]
application/shipsimu/templates/game/ship/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/ship/base_ship.xml [new file with mode: 0644]
application/shipsimu/templates/game/tank/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/tank/base_tank.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/technology/architecture.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/base_technology.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/cellular_network.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/drawings.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/glass_making.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/household_devices.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/intergrated_currents.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/laboratory_equipment.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/naval_architecture.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/plastics.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/signal_amplifying.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/signal_modulation.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/sound_equalizer.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/sound_processor.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/surround_mixing.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/transistor.xml [new file with mode: 0644]
application/shipsimu/templates/game/technology/video_receiving.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/types/building_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/container_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/content_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/contract_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/electronic_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/engine_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/farmer_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/fuel_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/merchant_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/owner_occupants.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/product_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/research_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/ship_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/signer_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/tank_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/types/technology_types.xml [new file with mode: 0644]
application/shipsimu/templates/game/vegetable/.htaccess [new file with mode: 0644]
application/shipsimu/templates/game/vegetable/base_vegetable.xml [new file with mode: 0644]
core [new submodule]
inc [new symlink]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..7b054c7
--- /dev/null
@@ -0,0 +1,3 @@
+[submodule "core"]
+       path = core
+       url = git://git.mxchange.org/core.git
diff --git a/application/ship-simu/.htaccess b/application/ship-simu/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/admin/.htaccess b/application/ship-simu/admin/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/class_ApplicationHelper.php b/application/ship-simu/class_ApplicationHelper.php
deleted file mode 100644 (file)
index 7000c38..0000000
+++ /dev/null
@@ -1,227 +0,0 @@
-<?php
-/**
- * A class holding general data about the application and some methods for
- * the management including the entry point.
- *
- * E.g.:
- *
- * index.php?app=my_app
- *
- * You need to create a folder in the folder "application" named "my_app"
- * (without the quotes) and create a include file called
- * class_ApplicationHelper.php. You have to write the same class for your
- * application and implement the same interface called ManageableApplication
- * because this class include file will be searched for.
- *
- * It is good when you avoid more GET parameters to keep URLs short and sweet.
- * But sometimes you need some GET paramerers e.g. for your imprint or info page
- * or other linked pages which you have to create and state some informations.
- *
- * Please remember that this include file is being loaded *before* the class
- * loader is loading classes from "exceptions", "interfaces" and "main"!
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0
- * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2012 Ship-Simu 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 <http://www.gnu.org/licenses/>.
- */
-class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplication, Registerable {
-       /**
-        * The version number of this application
-        */
-       private $appVersion = '';
-
-       /**
-        * The human-readable name for this application
-        */
-       private $appName = '';
-
-       /**
-        * The short uni*-like name for this application
-        */
-       private $shortName = '';
-
-       /**
-        * An instance of this class
-        */
-       private static $selfInstance = NULL;
-
-       /**
-        * Private constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Getter for an instance of this class
-        *
-        * @return      $selfInstance   An instance of this class
-        */
-       public static final function getSelfInstance () {
-               // Is the instance there?
-               if (is_null(self::$selfInstance)) {
-                       self::$selfInstance = new ApplicationHelper();
-               } // END - if
-
-               // Return the instance
-               return self::$selfInstance;
-       }
-
-       /**
-        * Getter for the version number
-        *
-        * @return      $appVersion     The application's version number
-        */
-       public final function getAppVersion () {
-               return $this->appVersion;
-       }
-       /**
-        * Setter for the version number
-        *
-        * @param       $appVersion     The application's version number
-        * @return      void
-        */
-       public final function setAppVersion ($appVersion) {
-               // Cast and set it
-               $this->appVersion = (string) $appVersion;
-       }
-
-       /**
-        * Getter for human-readable name
-        *
-        * @return      $appName        The application's human-readable name
-        */
-       public final function getAppName () {
-               return $this->appName;
-       }
-
-       /**
-        * Setter for human-readable name
-        *
-        * @param       $appName        The application's human-readable name
-        * @return      void
-        */
-       public final function setAppName ($appName) {
-               // Cast and set it
-               $this->appName = (string) $appName;;
-       }
-
-       /**
-        * Getter for short uni*-like name
-        *
-        * @return      $shortName      The application's short uni*-like name
-        */
-       public final function getAppShortName () {
-               return $this->shortName;
-       }
-
-       /**
-        * Setter for short uni*-like name
-        *
-        * @param       $shortName      The application's short uni*-like name
-        * @return      void
-        */
-       public final function setAppShortName ($shortName) {
-               // Cast and set it
-               $this->shortName = (string) $shortName;
-       }
-
-       /**
-        * Launches the application
-        *
-        * @return      void
-        */
-       public final function entryPoint () {
-               // Set this application in registry
-               Registry::getRegistry()->addInstance('app', $this);
-
-               // Default response is console
-               $response = $this->getResponseTypeFromSystem();
-               $responseType = $this->getResponseTypeFromSystem();
-
-               // Create a new request object
-               $requestInstance = ObjectFactory::createObjectByName($this->convertToClassName($response) . 'Request');
-
-               // Remember request instance here
-               $this->setRequestInstance($requestInstance);
-
-               // Do we have another response?
-               if ($requestInstance->isRequestElementSet('request')) {
-                       // Then use it
-                       $response = strtolower($requestInstance->getRequestElement('request'));
-                       $responseType = $response;
-               } // END - if
-
-               // ... and a new response object
-               $responseClass = sprintf("%sResponse", $this->convertToClassName($response));
-               $responseInstance = ObjectFactory::createObjectByName($responseClass, array($this));
-
-               // Remember response instance here
-               $this->setResponseInstance($responseInstance);
-
-               // Get the parameter from the request
-               $commandName = $requestInstance->getRequestElement('command');
-
-               // If it is null then get default command
-               if (is_null($commandName)) {
-                       // Get default command
-                       $commandName = $responseInstance->getDefaultCommand();
-
-                       // Set it in request
-                       $requestInstance->setRequestElement('command', $commandName);
-               } // END - if
-
-               // Get a controller resolver
-               $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
-               $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
-
-               // Get a controller instance as well
-               $this->setControllerInstance($resolverInstance->resolveController());
-
-               // Launch the main routine here
-               $this->getControllerInstance()->handleRequest($requestInstance, $responseInstance);
-       }
-
-       /**
-        * Handle the indexed array of fatal messages and puts them out in an
-        * acceptable fasion
-        *
-        * @param       $messageList    An array of fatal messages
-        * @return      void
-        */
-       public function handleFatalMessages (array $messageList) {
-               // Walk through all messages
-               foreach ($messageList as $message) {
-                       exit(__METHOD__ . ':MSG:' . $message);
-               } // END - foreach
-       }
-
-       /**
-        * Builds the master template's name
-        *
-        * @return      $masterTemplateName             Name of the master template
-        */
-       public function buildMasterTemplateName () {
-               return 'node_main';
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/config.php b/application/ship-simu/config.php
deleted file mode 100644 (file)
index b37151f..0000000
+++ /dev/null
@@ -1,539 +0,0 @@
-<?php
-/**
- * Additional/overwritten configuration parts
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-
-// Get a configuration instance for shorter lines
-$cfg = FrameworkConfiguration::getSelfInstance();
-
-// CFG: HEADER-CHARSET
-$cfg->setConfigEntry('header_charset', 'utf-8');
-
-// CFG: DEFAULT-WEB-COMMAND
-$cfg->setConfigEntry('default_web_command', 'home');
-
-// CFG: DEFAULT-IMAGE-COMMAND
-$cfg->setConfigEntry('default_image_command', 'build');
-
-// CFG: FORM-ACTION
-$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&amp;page=do_form');
-
-// CFG: FORM-METHOD
-$cfg->setConfigEntry('form_method', 'post');
-
-// CFG: FORM-TARGET
-$cfg->setConfigEntry('form_target', '_self');
-
-// CFG: REGISTER-REQUIRES-EMAIL
-$cfg->setConfigEntry('register_requires_email', 'Y');
-
-// CFG: REGISTER-INCLUDES-PROFILE
-$cfg->setConfigEntry('register_includes_profile', 'Y');
-
-// CFG: REGISTER-PERSONAL-DATA
-$cfg->setConfigEntry('register_personal_data', 'Y');
-
-// CFG: REGISTER-EMAIL-UNIQUE
-$cfg->setConfigEntry('register_email_unique', 'Y');
-
-// CFG: PROFILE-INCLUDES-BIRTHDAY
-$cfg->setConfigEntry('profile_includes_birthday', 'Y');
-
-// CFG: CHAT-ENABLED-ICQ
-$cfg->setConfigEntry('chat_enabled_icq', 'Y');
-
-// CFG: CHAT-ENABLED-JABBER
-$cfg->setConfigEntry('chat_enabled_jabber', 'Y');
-
-// CFG: CHAT-ENABLED-YAHOO
-$cfg->setConfigEntry('chat_enabled_yahoo', 'Y');
-
-// CFG: CHAT-ENABLED-AOL
-$cfg->setConfigEntry('chat_enabled_aol', 'Y');
-
-// CFG: CHAT-ENABLED-MSN
-$cfg->setConfigEntry('chat_enabled_msn', 'Y');
-
-// CFG: USER-REGISTRATION
-$cfg->setConfigEntry('user_registration_class', 'ShipSimuRegistration');
-
-// CFG: USER-LOGIN-CLASS
-$cfg->setConfigEntry('user_login_class', 'ShipSimuUserLogin');
-
-// CFG: GUEST-LOGIN-CLASS
-$cfg->setConfigEntry('guest_login_class', 'ShipSimuGuestLogin');
-
-// CFG: USER-STATUS-REGISTER
-$cfg->setConfigEntry('user_status_unconfirmed', 'UNCONFIRMED');
-
-// CFG: USER-STATUS-GUEST
-$cfg->setConfigEntry('user_status_guest', 'GUEST');
-
-// CFG: USER-STATUS-CONFIRMED
-$cfg->setConfigEntry('user_status_confirmed', 'CONFIRMED');
-
-// CFG: USER-STATUS-LOCKED
-$cfg->setConfigEntry('user_status_locked', 'LOCKED');
-
-// CFG: LOGIN-HELPER-CLASS
-$cfg->setConfigEntry('login_helper_class', 'ShipSimuLoginHelper');
-
-// CFG: AUTH-METHOD-CLASS
-$cfg->setConfigEntry('auth_method_class', 'CookieAuth');
-
-// CFG: APP-LOGIN-URL
-$cfg->setConfigEntry('app_login_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
-
-// CFG: LOGIN-FAILED-URL
-$cfg->setConfigEntry('login_failed_url', 'index.php?app={?app_short_name?}&amp;page=login_failed');
-
-// CFG: LOGIN-FAILED-LOGIN-RETRY-ACTION-URL
-$cfg->setConfigEntry('login_failed_login_retry_action_url', 'index.php?app={?app_short_name?}&amp;page=login&amp;note=login_failed');
-
-// CFG: LOGOUT-DONE-URL
-$cfg->setConfigEntry('logout_done_url', 'index.php?app={?app_short_name?}&amp;page=logout_done');
-
-// CFG: ACTION-STATUS-PROBLEM
-$cfg->setConfigEntry('action_status_problem', 'status_problem');
-
-// CFG: LOGIN-USER-STATUS-URL
-$cfg->setConfigEntry('login_user_status_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=status_problem&amp;status=general');
-
-// CFG: LOGIN-USER-STATUS-GUEST-URL
-$cfg->setConfigEntry('login_user_status_guest_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=status_problem&amp;status=guest');
-
-// CFG: USER-NOT-UNCONFIRMED-URL
-$cfg->setConfigEntry('user_not_unconfirmed_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=unconfirmed_problem');
-
-// CFG: USER-UNCONFIRMED-EMAIL-MISSING-URL
-$cfg->setConfigEntry('user_unconfirmed_email_missing_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=unconfirmed_email_missing');
-
-// CFG: CONFIRM-CODE-INVALID-URL
-$cfg->setConfigEntry('confirm_code_invalid_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=confirm_code_invalid');
-
-// CFG: USER-NOT-FOUND-URL
-$cfg->setConfigEntry('user_not_found_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=user_not_found');
-
-// CFG: LOGIN-GOVERNMENT-STARTUP-FAILED-URL
-$cfg->setConfigEntry('login_government_startup_failed_url', 'index.php?app={?app_short_name?}&amp;page=government_failed&amp;failed=startup');
-
-// CFG: LOGIN-GOVERNMENT-TRAINING-FAILED-URL
-$cfg->setConfigEntry('login_government_training_failed_url', 'index.php?app={?app_short_name?}&amp;page=government_failed&amp;failed=training');
-
-// CFG: REFILL-PAGE-CURRENCY-DONE-URL
-$cfg->setConfigEntry('refill_page_done_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;status=refill_done&amp;done={?refill_done?}&amount={?amount?}');
-
-// CFG: LOGIN-DEFAULT-ACTION
-$cfg->setConfigEntry('login_default_action', 'welcome');
-
-// CFG: LOGIN-AREA-LOGOUT-ACTION-URL
-$cfg->setConfigEntry('login_area_logout_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
-
-// CFG: GOVERNMENT-FAILED-LOGOUT-ACTION-URL
-$cfg->setConfigEntry('government_failed_logout_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
-
-// CFG: LOGIN-AREA-PROFILE-ACTION-URL
-$cfg->setConfigEntry('login_area_profile_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;status=profile');
-
-// CFG: GOVERNMENT-FAILED-PROFILE-ACTION-URL
-$cfg->setConfigEntry('government_failed_profile_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;status=profile');
-
-// CFG: LOGIN-AREA-COMPANY-ACTION-URL
-$cfg->setConfigEntry('login_area_company_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
-
-// CFG: GOVERNMENT-FAILED-COMPANY-ACTION-URL
-$cfg->setConfigEntry('government_failed_company_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
-
-// CFG: LOGIN-AREA-LIST-COMPANIES-ACTION-URL
-$cfg->setConfigEntry('login_area_list_companies_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
-
-// CFG: LOGIN-AREA-LOGOUT-NOW-ACTION-URL
-$cfg->setConfigEntry('login_area_logout_now_action_url', 'index.php?app={?app_short_name?}&amp;page=logout');
-
-// CFG: LOGIN-AREA-RETURN-LOGIN-ACTION-URL
-$cfg->setConfigEntry('login_area_return_login_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
-
-// CFG: LOGIN-AREA-SHIPSIMU-PROFILE-ACTION-URL
-$cfg->setConfigEntry('login_area_shipsimu_profile_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=profile');
-
-// CFG: LOGOUT_DONE-RELOGIN-ACTION-URL
-$cfg->setConfigEntry('logout_done_relogin_action_url', 'index.php?app={?app_short_name?}&amp;page=login');
-
-// CFG: LOGIN-REGISTER-ACTION-URL
-$cfg->setConfigEntry('login_register_action_url', 'index.php?app={?app_short_name?}&amp;page=register');
-
-// CFG: CONFIRM-DIRECT-LOGIN-ACTION-URL
-$cfg->setConfigEntry('confirm_direct_login_action_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
-
-// CFG: WEB-CMD-USER-IS-NULL-URL
-$cfg->setConfigEntry('web_cmd_user_is_null_url', 'index.php?app={?app_short_name?}&amp;page=problem&amp;problem=user_null');
-
-// CFG: NEWS-READER-HOME-CLASS
-$cfg->setConfigEntry('news_reader_home_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-LOGIN-AREA-CLASS
-$cfg->setConfigEntry('news_reader_login_area_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-LOGIN-AREA-LOGOUT-CLASS
-$cfg->setConfigEntry('news_reader_login_area_logout_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-LOGIN-AREA-COMPANY-CLASS
-$cfg->setConfigEntry('news_reader_login_area_company_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-LOGIN-AREA-REFILL-CLASS
-$cfg->setConfigEntry('news_reader_login_area_refill_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-LOGIN-AREA-PROFILE-CLASS
-$cfg->setConfigEntry('news_reader_login_area_profile_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-LOGIN-AREA-GOVERNMENT-TRAINING-CLASS
-$cfg->setConfigEntry('news_reader_login_area_government_training_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-LOGIN-AREA-GOVERNMENT-STARTUP-HELP-CLASS
-$cfg->setConfigEntry('news_reader_login_area_government_startup_help_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-LOGIN-AREA-STATUS-PROBLEM-CLASS
-$cfg->setConfigEntry('news_reader_login_area_status_problem_class', 'DefaultNewsReader');
-
-// CFG: NEWS-READER-GOVERNMENT-FAILED-CLASS
-$cfg->setConfigEntry('news_reader_government_failed_class', 'DefaultNewsReader');
-
-// CFG: NEWS-DOWNLOAD-FILTER
-$cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
-
-// CFG: NEWS-PROCESS-FILTER
-$cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
-
-// CFG: USER-AUTH-FILTER
-$cfg->setConfigEntry('user_auth_filter', 'UserAuthFilter');
-
-// CFG: USER-UPDATE-FILTER
-$cfg->setConfigEntry('user_update_filter', 'UserUpdateFilter');
-
-// CFG: USER-STATUS-CONFIRMED-FILTER
-$cfg->setConfigEntry('user_status_confirmed_filter', 'UserStatusConfimedUpdateFilter');
-
-// CFG: CAPTCHA-ENCRYPT-VALIDATOR-FILTER
-$cfg->setConfigEntry('captcha_encrypt_validator_filter', 'CaptchaEncryptFilter');
-
-// CFG: REFILL-REQUEST-VALIDATOR-FILTER
-$cfg->setConfigEntry('refill_request_validator_filter', 'RefillRequestValidatorFilter');
-
-// CFG: CAPTCHA-GUEST-VERIFIER-FILTER
-$cfg->setConfigEntry('captcha_guest_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
-
-// CFG: CAPTCHA-USER-VERIFIER-FILTER
-$cfg->setConfigEntry('captcha_user_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
-
-// CFG: CAPTCHA-REGISTER-VERIFIER-FILTER
-$cfg->setConfigEntry('captcha_register_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
-
-// CFG: CAPTCHA-REFILL-VERFIER-FILTER
-$cfg->setConfigEntry('captcha_refill_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
-
-// CFG: CAPTCHA-GOVERNMENT-VERFIER-FILTER
-$cfg->setConfigEntry('captcha_government_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
-
-// CFG: CAPTCHA-PROFILE-VERFIER-FILTER
-$cfg->setConfigEntry('captcha_profile_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
-
-// CFG: CONFIRM-CODE-VERIFIER-FILTER
-$cfg->setConfigEntry('confirm_code_verifier_filter', 'ConfirmCodeVerifierFilter');
-
-// CFG: BIRTHDAY-REGISTER-VERIFIER-FILTER
-$cfg->setConfigEntry('birthday_register_verifier_filter', 'BirthdayVerifierFilter');
-
-// CFG: BIRTHDAY-PROFILE-VERIFIER-FILTER
-$cfg->setConfigEntry('birthday_profile_verifier_filter', 'BirthdayVerifierFilter');
-
-// CFG: REFILL-PAGE-FILTER
-$cfg->setConfigEntry('refill_page_filter', 'RefillPageFilter');
-
-// CFG: REFILL-REQUEST-CURRENCY-BOOK-FILTER
-$cfg->setConfigEntry('refill_request_currency_test_book_filter', 'RefillRequestCurrencyTestBookFilter');
-
-// CFG: PAYMENT-DISCOVERY-FILTER
-$cfg->setConfigEntry('payment_discovery_filter', 'PaymentDiscoveryFilter');
-
-// CFG: GOVERNMENT-PAYS-TRAINING-FILTER
-$cfg->setConfigEntry('government_pays_training_filter', 'ShipSimuGovernmentPaysTrainingFilter');
-
-// CFG: GOVERNMENT-PAYS-STARTUP-HELP-FILTER
-$cfg->setConfigEntry('government_pays_startup_help_filter', 'ShipSimuGovernmentPaysStartupHelpFilter');
-
-// CFG: USER-STATUS-GUEST-FILTER
-$cfg->setConfigEntry('user_status_guest_filter', 'ShipSimuUserStatusGuestFilter');
-
-// CFG: NEWS-HOME-LIMIT
-$cfg->setConfigEntry('news_home_limit', 10);
-
-// CFG: NEWS-LOGIN-AREA-LIMIT
-$cfg->setConfigEntry('news_login_area_limit', 15);
-
-// CFG: NEWS-GOVERNMENT-FAILED-LIMIT
-$cfg->setConfigEntry('news_government_failed_limit', 15);
-
-// CFG: LOGIN-ENABLED
-$cfg->setConfigEntry('login_enabled', 'Y');
-
-// CFG: CONFIRM-EMAIL-ENABLED
-$cfg->setConfigEntry('confirm_email_enabled', 'Y');
-
-// CFG: LOGIN-DISABLED-REASON
-$cfg->setConfigEntry('login_disabled_reason', 'Loginbereich befindet sich noch im Aufbau.');
-
-// CFG: LOGIN-TYPE
-$cfg->setConfigEntry('login_type', 'username'); // username, email, both
-
-// CFG: EMAIL-CHANGE-ALLOWED
-$cfg->setConfigEntry('email_change_allowed', 'Y');
-
-// CFG: EMAIL-CHANGE-CONFIRMATION
-$cfg->setConfigEntry('email_change_confirmation', 'Y');
-
-// CFG: GUEST-LOGIN-ALLOWED
-$cfg->setConfigEntry('guest_login_allowed', 'Y');
-
-// CFG: GUEST-LOGIN-USERNAME
-$cfg->setConfigEntry('guest_login_user', 'guest');
-
-// CFG: GUEST-LOGIN-PASS
-$cfg->setConfigEntry('guest_login_passwd', 'guest');
-
-// CFG: LOGIN-WELCOME-ACTION-CLASS
-$cfg->setConfigEntry('login_welcome_action_class', 'ShipSimuLoginAction');
-
-// CFG: LOGIN-LOGOUT-ACTION-CLASS
-$cfg->setConfigEntry('login_logout_action_class', 'ShipSimuLogoutAction');
-
-// CFG: LOGIN-PROFILE-ACTION-CLASS
-$cfg->setConfigEntry('login_profile_action_class', 'ShipSimuProfileAction');
-
-// CFG: SHIPSIMU-REGISTER-CAPTCHA
-$cfg->setConfigEntry('shipsimu_register_captcha', 'GraphicalCodeCaptcha');
-
-// CFG: SHIPSIMU-USER-LOGIN-CAPTCHA
-$cfg->setConfigEntry('shipsimu_user_login_captcha', 'GraphicalCodeCaptcha');
-
-// CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA
-$cfg->setConfigEntry('shipsimu_guest_login_captcha', 'GraphicalCodeCaptcha');
-
-// CFG: SHIPSIMU-PROFILE-CAPTCHA
-$cfg->setConfigEntry('shipsimu_profile_captcha', 'GraphicalCodeCaptcha');
-
-// CFG: SHIPSIMU-REFILL-CAPTCHA
-$cfg->setConfigEntry('shipsimu_refill_captcha', 'GraphicalCodeCaptcha');
-
-// CFG: SHIPSIMU-GOVERNMENT-STARTUP-CAPTCHA
-$cfg->setConfigEntry('shipsimu_government_startup_captcha', 'GraphicalCodeCaptcha');
-
-// CFG: SHIPSIMU-GOVERNMENT-TRAINING-CAPTCHA
-$cfg->setConfigEntry('shipsimu_government_training_captcha', 'GraphicalCodeCaptcha');
-
-// CFG: CAPTCHA-STRING-LENGTH
-$cfg->setConfigEntry('captcha_string_length', 5);
-
-// CFG: CAPTCHA-SEARCH-CHARS
-$cfg->setConfigEntry('captcha_search_chars', '+/=');
-
-// CFG: RANDOM-STRING-LENGTH
-$cfg->setConfigEntry('random_string_length', 100);
-
-// CFG: SHIPSIMU-REGISTER-CAPTCHA-SECURED
-$cfg->setConfigEntry('shipsimu_register_captcha_secured', 'Y');
-
-// CFG: SHIPSIMU-USER-LOGIN-CAPTCHA-SECURED
-$cfg->setConfigEntry('shipsimu_user_login_captcha_secured', 'Y');
-
-// CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA-SECURED
-$cfg->setConfigEntry('shipsimu_guest_login_captcha_secured', 'Y');
-
-// CFG: SHIPSIMU-PROFILE-CAPTCHA-SECURED
-$cfg->setConfigEntry('shipsimu_profile_captcha_secured', 'Y');
-
-// CFG: SHIPSIMU-REFILL-CAPTCHA-SECURED
-$cfg->setConfigEntry('shipsimu_refill_captcha_secured', 'Y');
-
-// CFG: SHIPSIMU-GOVERNMENT-STARTUP-CAPTCHA-SECURED
-$cfg->setConfigEntry('shipsimu_government_startup_captcha_secured', 'Y');
-
-// CFG: SHIPSIMU-GOVERNMENT-TRAINING-CAPTCHA-SECURED
-$cfg->setConfigEntry('shipsimu_government_training_captcha_secured', 'Y');
-
-// CFG: BLOCK-SHOWS-REGISTRATION
-$cfg->setConfigEntry('block_shows_registration', 'Y');
-
-// CFG: COMPANY-CLASS
-$cfg->setConfigEntry('company_class', 'ShippingCompany');
-
-// CFG: COMPANY-DB-WRAPPER-CLASS
-$cfg->setConfigEntry('company_db_wrapper_class', 'CompanyDatabaseWrapper');
-
-// CFG: USER-POINTS-DB-WRAPPER-CLASS
-$cfg->setConfigEntry('user_points_db_wrapper_class', 'UserPointsDatabaseWrapper');
-
-// CFG: USER-GOVERNMENT-WRAPPER-CLASS
-$cfg->setConfigEntry('user_gov_wrapper_class', 'UserGovernmentDatabaseWrapper');
-
-// CFG: PAYMENT-DB-WRAPPER-CLASS
-$cfg->setConfigEntry('payment_db_wrapper_class', 'PaymentsDatabaseWrapper');
-
-// CFG EMAIl-TPL-RESEND-LINK
-$cfg->setConfigEntry('email_tpl_resend_link', 'text');
-
-// CFG: MAIL-TEMPLATE-CLASS
-$cfg->setConfigEntry('mail_template_class', 'MailTemplateEngine');
-
-// CFG: IMAGE-TEMPLATE-CLASS
-$cfg->setConfigEntry('image_template_class', 'ImageTemplateEngine');
-
-// CFG: MENU-TEMPLATE-CLASS
-$cfg->setConfigEntry('menu_template_class', 'MenuTemplateEngine');
-
-// CFG: MENU-TEMPLATE-EXTENSION
-$cfg->setConfigEntry('menu_template_extension', '.xml');
-
-// CFG: ADMIN-EMAIL
-$cfg->setConfigEntry('admin_email', 'you@some-hoster.invalid');
-
-// CFG: USER-CLASS
-$cfg->setConfigEntry('user_class', 'ShipSimuMember');
-
-// CFG: GUEST-CLASS
-$cfg->setConfigEntry('guest_class', 'ShipSimuGuest');
-
-// CFG: MAX-ALLOWED-COMPANIES-FOUND
-$cfg->setConfigEntry('max_allowed_companies_found', 10);
-
-// CFG: FOUND-NEW-COMPANY-ACTION-POINTS
-$cfg->setConfigEntry('found_new_company_action_points', 1000000);
-
-// CFG: WRITE-APPLICATION-ACTION-POINTS
-$cfg->setConfigEntry('write_applications_action_points', 10000);
-
-// CFG: USER-POINTS-CLASS
-$cfg->setConfigEntry('user_points_class', 'UserPoints');
-
-// CFG: GOVERNMENT-CLASS
-$cfg->setConfigEntry('government_class', 'SimplifiedGovernment');
-
-// CFG: BANK-CLASS
-$cfg->setConfigEntry('bank_class', 'MoneyBank');
-
-// CFG: REFILL-PAGE-ACTIVE
-$cfg->setConfigEntry('refill_page_active', 'Y');
-
-// CFG: REFILL-PAGE-MIN-CURRENCY-AMOUNT
-$cfg->setConfigEntry('refill_page_min_currency_amount', 1000);
-
-// CFG: SHIP-SIMU-LOGIN-FILL-PAYMENT-DISCOVERY
-$cfg->setConfigEntry('ship_simu_login_refill_payment_discovery', 'LocalPaymentDiscovery');
-
-// CFG: GOVERNMENT-STARTUP-HELP-LIMIT
-$cfg->setConfigEntry('government_startup_help_limit', 3);
-
-// CFG: GOVERNMENT-TRAINING-LIMIT
-$cfg->setConfigEntry('government_training_limit', 2);
-
-// CFG: WEB-BLOCK-HELPER
-$cfg->setConfigEntry('web_block_helper', 'WebBlockHelper');
-
-// CFG: WEB-FORM-HELPER
-$cfg->setConfigEntry('web_form_helper', 'WebFormHelper');
-
-// CFG: WEB-LINK-HELPER
-$cfg->setConfigEntry('web_link_helper', 'WebLinkHelper');
-
-// CFG: WEB-CMD-GOVERNMENT-FAILED-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_government_failed_resolver_class', 'WebGovernmentFailedCommandResolver');
-
-// CFG: WEB-CMD-LOGIN-FAILED-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_login_failed_resolver_class', 'WebCommandResolver');
-
-// CFG: WEB-CMD-COMPANY-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_company_resolver_class', 'WebCompanyCommandResolver');
-
-// CFG: WEB-CMD-HOME-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver');
-
-// CFG: WEB-CMD-REGISTER-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_register_resolver_class', 'WebCommandResolver');
-
-// CFG: WEB-CMD-DO-FORM-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_do_form_resolver_class', 'WebCommandResolver');
-
-// CFG: WEB-CMD-LOGIN-AREA-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_login_area_resolver_class', 'WebCommandResolver');
-
-// CFG: WEB-CMD-CONFIRM-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_confirm_resolver_class', 'WebCommandResolver');
-
-// CFG: WEB-CMD-PROBLEM-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_problem_resolver_class', 'WebCommandResolver');
-
-// CFG: WEB-CMD-LOGOUT-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_logout_resolver_class', 'WebCommandResolver');
-
-// CFG: WEB-CMD-LOGOUT-DONE-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_logout_done_resolver_class', 'WebCommandResolver');
-
-// CFG: REFILL-REQUEST-CURRENCY-PAYMENT-TYPE
-$cfg->setConfigEntry('refill_request_currency_payment_type', 'test');
-
-// CFG: LOGIN-REGISTER-LOGIN-FORM
-$cfg->setConfigEntry('login_register_login_form', 'index.php?app={?app_short_name?}&amp;page=register');
-
-// CFG: HOME-MENU-CLASS
-$cfg->setConfigEntry('home_menu_class', 'ShipSimuHomeMenu');
-
-// CFG: LOGIN-FAILED-MENU-CLASS
-$cfg->setConfigEntry('login_failed_menu_class', 'ShipSimuLoginFailedMenu');
-
-// CFG: STATUS-MENU-CLASS
-$cfg->setConfigEntry('status_menu_class', 'ShipSimuStatusMenu');
-
-// CFG: LOGIN-MENU-CLASS
-$cfg->setConfigEntry('login_menu_class', 'ShipSimuLoginMenu');
-
-// CFG: LOGOUT-MENU-CLASS
-$cfg->setConfigEntry('logout_menu_class', 'ShipSimuLogoutMenu');
-
-// CFG: REGISTER-MENU-CLASS
-$cfg->setConfigEntry('register_menu_class', 'ShipSimuRegisterMenu');
-
-// CFG: CONFIRM-MENU-CLASS
-$cfg->setConfigEntry('confirm_menu_class', 'ShipSimuConfirmMenu');
-
-// CFG: LOGIN-AREA-MENU-CLASS
-$cfg->setConfigEntry('login_area_menu_class', 'ShipSimuLoginAreaMenu');
-
-// CFG: GOVERNMENT-FAILED-AREA-MENU-CLASS
-$cfg->setConfigEntry('government_failed_area_menu_class', 'ShipSimuGovernmentFailedAreaMenu');
-
-// CFG: MONEYBANK-ACTIVATED
-$cfg->setConfigEntry('moneybank_activated', 'Y');
-
-// CFG: MONEYBANK-OPENING-CLASS
-$cfg->setConfigEntry('moneybank_opening_class', 'MoneyBankRealtimeOpening');
-
-// [EOF]
-?>
diff --git a/application/ship-simu/data.php b/application/ship-simu/data.php
deleted file mode 100644 (file)
index 07cfe25..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-/**
- * Application data
- *
- * Please remember that this include file is being loaded *before* the class
- * loader is loading classes from "exceptions", "interfaces" and "main"!
- *
- * You can prevent adding this application to the selector by uncommenting the
- * following line:
- *
- * if ((isset($this)) && (is_object($this)) && ($this->isClass("ApplicationSelector"))) { return; }
- *
- * isset() is required to prevent a warning and is_object() is highly required
- * when the application itself is requested in URL (hint: index.php?app=your_app)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-
-// Get config instance
-$cfg = FrameworkConfiguration::getSelfInstance();
-
-// Get an instance of the helper
-$app = call_user_func_array(
-       array($cfg->getConfigEntry('app_helper_class'), 'getSelfInstance'),
-       array()
-);
-
-// Set application name and version
-$app->setAppName("Ship-Simu Shipping Simulator");
-$app->setAppVersion("0.0.0");
-$app->setAppShortName("shipsimu");
-
-// [EOF]
-?>
diff --git a/application/ship-simu/debug.php b/application/ship-simu/debug.php
deleted file mode 100644 (file)
index 11bf631..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php
-/**
- * Some debugging stuff for this application
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-
-// Reederei-Objekt debuggen
-//define('DEBUG_COMPANY_OBJ', true);
-// Hafen-Objekt debuggen
-//define('DEBUG_HARBOR_OBJ', true);
-// Schiff-Objekt debuggen
-//define('DEBUG_SHIP_OBJ', true);
-// Auftrag-Objekt debuggen
-//define('DEBUG_CONTRACT_OBJ', true);
-// Haendler-Objekt debuggen
-//define('DEBUG_MERCHANT_OBJ', true);
-// Personal-Objekt debuggen
-//define('DEBUG_PERSONELL_OBJ', true);
-// Personal debuggen
-//define('DEBUG_PERSONELL', true);
-// Reederei debuggen
-//define('DEBUG_COMPANY', true);
-// Mitarbeiter debuggen
-//define('DEBUG_COMPANY_EMPLOYEE', true);
-// Hafen debuggen
-//define('DEBUG_HARBOR', true);
-// Werft debuggen
-//define('DEBUG_SHIPYARD', true);
-// Schiff debuggen
-//define('DEBUG_SHIP', true);
-// Schiffstruktur debuggen
-//define('DEBUG_STRUCTURE', true);
-// Kabinen debuggen
-//define('DEBUG_CABIN', true);
-// Decks debuggen
-//define('DEBUG_DECK', true);
-// Bauauftraege debuggen
-//define('DEBUG_CONTRACT', true);
-// Haendler debuggen
-//define('DEBUG_MERCHANT', true);
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions.php b/application/ship-simu/exceptions.php
deleted file mode 100644 (file)
index d9cc8d9..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<?php
-/**
- * The exception handler for this application
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-
-// Our own exception handler
-function __exceptionHandler (FrameworkException $e) {
-       // Call the app_die() method
-       ApplicationEntryPoint::app_die(sprintf("[Main:] The application <span class=\"app_name\">%s</span> (<span class=\"app_short_name\">%s</span>) has terminated due to an uncaught exception: <span class=\"exception_name\">%s</span> <span class=\"exception_number\">[%s]</span>: <span class=\"debug_exception\">%s</span> Backtrace: <div class=\"debug_backtrace\">%s</div>",
-               ApplicationHelper::getSelfInstance()->getAppName(),
-               ApplicationHelper::getSelfInstance()->getAppShortName(),
-               $e->__toString(),
-               $e->getHexCode(),
-               $e->getMessage(),
-               $e->getPrintableBackTrace()
-       ),
-               $e->getHexCode(),
-               $e->getExtraData()
-       );
-} // END - function
-
-// Set the new handler
-set_exception_handler('__exceptionHandler');
-
-// Error handler
-function __errorHandler ($errno, $errstr, $errfile, $errline, array $errcontext) {
-       // Construct the message
-       $message = sprintf("File: <span class=\"debug_file\">%s</span>, Line: <span class=\"debug_line\">%s</span>, Code: <span class=\"debug_code\">%s</span>, Message: <span class=\"debug_message\">%s</span>",
-               basename($errfile),
-               $errline,
-               $errno,
-               $errstr
-       );
-
-       // Throw an exception here
-       throw new FatalErrorException($message, BaseFrameworkSystem::EXCEPTION_FATAL_ERROR);
-} // END - function
-
-// Set error handler
-set_error_handler('__errorHandler');
-
-// Assertion handler
-function __assertHandler ($file, $line, $code) {
-       // Empty code?
-       if ($code === "") $code = "<em>Unknown</em>";
-
-       // Create message
-       $message = sprintf("File: <span class=\"debug_file\">%s</span>, Line: <span class=\"debug_line\">%s</span>, Code: <span class=\"debug_code\">%s</span>",
-               basename($file),
-               $line,
-               $code
-       );
-
-       // Throw an exception here
-       throw new AssertionException($message, BaseFrameworkSystem::EXCEPTION_ASSERTION_FAILED);
-} // END - function
-
-// Init assert handling
-assert_options(ASSERT_ACTIVE,     1);
-assert_options(ASSERT_WARNING,    0);
-assert_options(ASSERT_BAIL,       0);
-assert_options(ASSERT_QUIET_EVAL, 0);
-assert_options(ASSERT_CALLBACK,   '__assertHandler');
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/.htaccess b/application/ship-simu/exceptions/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/exceptions/class_BirthdayInvalidException.php b/application/ship-simu/exceptions/class_BirthdayInvalidException.php
deleted file mode 100644 (file)
index ed8e189..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-/**
- * An exception for invalid birthdays (like 13-01-2008)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class BirthdayInvalidException extends FrameworkException {
-       public function __construct (array $birthArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("Das Geburtsdatum <span class=\"exception_reason\">%s</span> ist leider falsch.",
-                       date("d.m.Y", mktime(
-                               0, 0, 0,
-                               $birthArray[1],
-                               $birthArray[2],
-                               $birthArray[0]
-                       ))
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_CabinShipMismatchException.php b/application/ship-simu/exceptions/class_CabinShipMismatchException.php
deleted file mode 100644 (file)
index 6b9120b..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * An exception for cabins which doesn't match the ship (why?)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class CabinShipMismatchException extends FrameworkException {
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_ContractAllreadySignedException.php b/application/ship-simu/exceptions/class_ContractAllreadySignedException.php
deleted file mode 100644 (file)
index fc17f64..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/**
- * An exception thrown when the contract we want to sign is already signed
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ContractAllreadySignedException extends FrameworkException {
-       public function __construct (array $classArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Die Vertragsparteien <span class=\"exception_reason\">%s</span> und <span class=\"exception_reason\">%s</span> haben den Vertrag bereits unterzeichnet!",
-                       $classArray[0]->__toString(),
-                       $classArray[1]->getCompanyName(),
-                       $classArray[2]->getCompanyName()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_ContractPartnerMismatchException.php b/application/ship-simu/exceptions/class_ContractPartnerMismatchException.php
deleted file mode 100644 (file)
index fce9748..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/**
- * An exception thrown when the contract partner did not match the excepted one
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ContractPartnerMismatchException extends FrameworkException {
-       public function __construct (array $classArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Der Vertragspartner von <span class=\"exception_reason\">%s</span> ist ung&uuml;tig (<span class=\"exception_reason\">%s</span>) und darf diesen Vertrag nicht unterzeichnen!",
-                       $classArray[0]->__toString(),
-                       $classArray[1]->getCompanyName(),
-                       $classArray[2]->getCompanyName()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_DeckShipMismatchException.php b/application/ship-simu/exceptions/class_DeckShipMismatchException.php
deleted file mode 100644 (file)
index 937cd6e..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * An exception thrown when the deck mismatches the ship (why?)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class DeckShipMismatchException extends FrameworkException {
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_EmptyStructuresListException.php b/application/ship-simu/exceptions/class_EmptyStructuresListException.php
deleted file mode 100644 (file)
index 9c1eee2..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * An exception thrown when the structure list is empty
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class EmptyStructuresListException extends FrameworkException {
-       public function __construct (FrameworkInterface $class, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Die Strukturen-Liste ist leer.",
-                       $class->__toString()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_InvalidContractPartnerException.php b/application/ship-simu/exceptions/class_InvalidContractPartnerException.php
deleted file mode 100644 (file)
index 8f4823e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * An exception thrown when the contract partner is invalid
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class InvalidContractPartnerException extends FrameworkException {
-       public function __construct (FrameworkInterface $class, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Kein g&uuml;tiger Vertragspartner.",
-                       $class->__toString()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_InvalidIDFormatException.php b/application/ship-simu/exceptions/class_InvalidIDFormatException.php
deleted file mode 100644 (file)
index 78e2e00..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * An exception thrown when the format of the id number is invalid
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class InvalidIDFormatException extends FrameworkException {
-       public function __construct (FrameworkInterface $class, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Ung&uuml;ltige ID-Nummer &uuml;bergeben.",
-                       $class->__toString()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_ItemNotInPriceListException.php b/application/ship-simu/exceptions/class_ItemNotInPriceListException.php
deleted file mode 100644 (file)
index 0013e92..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * An exception thrown when the requested item is not in pricing list
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ItemNotInPriceListException extends FrameworkException {
-       public function __construct (FrameworkInterface $class, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[Merchant:] Preis f&uuml;r den Artikel <span class=\"exception_reason\">%s</span> nicht gefunden.",
-                       $class->__toString()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_ItemNotTradeableException.php b/application/ship-simu/exceptions/class_ItemNotTradeableException.php
deleted file mode 100644 (file)
index 074f17e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * An exception thrown when an item is not tradeable (maybe unneccessary)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ItemNotTradeableException extends FrameworkException {
-       public function __construct (array $classArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Object not tradeable.",
-                       $classArray[0]->__toString()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_MissingSimulatorIdException.php b/application/ship-simu/exceptions/class_MissingSimulatorIdException.php
deleted file mode 100644 (file)
index 09a55f3..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/**
- * An exception thrown when the provided simulator id is invalid
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class MissingSimulatorIdException extends FrameworkException {
-       public function __construct (array $classArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Die Simulator-ID <span class=\"exception_reason\">%s</span> scheint ung&uuml;ltig zu sein.",
-                       $classArray[0]->__toString(),
-                       $classArray[1]
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_MotorShipMismatchException.php b/application/ship-simu/exceptions/class_MotorShipMismatchException.php
deleted file mode 100644 (file)
index 7e688c2..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * An exception thrown when the motor does not match the ship (why?)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class MotorShipMismatchException extends FrameworkException {
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_NoShippingCompanyOwnedException.php b/application/ship-simu/exceptions/class_NoShippingCompanyOwnedException.php
deleted file mode 100644 (file)
index 848362e..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-/**
- * An exception thrown when a user owns no shipping companies
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class NoShippingCompanyOwnedException extends FrameworkException {
-       /**
-        * Constructor of this exception
-        *
-        * @param       $msgArray       Message array with exception data
-        * @param       $code           Exception code
-        * @return      void
-        */
-       public function __construct (array $msgArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:%d] Current user (class <span class=\"exception_reason\">%s</span>) does not own any shipping companies.",
-                       $msgArray[0]->__toString(),
-                       $this->getLine(),
-                       $msgArray[1]->__toString()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_NoShipyardsConstructedException.php b/application/ship-simu/exceptions/class_NoShipyardsConstructedException.php
deleted file mode 100644 (file)
index 52cf913..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-/**
- * An exception thrown when there are no shipyards constructed yet.
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class NoShipyardsConstructedException extends FrameworkException {
-       public function __construct (FrameworkInterface $class, $code) {
-               // No class given
-               $message = sprintf("Please provide a class for <span class=\"exception_reason\">%s</span>", __CLASS__);
-               if (is_object($class)) {
-                       // Add a message around the missing class
-                       $message = sprintf("[%s:] Keine Werften gefunden!",
-                               $class->__toString()
-                       );
-               } // END - if
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_PersonellListAlreadyCreatedException.php b/application/ship-simu/exceptions/class_PersonellListAlreadyCreatedException.php
deleted file mode 100644 (file)
index c89dc44..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * An exception thrown when a crew list has already been initialized
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class PersonellListAlreadyCreatedException extends FrameworkException {
-       public function __construct (FrameworkInterface $class, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Die interne Crew-Liste wurde bereits initialisiert.",
-                       $class->__toString()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_RoomShipMismatchException.php b/application/ship-simu/exceptions/class_RoomShipMismatchException.php
deleted file mode 100644 (file)
index d84528c..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * An exception thrown when a room mismatches the ship (why?)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class RoomShipMismatchException extends FrameworkException {
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_ShipNotConstructedException.php b/application/ship-simu/exceptions/class_ShipNotConstructedException.php
deleted file mode 100644 (file)
index 3313c36..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * An exception thrown when a ship is not constructed (yet)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ShipNotConstructedException extends FrameworkException {
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_ShipPartNotConstructableException.php b/application/ship-simu/exceptions/class_ShipPartNotConstructableException.php
deleted file mode 100644 (file)
index 48b4fe7..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * An exception thrown when the ship part is not constructed yet.
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ShipPartNotConstructableException extends FrameworkException {
-       public function __construct (array $partArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("Schiffteil <span class=\"exception_reason\">%s</span> ist nicht constrierbar!",
-                       $partArray[0]
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_StructureShipMismatchException.php b/application/ship-simu/exceptions/class_StructureShipMismatchException.php
deleted file mode 100644 (file)
index 62152e8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * An exception thrown when a structure does not match the ship (why?)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class StructureShipMismatchException extends FrameworkException {
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_StructuresOutOfBoundsException.php b/application/ship-simu/exceptions/class_StructuresOutOfBoundsException.php
deleted file mode 100644 (file)
index 916207f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * An exception thrown when the ship part index is out of bounds
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class StructuresOutOfBoundsException extends FrameworkException {
-       public function __construct ($idx, $code) {
-               // Add a message around the missing class
-               $message = sprintf("Der Index <span class=\"exception_reason\">%s</span> liegt ausserhalb des g&uuml;tigen Bereiches! Schiffsteil nicht auffindbar.", $idx);
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_ToMuchEmployeesException.php b/application/ship-simu/exceptions/class_ToMuchEmployeesException.php
deleted file mode 100644 (file)
index a6bffb0..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/**
- * An exception thrown when to less people are unemployed and cannot be recruited
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ToMuchEmployeesException extends FrameworkException {
-       public function __construct (array $amountArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("<u>%d</u> Leute nicht einstellbar, da nur <u>%d</u> arbeitslos sind!",
-                       $amountArray[0],
-                       $amountArray[1]
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_TotalPriceNotCalculatedException.php b/application/ship-simu/exceptions/class_TotalPriceNotCalculatedException.php
deleted file mode 100644 (file)
index 7aa57ae..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * An exception thrown when the total price was not calculated
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class TotalPriceNotCalculatedException extends FrameworkException {
-       public function __construct (FrameworkInterface $class, $code) {
-               // Add a message around the missing class
-               $message = sprintf("[%s:] Gesamtpreis ist nicht ermittelbar.",
-                       $class->__toString()
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_UnsupportedLimitationPartException.php b/application/ship-simu/exceptions/class_UnsupportedLimitationPartException.php
deleted file mode 100644 (file)
index ee7aa5a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * An exception thrown when the limitation type is not supported
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class UnsupportedLimitationPartException extends FrameworkException {
-       public function __construct ($str, $code) {
-               // Add a message around the missing class
-               $message = sprintf("Limitierungsinformation <span class=\"exception_reason\">%s</span> wird derzeit nicht unterst&uuml;tzt.", $str);
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/exceptions/class_WrongGenderSpecifiedException.php b/application/ship-simu/exceptions/class_WrongGenderSpecifiedException.php
deleted file mode 100644 (file)
index 306a680..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * An exception thrown when a wrong gender was specified
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WrongGenderSpecifiedException extends FrameworkException {
-       public function __construct ($gender, $code) {
-               // Add a message around the missing class
-               $message = sprintf("Das Geschlecht <span class=\"exception_reason\">%s</span> Ist nicht <em>M</em> (M&auml;nnlich) oder <em>F</em> (Weiblich).", $gender);
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/init.php b/application/ship-simu/init.php
deleted file mode 100644 (file)
index d27a1f5..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-/**
- * Application initializer
- *
- * Please remember that this include file is being loaded *before* the class
- * loader is loading classes from "exceptions", "interfaces" and "main"!
- *
- * You can prevent adding this application to the selector by uncommenting the
- * following line:
- *
- * if ((isset($this)) && (is_object($this)) && ($this->isClass("ApplicationSelector"))) { return; }
- *
- * isset() is required to prevent a warning and is_object() is highly required
- * when the application itself is requested in URL (hint: index.php?app=your_app)
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-
-// Get config instance
-$cfg = FrameworkConfiguration::getSelfInstance();
-
-// Initialize output system
-require($cfg->getConfigEntry('base_path') . 'inc/output.php');
-
-// This application needs a database connection then we have to simply include
-// the inc/database.php script
-require($cfg->getConfigEntry('base_path') . 'inc/database.php');
-
-// [EOF]
-?>
diff --git a/application/ship-simu/interfaces/.htaccess b/application/ship-simu/interfaces/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/interfaces/class_BookableAccount.php b/application/ship-simu/interfaces/class_BookableAccount.php
deleted file mode 100644 (file)
index 3f3a575..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * An interface for bookable user accounts
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-interface BookableAccount extends FrameworkInterface {
-       /**
-        * Books the given 'amount' in the request instance on the users "points
-        * account"
-        *
-        * @param       $requestInstance        An instance of a Requestable class
-        * @return      void
-        */
-       function bookAmountDirectly (Requestable $requestInstance);
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/interfaces/class_ConstructableShip.php b/application/ship-simu/interfaces/class_ConstructableShip.php
deleted file mode 100644 (file)
index db76fd5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * An interface for constructable ships
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-interface ConstructableShip extends FrameworkInterface {
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/interfaces/class_ConstructableShipPart.php b/application/ship-simu/interfaces/class_ConstructableShipPart.php
deleted file mode 100644 (file)
index 8135bc3..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * An interface for constructable ship parts
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-interface ConstructableShipPart extends FrameworkInterface {
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/interfaces/class_ContractPartner.php b/application/ship-simu/interfaces/class_ContractPartner.php
deleted file mode 100644 (file)
index 35b4b6d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * An interface for contract partners
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-interface ContractPartner extends FrameworkInterface {
-       /**
-        * This is a contract partner
-        *
-        * @param       $contractInstance       Must be a valid instance of WorksContract
-        * @return      boolean                 true  = can be a contract partner,
-        *                                                      false = no partner for contracts
-        */
-       function isContractPartner (SignableContract $contractInstance);
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/interfaces/class_Customer.php b/application/ship-simu/interfaces/class_Customer.php
deleted file mode 100644 (file)
index 5de5210..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-/**
- * An interface for all customers
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-interface Customer extends FrameworkInterface {
-       /**
-        * Adds a contract to the customer's list
-        *
-        * @param       $contractInstance       A valid instance to WorksContract
-        * @return      void
-        */
-       function addNewWorksContract (SignableContract $contractInstance);
-
-       /**
-        * Signs a works contract.
-        *
-        * @param       $contractInstance       A valid instance to WorksContract
-        * @param       $partnerInstance        An instance the other contract partner
-        * @return      void
-        * @throws      InvalidContractPartnerException         If the in $contractInstance
-        *                                                                              set contract partner is
-        *                                                                              not the expected
-        */
-       function signContract (SignableContract $contractInstance, ContractPartner $partnerInstance);
-
-       /**
-        * Withdraw from a signed contract
-        *
-        * @param       $contractInstance       A valid instance to WorksContract
-        * @return      void
-        */
-       function withdrawFromContract (SignableContract $contractInstance);
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/interfaces/class_Personellizer.php b/application/ship-simu/interfaces/class_Personellizer.php
deleted file mode 100644 (file)
index b56df14..0000000
+++ /dev/null
@@ -1,200 +0,0 @@
-<?php
-/**
- * An interface for all personells
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-interface Personellizer extends FrameworkInterface {
-         ///////////////////////
-        /// General methods ///
-       ///////////////////////
-
-       /**
-        * Remove min/max age
-        *
-        * @return      void
-        */
-       function removeMinMaxAge ();
-
-       /**
-        * Create a valid birthday
-        *
-        * @return void
-        */
-       function createBirthday ();
-
-       /**
-        * Verify if given year/month/day is a valid date combination
-        *
-        * @param               $year   4-digit year (valid  : 2007, 1946,
-        *                                                    invalid: 24, 2a, aa)
-        * @param               $month  1 to 2-digit month (range: 1 to 12)
-        * @param               $day            1 to 2-digit day (range: 1 to 31/30/29/28)
-        * @return      boolean true  = date is valid,
-        *                                      false = date is invalid
-        */
-       function isDateValid ($year, $month, $day);
-
-               /////////////////////////
-        //// Status requests ////
-       /////////////////////////
-
-       /**
-        * Is the person employed?
-        *
-        * @return      boolean true  = person is employed
-        *                                      false = person is umemployed
-        */
-       function isEmployed ();
-
-       /**
-        * Is the person married? (to which one doesn't matter here)
-        *
-        * @return      boolean true  = person is married
-        *                                      false = person is not married
-        */
-       function isMarried ();
-
-       /**
-        * Is the person a male?
-        *
-        * @return      boolean true  = person is male
-        *                                      false = person is not male (maybe female? ;-))
-        */
-       function isMale ();
-
-       /**
-        * Is the person a female?
-        *
-        * @return      boolean true  = person is female
-        *                                      false = person is not female (maybe male? ;-))
-        */
-       function isFemale ();
-
-               /////////////////
-        //// Getters ////
-       /////////////////
-
-       /**
-        * Getter for surname
-        *
-        * @return      $surname        The person's surname
-        */
-       function getSurname ();
-
-       /**
-        * Getter for family name
-        *
-        * @return      $family The person's family name
-        */
-       function getFamily ();
-
-       /**
-        * Getter for gender
-        *
-        * @return      $gender The person's gender (F/M)
-        */
-       function getGender ();
-
-       /**
-        * Getter for salary
-        *
-        * @return      $salary The person's current salary
-        */
-       function getSalary ();
-
-               /////////////////
-        //// Setters ////
-       /////////////////
-
-       /**
-        * Setter for surname
-        *
-        * @param               $surname        The person's new surname as a string
-        * @return      void
-        */
-       function setSurname ($surname);
-
-       /**
-        * Setter for family name
-        *
-        * @param               $family The person's new family name as a string
-        * @return      void
-        */
-       function setFamily ($family);
-
-       /**
-        * Setter for gender. Do not use this so often... ;-)
-        * This method shall only be used when the person is "created"
-        *
-        * @param               $gender The person's new gender as a 1-char string (M/F)
-        * @return      void
-        */
-       function setGender ($gender);
-
-       /**
-        * Setter for employment status
-        *
-        * @param               $employed       The person's new employment stats
-        * @return      void
-        */
-       function setEmployed ($employed);
-
-       /**
-        * Setter for marrital status
-        *
-        * @param               $married        The person's new marrital status
-        * @return      void
-        */
-       function setMarried ($married);
-
-       /**
-        * Setter for a already validated birthday.
-        *
-        * @param               $year   The person's new year-of-birth (4 digits)
-        * @param               $month  The person's new month-of-birth (1 to 2 digits)
-        * @param               $day            The person's new day-of-birth (1 to 2 digits)
-        * @return      void
-        */
-       function setBirthday ($year, $month, $day);
-
-               /////////////////////////////////////
-        //// Methods for changing salary ////
-       /////////////////////////////////////
-
-       /**
-        * Increase person's salary by a specified amount
-        *
-        * @param               $add            Add this float amount to current salary
-        * @return      void
-        */
-       function increaseSalary ($add);
-
-       /**
-        * Decrease person's salary by a specified amount
-        *
-        * @param               $sub            Subtract this float amount to current salary
-        * @return      void
-        */
-       function decreaseSalary ($sub);
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/interfaces/class_SignableContract.php b/application/ship-simu/interfaces/class_SignableContract.php
deleted file mode 100644 (file)
index a8f62ce..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * An interface for signable contracts
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-interface SignableContract extends FrameworkInterface {
-       // Sign the contract
-       function signContract (ContractPartner $partnerInstance, ContractPartner $partyInstance);
-}
-
-// [EOF]
-?>
\ No newline at end of file
diff --git a/application/ship-simu/interfaces/class_TradeableItem.php b/application/ship-simu/interfaces/class_TradeableItem.php
deleted file mode 100644 (file)
index f850be2..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * An interface for tradeable items
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-interface TradeableItem extends FrameworkInterface {
-       /**
-        * Is this item (=object) tradeable?
-        *
-        * @return      boolean true  = is a tradeable object,
-        *                                      false = is not tradeable
-        */
-       function isTradeable ();
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/loader.php b/application/ship-simu/loader.php
deleted file mode 100644 (file)
index d28600b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/**
- * A specialized class loader for this class
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-
-// Get config instance
-$cfg = FrameworkConfiguration::getSelfInstance();
-
-// Load all classes for the application
-foreach ($lowerClasses as $className) {
-       // Load the application classes
-       ClassLoader::getSelfInstance()->scanClassPath(sprintf("%s/%s/%s", $cfg->getConfigEntry('application_path'), $cfg->getConfigEntry('app_name'), $className));
-} // END - if
-
-// Clean up the global namespace
-unset($lowerClasses);
-unset($className);
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/.htaccess b/application/ship-simu/main/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/main/actions/.htaccess b/application/ship-simu/main/actions/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/main/actions/class_ b/application/ship-simu/main/actions/class_
deleted file mode 100644 (file)
index d84fab7..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php
-/**
- * 
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu 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 <http://www.gnu.org/licenses/>.
- */
-class ???Action extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public final static function create???Action (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new ???Action();
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here
-               $this->partialStub("You have to implement me.");
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Call parent addExtraFilters method
-               parent::addExtraFilters($controllerInstance, $requestInstance);
-
-               // Unfinished method
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/class_BaseShipSimuAction.php b/application/ship-simu/main/actions/class_BaseShipSimuAction.php
deleted file mode 100644 (file)
index 41dcce0..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-/**
- * A general action class for blog
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class BaseShipSimuAction extends BaseAction {
-       /**
-        * Protected constructor
-        *
-        * @param       $className      Name of the class
-        * @return      void
-        */
-       protected function __construct ($className) {
-               // Call parent constructor
-               parent::__construct($className);
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       protected function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Add code here executed with every action
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Unfinished method
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/ship-simu/.htaccess b/application/ship-simu/main/actions/ship-simu/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php b/application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php
deleted file mode 100644 (file)
index 2fbee37..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-/**
- * An action class for the login welcome page
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ShipSimuLoginAction extends BaseShipSimuAction implements PerformableAction {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createShipSimuLoginAction () {
-               // Get a new instance
-               $actionInstance = new ShipSimuLoginAction();
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        Maybe we need to do something later here
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/ship-simu/class_ShipSimuProfileAction.php b/application/ship-simu/main/actions/ship-simu/class_ShipSimuProfileAction.php
deleted file mode 100644 (file)
index 56090bf..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-/**
- * An action class for the profile page
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class ShipSimuProfileAction extends BaseShipSimuAction implements PerformableAction {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createShipSimuProfileAction () {
-               // Get a new instance
-               $actionInstance = new ShipSimuProfileAction();
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        Maybe we need to do something later here
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here...
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/.htaccess b/application/ship-simu/main/actions/web/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLogin b/application/ship-simu/main/actions/web/class_WebShipSimuLogin
deleted file mode 100644 (file)
index d60f442..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php
-/**
- * An action for 
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu 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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLogin???Action extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public final static function createWebShipSimuLogin???Action (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLogin???Action();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Execute parent method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLoginCompanyAction.php b/application/ship-simu/main/actions/web/class_WebShipSimuLoginCompanyAction.php
deleted file mode 100644 (file)
index 842d6cb..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php
-/**
- * An action for shipping company page
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLoginCompanyAction extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createWebShipSimuLoginCompanyAction (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLoginCompanyAction();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        Maybe add fetching company list of current user here?
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here...
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some more filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php b/application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php
deleted file mode 100644 (file)
index fa62481..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<?php
-/**
- * An action for government startup help form
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLoginGovernmentStartupHelpAction extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createWebShipSimuLoginGovernmentStartupHelpAction (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLoginGovernmentStartupHelpAction();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here...
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
-
-               // Check if government can pay startup help
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_startup_help_filter'));
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentTrainingAction.php b/application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentTrainingAction.php
deleted file mode 100644 (file)
index fcbc711..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<?php
-/**
- * An action for trainings payed by government
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLoginGovernmentTrainingAction extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createWebShipSimuLoginGovernmentTrainingAction (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLoginGovernmentTrainingAction();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here...
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some more filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
-
-               // Check if government can pay a training
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_training_filter'));
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLoginLogoutAction.php b/application/ship-simu/main/actions/web/class_WebShipSimuLoginLogoutAction.php
deleted file mode 100644 (file)
index 9b066a9..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<?php
-/**
- * An action for logout
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLoginLogoutAction extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createWebShipSimuLoginLogoutAction (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLoginLogoutAction();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLoginProfileAction.php b/application/ship-simu/main/actions/web/class_WebShipSimuLoginProfileAction.php
deleted file mode 100644 (file)
index 58d6745..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php
-/**
- * An action for profile (editing) page
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLoginProfileAction extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createWebShipSimuLoginProfileAction (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLoginProfileAction();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here...
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLoginRefillAction.php b/application/ship-simu/main/actions/web/class_WebShipSimuLoginRefillAction.php
deleted file mode 100644 (file)
index 31c7337..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<?php
-/**
- * An action for money refill page
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLoginRefillAction extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createWebShipSimuLoginRefillAction (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLoginRefillAction();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here...
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
-
-               // Is the refill page active?
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('refill_page_filter'));
-
-               // Add payment discovery filter
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('payment_discovery_filter', array($this)));
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLoginStatusProblemAction.php b/application/ship-simu/main/actions/web/class_WebShipSimuLoginStatusProblemAction.php
deleted file mode 100644 (file)
index 8b26b8f..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php
-/**
- * An action for 
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLoginStatusProblemAction extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createWebShipSimuLoginStatusProblemAction (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLoginStatusProblemAction();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/actions/web/class_WebShipSimuLoginWelcomeAction.php b/application/ship-simu/main/actions/web/class_WebShipSimuLoginWelcomeAction.php
deleted file mode 100644 (file)
index d839bd1..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<?php
-/**
- * An action for the welcome page
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class WebShipSimuLoginWelcomeAction extends BaseShipSimuAction implements Commandable, Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this action
-        *
-        * @param       $resolverInstance       An instance of an action resolver
-        * @return      $actionInstance         An instance of this action class
-        */
-       public static final function createWebShipSimuLoginWelcomeAction (ActionResolver $resolverInstance) {
-               // Get a new instance
-               $actionInstance = new WebShipSimuLoginWelcomeAction();
-
-               // Set the resolver instance
-               $actionInstance->setResolverInstance($resolverInstance);
-
-               // Return the instance
-               return $actionInstance;
-       }
-
-       /**
-        * Executes the command with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        * @todo        0% done
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Call parent execute method
-               parent::execute($requestInstance, $responseInstance);
-
-               // Add your code here...
-       }
-
-       /**
-        * Adds extra filters to the given controller instance
-        *
-        * @param       $controllerInstance             A controller instance
-        * @param       $requestInstance                An instance of a class with an Requestable interface
-        * @return      void
-        * @todo        Add some filters here
-        */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Unfinished method
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/bank/.htaccess b/application/ship-simu/main/bank/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/ship-simu/main/bank/class_BaseBank.php b/application/ship-simu/main/bank/class_BaseBank.php
deleted file mode 100644 (file)
index 21ae0d5..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-/**
- * A general bank class
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.org
- * @todo               Find an instance for all banks and move the abstract functions there
- *
- * 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 <http://www.gnu.org/licenses/>.
- */
-abstract class BaseBank extends BaseFrameworkSystem {
-       /**
-        * Protected constructor
-        *
-        * @param       $className      The class' real name
-        * @return      void
-        */
-       protected function __construct ($className) {
-               // Call parent constructor
-               parent::__construct($className);
-       }
-
-       /**
-        * Checks wether the bank lends more money to the current user
-        *
-        * @return      $lendsMoreMoney         Wether this bank lends more money to the user
-        */
-       public abstract function ifBankLendsMoreMoney ();
-
-       /**
-        * Checks wethert the current user has maximum allowed credits with this bank
-        *
-        * @return      $hasMaximumCredits      Wether the user has maximum allowed credits
-        */
-       public abstract function ifUserHasMaxCredits ();
-
-       /**
-        * Checks wether this money bank has opened
-        *
-        * @return      $hasOpened      Wether this money bank has opened
-        */
-       public abstract function ifMoneyBankHasOpened ();
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/bank/money/class_MoneyBank.php b/application/ship-simu/main/bank/money/class_MoneyBank.php
deleted file mode 100644 (file)
index 11d4d9e..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-<?php
-/**
- * A money bank which may lend points to the user
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class MoneyBank extends BaseBank implements Registerable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this money bank class
-        *
-        * @param       $userInstance   A class instance of a user object
-        * @return      $bankInstance   An instance of this class
-        */
-       public static final function createMoneyBank (ManageableAccount $userInstance) {
-               // Get a new instance
-               $moneyInstance = new MoneyBank();
-
-               // Set the user instance
-               $moneyInstance->setUserInstance($userInstance);
-
-               // Return the prepared instance
-               return $moneyInstance;
-       }
-
-       /**
-        * Checks wether the bank lends more money to the current user
-        *
-        * @return      $lendsMoreMoney         Wether this bank lends more money to the user
-        */
-       public function ifBankLendsMoreMoney () {
-               $this->partialStub();
-       }
-
-       /**
-        * Checks wethert the current user has maximum allowed credits with this bank
-        *
-        * @return      $hasMaximumCredits      Wether the user has maximum allowed credits
-        */
-       public function ifUserHasMaxCredits () {
-               $this->partialStub();
-       }
-
-       /**
-        * Checks wether this money bank has opened
-        *
-        * @return      $hasOpened      Wether this money bank has opened
-        */
-       public function ifMoneyBankHasOpened () {
-               // Has not opened by default
-               $hasOpened = false;
-
-               // Is the money bank activated in config?
-               if ($this->getConfigInstance()->getConfigEntry('moneybank_activated')) {
-                       // Okay, does the user ask within the opening times? To find this out we need a OpeningTimes class
-                       $openingInstance = ObjectFactory::createObjectByConfiguredName('moneybank_opening_class', array($this));
-
-                       // Then we simply "ask" the opening time instance if the user asks within the opening time
-                       $hasOpened = $openingInstance->ifWithinOpeningTimes();
-               } // END - if
-
-               // Return status
-               return $hasOpened;
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/class_ b/application/ship-simu/main/class_
deleted file mode 100644 (file)
index 956f6c5..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-/**
- * 
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu 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 <http://www.gnu.org/licenses/>.
- */
-class ??? extends BaseFrameworkSystem {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this money bank class
-        *
-        * @return      $???Instance    An instance of this class
-        */
-       public final static function create??? () {
-               // Get a new instance
-               $???Instance = new ???();
-
-               // Return the prepared instance
-               return $???Instance;
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/class_BasePersonell.php b/application/ship-simu/main/class_BasePersonell.php
deleted file mode 100644 (file)
index 8e08ec3..0000000
+++ /dev/null
@@ -1,246 +0,0 @@
-<?php
-/**
- * A general class for personell
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class BasePersonell extends BaseFrameworkSystem implements Personellizer {
-       // Maximum/minimum age
-       private $MIN_AGE = 21;
-       private $MAX_AGE = 40;
-
-       // Male/female
-       private $gender     = ""; // M=Male, F=Female, empty=uninitialized
-
-       // Year/month/day of birth
-       private $yearBirth  = 0;
-       private $monthBirth = 0;
-       private $dayBirth   = 0;
-
-       // Surname/family name
-       private $surname    = "";
-       private $family     = "";
-
-       // Employed?
-       private $employed   = false;
-
-       // Married?
-       private $married    = false;
-
-       // Her/his salary
-       private $salary     = 0.00;
-
-       // Constructor
-       protected function __construct ($className) {
-               // Call parent constructor
-               parent::__construct($className);
-       }
-
-       // Remove min/max ages
-       public final function removeMinMaxAge () {
-               unset($this->MIN_AGE);
-               unset($this->MAX_AGE);
-       }
-
-       // Generates a birthday based on MAX_AGE/MIN_AGE and the current date
-       public final function createBirthday () {
-               // Is the birthday already set?
-               if ($this->isDateValid($this->yearBirth, $this->monthBirth, $this->dayBirth)) return false;
-
-               // Get current year
-               $currYear = date("Y", time());
-
-               // Generate random year/month/day
-               $year = mt_rand(($currYear - $this->MIN_AGE), ($currYear - $this->MAX_AGE));
-               $month = 0;
-               $day = 0;
-               while ($this->isDateValid($year, $month, $day) === false) {
-                       $month = mt_rand(1, 12);
-                       switch ($month) {
-                       case 1:
-                       case 3:
-                       case 5:
-                       case 7:
-                       case 8:
-                       case 10:
-                       case 12:
-                               $day   = mt_rand(1, 31);
-                               break;
-
-                       case 4:
-                       case 6:
-                       case 9:
-                       case 11:
-                               $day   = mt_rand(1, 30);
-                               break;
-
-                       case 2: // February
-                               if ($year % 4 == 0) {
-                                       // Is a "Schaltjahr"
-                                       $day = mt_rand(1, 29);
-                               } else {
-                                       // Regular year
-                                       $day = mt_rand(1, 28);
-                               }
-                               break;
-                       } // END - switch
-               } // END - while
-
-               // Set the new birthday
-               $this->setBirthday($year, $month, $day);
-       }
-
-       // Is the current day valid?
-       public final function isDateValid ($year, $month, $day) {
-               // Create timestamp
-               $stamp = mktime(0, 0, 0, $month, $day, $year);
-
-               // Get year/month/day back
-               $y = date("Y", $stamp);
-               $m = date("m", $stamp);
-               $d = date("d", $stamp);
-
-               // Compare all
-               return (($y == $year) && ($m == $month) && ($d == $day));
-       }
-
-       // Employed?
-       public final function isEmployed () {
-               return $this->employed;
-       }
-
-       // Married?
-       public final function isMarried () {
-               return $this->married;
-       }
-
-       // Male?
-       public final function isMale () {
-               return ($this->gender == "M");
-       }
-
-       // Female
-       public final function isFemale () {
-               return ($this->gender == "F");
-       }
-
-       // Setter for surname
-       public final function setSurname ($surname) {
-               $this->surname = (string) $surname;
-       }
-
-       // Getter for surname
-       public function getSurname () {
-               return $this->surname;
-       }
-
-       // Setter for family name
-       public final function setFamily ($family) {
-               $this->family = (string) $family;
-       }
-
-       // Getter for family name
-       public final function getFamily () {
-               return $this->family;
-       }
-
-       // Setter for gender
-       public final function setGender ($gender) {
-               // Set random gender here
-               if (($gender == "M") || ($gender == "F") || ((empty($gender)) && ($this->getSurname() == ""))) {
-                       $this->gender = $gender;
-               } else {
-                       throw new WrongGenderSpecifiedException($gender, self::EXCEPTION_GENDER_IS_WRONG);
-               }
-       }
-
-       // Getter for gender
-       public final function getGender () {
-               return $this->gender;
-       }
-
-       // Setter for employment status
-       public final function setEmployed ($employed) {
-               $this->employed = (boolean) $employed;
-       }
-
-       // Setter for marriage status
-       public final function setMarried ($married) {
-               $this->married = (boolean) $married;
-       }
-
-       // Getter for salary
-       public final function getSalary () {
-               return $this->salary;
-       }
-
-       // Increase salary
-       public final function increaseSalary ($add) {
-               $this->salary += (float) abs($add);
-       }
-
-       // Decrease salary
-       public final function decreaseSalary ($sub) {
-               $this->salary -= (float) abs($sub);
-       }
-
-       // Setter for birthday
-       public final function setBirthday ($year, $month, $day) {
-               $this->yearBirth  = (int) abs($year);
-               $this->monthBirth = (int) abs($month);
-               $this->dayBirth   = (int) abs($day);
-       }
-
-       // Remove gender
-       public final function removeGender () {
-               unset($this->gender);
-       }
-
-       // Remove both names
-       public final function removeNames () {
-               unset($this->surname);
-               unset($this->family);
-       }
-
-       // Remove complete birthday
-       public final function removeBirthday () {
-               unset($this->yearBirth);
-               unset($this->monthBirth);
-               unset($this->dayBirth);
-       }
-
-       // Remove salary
-       public final function removeSalary () {
-               unset($this->salary);
-       }
-
-       // Remove employment status
-       public final function removeEmployed () {
-               unset($this->employed);
-       }
-
-       // Remove marrital status
-       public final function removeMarried () {
-               unset($this->married);
-       }
-}
-
-// [EOF]
-?>
diff --git a/application/ship-simu/main/class_BaseSimulator.php b/application/ship-simu/main/class_BaseSimulator.php
deleted file mode 100644 (file)
index e460013..0000000
+++ /dev/null
@@ -1,302 +0,0 @@
-<?php
-/**
- * The general simulator class
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.shipsimu.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 <http://www.gnu.org/licenses/>.
- */
-class BaseSimulator extends BaseFrameworkSystem {
-       // Schiffsteilinstanz
-       private $partInstance = null;
-
-       // Abmasse (Breite/Hoehe/Laenge)
-       private $width  = 0;
-       private $height = 0;
-       private $length = 0;
-
-       // Aktuelles Schiff und Schiffsteil
-       private $currShip = null;
-       private $currPart = null;
-
-       // Faktoren zur Erweiterung der Masse. Beispielsweise soll der Maschinenraum groesser wie der Motor sein
-       private $resizeFactorArray = array(
-               'width'  => 1,
-               'height' => 1,
-               'length' => 1
-       );
-
-       // Konstruktor
-       protected function __construct ($className) {
-               // Call highest constructor
-               parent::__construct($className);
-
-               // Clean up a little, dies sollte ganz zum Schluss erfolgen!
-               $this->removeResizeFactorArray();
-               $this->removeCurrPart();
-               $this->removeCurrShip();
-       }
-
-       // Setter-Methode fuer Laenge
-       public final function setLength ($length) {
-               $this->length = (float) $length;
-       }
-
-       // Setter-Methode fuer Breite
-       public final function setWidth ($width) {
-               $this->width = (float) $width;
-       }
-
-       // Setter-Methode fuer Hoehe
-       public final function setHeight ($height) {
-               $this->height = (float) $height;
-       }
-
-       // Getter-Methode fuer Laenge
-       public final function getLength () {
-               return $this->length;
-       }
-
-       // Getter-Methode fuer Breite
-       public final function getWidth () {
-               return $this->width;
-       }
-
-       // Getter-Methode fuer Hoehe
-       public final function getHeight () {
-               return $this->height;
-       }
-
-       // Setter-Methode fuer Teil-Instanz
-       public final function setPartInstance (ConstructableShipPart $partInstance) {
-               $this->partInstance = $partInstance;
-       }
-
-       // Getter-Methode fuer Teil-Instanz
-       public final function getPartInstance () {
-               if (!isset($this->partInstance)) {
-                       return null;
-               }
-               return $this->partInstance;
-       }
-
-       // Remover-Methode fuer die Teil-Instanz
-       public final function removePartInstance () {
-               unset($this->partInstance);
-       }
-
-       // Prueft ob all Umberechnungsfaktoren gesetzt sind
-       private function isResizeFactorValid () {
-               return (($this->getResizeFactorElement('width')  > 1)
-                       || ($this->getResizeFactorElement('height') > 1)
-                       || ($this->getResizeFactorElement('length') > 1)
-               );
-       }
-
-       // Baut einen Motor in das Schiff ein
-       public function addShipPartToShip (ConstructableShip $shipInstance, ConstructableShipPart $partInstance) {
-               // Schiff/-steil merken
-               $this->currShip = $shipInstance;
-               $this->currPart = $partInstance;
-
-               // Passt ueberhaupt das Schiffsteil in's Schiff?
-               if ($this->isShipPartSizeValid()) {
-                       // Muessen die Masse angepasst werden?
-                       if ($this->isResizeFactorValid()) {
-                               // Neue Angaben berechnen (wir lassen etwas Lust fuer Kabelbaeume, Roehren, Maschinisten, etc.)
-                               $this->newWidth  = (float) $this->getCurrPart()->getWidth()  * $this->resizeFactorArray['width'];
-                               $this->newHeight = (float) $this->getCurrPart()->getHeight() * $this->resizeFactorArray['height'];
-                               $this->newLength = (float) $this->getCurrPart()->getLength() * $this->resizeFactorArray['length'];
-
-                               // Passt dies nun immer noch?
-                               if ($this->isNewSizeValid()) {
-                                       // Das passt auch, dann Werte setzen und Motor-Instanz merken
-                                       $this->setWidth($this->newWidth);
-                                       $this->setHeight($this->newHeight);
-                                       $this->setLength($this->newLength);
-
-                                       // Einige Dinge entfernen...
-                                       $this->removeAllNewAttr();
-                               } else {
-                                       // Passt nicht! Also wieder Exception werfen...
-                                       throw new StructureShipMismatchException(sprintf("[%s:] Das Schiffsteil <strong>%s</strong> vom Typ <strong>%s</strong> ist zu gross f&uuml;r das Schiff!",
-                                               $this->getCurrPart()->__toString(),
-                                               $this->getCurrPart()->getObjectDescription(),
-                                               $this->getCurrPart()->__toString()
-                                       ), 2);
-                               }
-                       } elseif ($this->currPart != null) {
-                               // Aktuelle Masse setzen
-                               $this->setWidth($this->getCurrPart()->getWidth());
-                               $this->setHeight($this->getCurrPart()->getHeight());
-                               $this->setLength($this->getCurrPart()->getLength());
-                       }
-
-                       // Existiert ein Schiffsteil?
-                       if (!is_null($this->currPart)) {
-                               // Schiffsteil-Instanz setzen
-                               $this->setPartInstance($this->currPart);
-
-                               // Instanzen entfernen
-                               $this->getCurrPart()->removeCurrShip();
-                               $this->getCurrPart()->removeCurrPart();
-                               $this->getCurrPart()->removePartInstance();
-                               $this->getCurrPart()->removeResizeFactorArray();
-                       }
-               } else {
-                       // Exception werfen!
-                       throw new StructureShipMismatchException(sprintf("[%s:] Das Schiffsteil <u>%s</u> vom Typ <u>%s</u> passt nicht in das Schiff!",
-                    &n