]> git.mxchange.org Git - shipsimu.git/commitdiff
Continued: master
authorRoland Häder <roland@mxchange.org>
Thu, 11 May 2023 23:47:39 +0000 (01:47 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 17 Aug 2023 03:59:13 +0000 (05:59 +0200)
- updated 'core'

282 files changed:
.gitattributes
Doxyfile [deleted file]
application/.htaccess [deleted file]
application/selector/.htaccess [deleted file]
application/selector/admin/.htaccess [deleted file]
application/selector/class_ApplicationHelper.php
application/selector/class_ApplicationSelector.php
application/selector/config.php
application/selector/data.php
application/selector/debug.php
application/selector/exceptions.php
application/selector/exceptions/.htaccess [deleted file]
application/selector/init.php
application/selector/interfaces/.htaccess [deleted file]
application/selector/language/.htaccess [deleted file]
application/selector/loader.php
application/selector/main/.htaccess [deleted file]
application/selector/starter.php
application/selector/templates/.htaccess [deleted file]
application/selector/templates/de/.htaccess [deleted file]
application/selector/templates/de/code/.htaccess [deleted file]
application/shipsimu/.htaccess [deleted file]
application/shipsimu/admin/.htaccess [deleted file]
application/shipsimu/class_ApplicationHelper.php
application/shipsimu/classes/.htaccess [deleted file]
application/shipsimu/classes/actions/.htaccess [deleted file]
application/shipsimu/classes/actions/class_BaseShipSimuAction.php
application/shipsimu/classes/actions/ship-simu/.htaccess [deleted file]
application/shipsimu/classes/actions/ship-simu/class_ShipSimuLoginAction.php
application/shipsimu/classes/actions/ship-simu/class_ShipSimuProfileAction.php
application/shipsimu/classes/actions/web/.htaccess [deleted file]
application/shipsimu/classes/actions/web/class_WebShipSimuLoginCompanyAction.php
application/shipsimu/classes/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php
application/shipsimu/classes/actions/web/class_WebShipSimuLoginGovernmentTrainingAction.php
application/shipsimu/classes/actions/web/class_WebShipSimuLoginLogoutAction.php
application/shipsimu/classes/actions/web/class_WebShipSimuLoginProfileAction.php
application/shipsimu/classes/actions/web/class_WebShipSimuLoginRefillAction.php
application/shipsimu/classes/actions/web/class_WebShipSimuLoginStatusProblemAction.php
application/shipsimu/classes/actions/web/class_WebShipSimuLoginWelcomeAction.php
application/shipsimu/classes/bank/.htaccess [deleted file]
application/shipsimu/classes/bank/class_BaseBank.php
application/shipsimu/classes/bank/money/class_MoneyBank.php
application/shipsimu/classes/class_BasePersonell.php
application/shipsimu/classes/class_BaseSimulator.php
application/shipsimu/classes/class_Merchant.php
application/shipsimu/classes/class_WorksContract.php
application/shipsimu/classes/commands/.htaccess [deleted file]
application/shipsimu/classes/commands/web/.htaccess [deleted file]
application/shipsimu/classes/commands/web/class_WebShipsimuGuestLoginCommand.php
application/shipsimu/classes/commands/web/class_WebShipsimuProfileCommand.php
application/shipsimu/classes/commands/web/class_WebShipsimuRefillCommand.php
application/shipsimu/classes/commands/web/class_WebShipsimuRegisterCommand.php
application/shipsimu/classes/commands/web/class_WebShipsimuUserLoginCommand.php
application/shipsimu/classes/commands/web/company/.htaccess [deleted file]
application/shipsimu/classes/commands/web/company/class_WebShipSimuCompanyCommand.php
application/shipsimu/classes/commands/web/government/.htaccess [deleted file]
application/shipsimu/classes/commands/web/government/class_WebGovernmentFailedStartupCommand.php
application/shipsimu/classes/commands/web/government/class_WebGovernmentFailedTrainingCommand.php
application/shipsimu/classes/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php
application/shipsimu/classes/commands/web/government/class_WebShipsimuGovernmentTrainingCommand.php
application/shipsimu/classes/companies/.htaccess [deleted file]
application/shipsimu/classes/companies/class_ShippingCompany.php
application/shipsimu/classes/constructions/.htaccess [deleted file]
application/shipsimu/classes/constructions/berths/.htaccess [deleted file]
application/shipsimu/classes/constructions/berths/class_Berth.php
application/shipsimu/classes/constructions/class_BaseConstruction.php
application/shipsimu/classes/constructions/docks/.htaccess [deleted file]
application/shipsimu/classes/constructions/docks/class_DryDock.php
application/shipsimu/classes/constructions/harbors/.htaccess [deleted file]
application/shipsimu/classes/constructions/harbors/class_Harbor.php
application/shipsimu/classes/constructions/terminals/.htaccess [deleted file]
application/shipsimu/classes/constructions/terminals/class_Terminal.php
application/shipsimu/classes/constructions/yards/.htaccess [deleted file]
application/shipsimu/classes/constructions/yards/class_Shipyard.php
application/shipsimu/classes/controller/.htaccess [deleted file]
application/shipsimu/classes/controller/html/.htaccess [deleted file]
application/shipsimu/classes/controller/html/class_HtmlCompanyController.php
application/shipsimu/classes/controller/html/class_HtmlGovernmentFailedController.php
application/shipsimu/classes/drives/.htaccess [deleted file]
application/shipsimu/classes/drives/class_BaseDrive.php
application/shipsimu/classes/drives/motor/.htaccess [deleted file]
application/shipsimu/classes/drives/motor/class_Motor.php
application/shipsimu/classes/factories/.htaccess [deleted file]
application/shipsimu/classes/factories/class_ShipSimuWebNewsFactory.php
application/shipsimu/classes/filter/.htaccess [deleted file]
application/shipsimu/classes/filter/book/.htaccess [deleted file]
application/shipsimu/classes/filter/book/refill/.htaccess [deleted file]
application/shipsimu/classes/filter/book/refill/class_RefillRequestCurrencyTestBookFilter.php
application/shipsimu/classes/filter/class_BaseShipSimuFilter.php
application/shipsimu/classes/filter/government/.htaccess [deleted file]
application/shipsimu/classes/filter/government/class_ShipSimuGovernmentPaysStartupHelpFilter.php
application/shipsimu/classes/filter/government/class_ShipSimuGovernmentPaysTrainingFilter.php
application/shipsimu/classes/filter/page/.htaccess [deleted file]
application/shipsimu/classes/filter/page/class_RefillPageFilter.php
application/shipsimu/classes/filter/validator/.htaccess [deleted file]
application/shipsimu/classes/filter/validator/class_RefillRequestValidatorFilter.php
application/shipsimu/classes/filter/validator/class_ShipSimuUserStatusGuestFilter.php
application/shipsimu/classes/government/.htaccess [deleted file]
application/shipsimu/classes/government/class_SimplifiedGovernment.php
application/shipsimu/classes/login/.htaccess [deleted file]
application/shipsimu/classes/login/class_ShipSimuGuestLogin.php
application/shipsimu/classes/login/class_ShipSimuUserLogin.php
application/shipsimu/classes/login/helper/.htaccess [deleted file]
application/shipsimu/classes/login/helper/class_ShipSimuLoginHelper.php
application/shipsimu/classes/menu/.htaccess [deleted file]
application/shipsimu/classes/menu/class_ShipSimuConfirmMenu.php
application/shipsimu/classes/menu/class_ShipSimuHomeMenu.php
application/shipsimu/classes/menu/class_ShipSimuLoginAreaMenu.php
application/shipsimu/classes/menu/class_ShipSimuLoginFailedMenu.php
application/shipsimu/classes/menu/class_ShipSimuLoginMenu.php
application/shipsimu/classes/menu/class_ShipSimuLogoutMenu.php
application/shipsimu/classes/menu/class_ShipSimuRegisterMenu.php
application/shipsimu/classes/menu/class_ShipSimuStatusMenu.php
application/shipsimu/classes/menu/government/.htaccess [deleted file]
application/shipsimu/classes/menu/government/class_ShipSimuGovernmentFailedAreaMenu.php
application/shipsimu/classes/opening/.htaccess [deleted file]
application/shipsimu/classes/opening/bank/.htaccess [deleted file]
application/shipsimu/classes/opening/bank/class_MoneyBankRealtimeOpening.php
application/shipsimu/classes/opening/class_BaseOpening.php
application/shipsimu/classes/parts/.htaccess [deleted file]
application/shipsimu/classes/parts/class_BaseShipPart.php
application/shipsimu/classes/parts/maschineroom/.htaccess [deleted file]
application/shipsimu/classes/parts/maschineroom/class_MaschineRoom.php
application/shipsimu/classes/personell/.htaccess [deleted file]
application/shipsimu/classes/personell/class_SimulatorPersonell.php
application/shipsimu/classes/personell/company/.htaccess [deleted file]
application/shipsimu/classes/personell/company/class_CompanyEmployee.php
application/shipsimu/classes/registration/.htaccess [deleted file]
application/shipsimu/classes/registration/class_ShipSimuRegistration.php
application/shipsimu/classes/resolver/.htaccess [deleted file]
application/shipsimu/classes/resolver/command/.htaccess [deleted file]
application/shipsimu/classes/resolver/command/html/.htaccess [deleted file]
application/shipsimu/classes/resolver/command/html/class_HtmlCompanyCommandResolver.php
application/shipsimu/classes/resolver/command/html/class_HtmlGovernmentFailedCommandResolver.php
application/shipsimu/classes/resolver/controller/.htaccess [deleted file]
application/shipsimu/classes/resolver/controller/html/.htaccess [deleted file]
application/shipsimu/classes/resolver/controller/html/class_ShipSimuHtmlControllerResolver.php
application/shipsimu/classes/ships/.htaccess [deleted file]
application/shipsimu/classes/ships/class_BaseShip.php
application/shipsimu/classes/ships/passenger/.htaccess [deleted file]
application/shipsimu/classes/ships/passenger/class_PassengerShip.php
application/shipsimu/classes/structures/.htaccess [deleted file]
application/shipsimu/classes/structures/class_BaseStructure.php
application/shipsimu/classes/structures/extended/.htaccess [deleted file]
application/shipsimu/classes/structures/extended/cabines/.htaccess [deleted file]
application/shipsimu/classes/structures/extended/cabines/class_BaseCabin.php
application/shipsimu/classes/structures/extended/cabines/ship/.htaccess [deleted file]
application/shipsimu/classes/structures/extended/cabines/ship/class_EconomyCabin.php
application/shipsimu/classes/structures/extended/cabines/ship/class_LowCabin.php
application/shipsimu/classes/structures/extended/cabines/ship/class_LuxuryCabin.php
application/shipsimu/classes/structures/extended/cabines/ship/class_PremierCabin.php
application/shipsimu/classes/structures/extended/class_BaseCabinStructure.php
application/shipsimu/classes/structures/extended/class_BaseDeckStructure.php
application/shipsimu/classes/structures/extended/class_BaseUpperStructure.php
application/shipsimu/classes/structures/extended/decks/.htaccess [deleted file]
application/shipsimu/classes/structures/extended/decks/cargo/.htaccess [deleted file]
application/shipsimu/classes/structures/extended/decks/cargo/class_CarDeck.php
application/shipsimu/classes/structures/extended/decks/cargo/class_TrainDeck.php
application/shipsimu/classes/structures/extended/decks/cargo/class_TruckDeck.php
application/shipsimu/classes/structures/extended/decks/class_BaseDeck.php
application/shipsimu/classes/structures/extended/lower/.htaccess [deleted file]
application/shipsimu/classes/structures/extended/upper/.htaccess [deleted file]
application/shipsimu/classes/structures/extended/upper/class_Bridge.php
application/shipsimu/classes/user/.htaccess [deleted file]
application/shipsimu/classes/user/class_ShipSimuBaseUser.php
application/shipsimu/classes/user/extended/.htaccess [deleted file]
application/shipsimu/classes/user/extended/class_ShipSimuGuest.php
application/shipsimu/classes/user/extended/class_ShipSimuMember.php
application/shipsimu/classes/wrapper/.htaccess [deleted file]
application/shipsimu/classes/wrapper/class_CompanyDatabaseWrapper.php
application/shipsimu/classes/wrapper/class_UserGovernmentDatabaseWrapper.php
application/shipsimu/config.php
application/shipsimu/data.php [deleted file]
application/shipsimu/debug.php
application/shipsimu/exceptions.php
application/shipsimu/exceptions/.htaccess [deleted file]
application/shipsimu/exceptions/class_BirthdayInvalidException.php
application/shipsimu/exceptions/class_CabinShipMismatchException.php
application/shipsimu/exceptions/class_ContractAllreadySignedException.php
application/shipsimu/exceptions/class_ContractPartnerMismatchException.php
application/shipsimu/exceptions/class_DeckShipMismatchException.php
application/shipsimu/exceptions/class_EmptyStructuresListException.php
application/shipsimu/exceptions/class_InvalidContractPartnerException.php
application/shipsimu/exceptions/class_InvalidIDFormatException.php
application/shipsimu/exceptions/class_ItemNotInPriceListException.php
application/shipsimu/exceptions/class_ItemNotTradeableException.php
application/shipsimu/exceptions/class_MissingSimulatorIdException.php
application/shipsimu/exceptions/class_MotorShipMismatchException.php
application/shipsimu/exceptions/class_NoShippingCompanyOwnedException.php
application/shipsimu/exceptions/class_NoShipyardsConstructedException.php
application/shipsimu/exceptions/class_PersonellListAlreadyCreatedException.php
application/shipsimu/exceptions/class_RoomShipMismatchException.php
application/shipsimu/exceptions/class_ShipNotConstructedException.php
application/shipsimu/exceptions/class_ShipPartNotConstructableException.php
application/shipsimu/exceptions/class_StructureShipMismatchException.php
application/shipsimu/exceptions/class_StructuresOutOfBoundsException.php
application/shipsimu/exceptions/class_ToMuchEmployeesException.php
application/shipsimu/exceptions/class_TotalPriceNotCalculatedException.php
application/shipsimu/exceptions/class_UnsupportedLimitationPartException.php
application/shipsimu/exceptions/class_WrongGenderSpecifiedException.php
application/shipsimu/init.php [deleted file]
application/shipsimu/interfaces/.htaccess [deleted file]
application/shipsimu/interfaces/class_BookableAccount.php
application/shipsimu/interfaces/class_ConstructableShip.php
application/shipsimu/interfaces/class_ConstructableShipPart.php
application/shipsimu/interfaces/class_ContractPartner.php
application/shipsimu/interfaces/class_Customer.php
application/shipsimu/interfaces/class_Personellizer.php
application/shipsimu/interfaces/class_SignableContract.php
application/shipsimu/interfaces/class_TradeableItem.php
application/shipsimu/language/.gitkeep [new file with mode: 0644]
application/shipsimu/language/.htaccess [deleted file]
application/shipsimu/loader.php [deleted file]
application/shipsimu/starter.php [deleted file]
application/shipsimu/templates/.htaccess [deleted file]
application/shipsimu/templates/de/.htaccess [deleted file]
application/shipsimu/templates/de/code/action_ship_simu_login_company.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_government_startup_help.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_government_training.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_profile.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_refill.ctp
application/shipsimu/templates/de/code/government_failed_main.ctp
application/shipsimu/templates/de/code/login_form.ctp
application/shipsimu/templates/de/code/login_main.ctp
application/shipsimu/templates/de/code/register_form.ctp
application/shipsimu/templates/de/emails/.htaccess [deleted file]
application/shipsimu/templates/de/html/.htaccess [deleted file]
application/shipsimu/templates/de/menu/.htaccess [deleted file]
application/shipsimu/templates/game/.htaccess [deleted file]
application/shipsimu/templates/game/building/.htaccess [deleted file]
application/shipsimu/templates/game/chemicals/.htaccess [deleted file]
application/shipsimu/templates/game/company/.htaccess [deleted file]
application/shipsimu/templates/game/container/.htaccess [deleted file]
application/shipsimu/templates/game/contract/.htaccess [deleted file]
application/shipsimu/templates/game/drink/.htaccess [deleted file]
application/shipsimu/templates/game/electronic/.htaccess [deleted file]
application/shipsimu/templates/game/engine/.htaccess [deleted file]
application/shipsimu/templates/game/farmer/.htaccess [deleted file]
application/shipsimu/templates/game/fruit/.htaccess [deleted file]
application/shipsimu/templates/game/fuel/.htaccess [deleted file]
application/shipsimu/templates/game/grain/.htaccess [deleted file]
application/shipsimu/templates/game/lifestock/.htaccess [deleted file]
application/shipsimu/templates/game/merchant/.htaccess [deleted file]
application/shipsimu/templates/game/mineral/.htaccess [deleted file]
application/shipsimu/templates/game/produce/.htaccess [deleted file]
application/shipsimu/templates/game/research/.htaccess [deleted file]
application/shipsimu/templates/game/resource/.htaccess [deleted file]
application/shipsimu/templates/game/ship/.htaccess [deleted file]
application/shipsimu/templates/game/tank/.htaccess [deleted file]
application/shipsimu/templates/game/technology/.htaccess [deleted file]
application/shipsimu/templates/game/types/.htaccess [deleted file]
application/shipsimu/templates/game/vegetable/.htaccess [deleted file]
clear-cache.sh [deleted file]
contrib/Doxyfile [new file with mode: 0644]
contrib/clear-cache.sh [new file with mode: 0755]
contrib/find-bad-php.sh [new file with mode: 0755]
contrib/package.sh [new file with mode: 0755]
contrib/pdepend.sh [new file with mode: 0755]
contrib/rebuild_doc.sh [new file with mode: 0755]
contrib/todo-builder.sh [new file with mode: 0755]
core
db/.htaccess [deleted file]
db/company/.gitkeep [new file with mode: 0644]
db/company/.htaccess [deleted file]
db/company_user/.htaccess [deleted file]
db/gov_user/.gitkeep [new file with mode: 0644]
db/gov_user/.htaccess [deleted file]
db/news/.gitkeep [new file with mode: 0644]
db/news/.htaccess [deleted file]
db/payments/.gitkeep [new file with mode: 0644]
db/payments/.htaccess [deleted file]
db/user/.gitkeep [new file with mode: 0644]
db/user/.htaccess [deleted file]
db/user_points/.gitkeep [new file with mode: 0644]
db/user_points/.htaccess [deleted file]
find-bad-php.sh [deleted file]
inc [deleted symlink]
index.php
package.sh [deleted file]
pdepend.sh [deleted file]
rebuild_doc.sh [deleted file]
todo-builder.sh [deleted file]

index dfe0770424b2a19faf507a501ebfc23be8f54e7b..17cdcd5373ad22f616149f35b61236dfe81ebec3 100644 (file)
@@ -1,2 +1,2 @@
-# Auto detect text files and perform LF normalization
-* text=auto
+# Use Linux/Uni* line-feed for new lines (prevents converting)
+* text=lf
diff --git a/Doxyfile b/Doxyfile
deleted file mode 100644 (file)
index f5c45d4..0000000
--- a/Doxyfile
+++ /dev/null
@@ -1,1565 +0,0 @@
-# Doxyfile 1.6.2
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project
-#
-# All text after a hash (#) is considered a comment and will be ignored
-# The format is:
-#       TAG = value [value, ...]
-# For lists items can also be appended using:
-#       TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (" ")
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-
-# This tag specifies the encoding used for all characters in the config file
-# that follow. The default is UTF-8 which is also the encoding used for all
-# text before the first occurrence of this tag. Doxygen uses libiconv (or the
-# iconv built into libc) for the transcoding. See
-# http://www.gnu.org/software/libiconv for the list of possible encodings.
-
-DOXYFILE_ENCODING      = UTF-8
-
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
-# by quotes) that should identify the project.
-
-PROJECT_NAME           = Ship-Simulator
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number.
-# This could be handy for archiving the generated documentation or
-# if some version control system is used.
-
-PROJECT_NUMBER         = 0.1a
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
-# base path where the generated documentation will be put.
-# If a relative path is entered, it will be relative to the location
-# where doxygen was started. If left blank the current directory will be used.
-
-OUTPUT_DIRECTORY       = /var/www/htdocs/ship-simu/trunk/docs/
-
-# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
-# 4096 sub-directories (in 2 levels) under the output directory of each output
-# format and will distribute the generated files over these directories.
-# Enabling this option can be useful when feeding doxygen a huge amount of
-# source files, where putting all generated files in the same directory would
-# otherwise cause performance problems for the file system.
-
-CREATE_SUBDIRS         = NO
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-# documentation generated by doxygen is written. Doxygen will use this
-# information to generate all constant output in the proper language.
-# The default language is English, other supported languages are:
-# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
-# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
-# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
-# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
-# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
-# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
-
-OUTPUT_LANGUAGE        = English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
-# include brief member descriptions after the members that are listed in
-# the file and class documentation (similar to JavaDoc).
-# Set to NO to disable this.
-
-BRIEF_MEMBER_DESC      = YES
-
-# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
-# the brief description of a member or function before the detailed description.
-# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-# brief descriptions will be completely suppressed.
-
-REPEAT_BRIEF           = YES
-
-# This tag implements a quasi-intelligent brief description abbreviator
-# that is used to form the text in various listings. Each string
-# in this list, if found as the leading text of the brief description, will be
-# stripped from the text and the result after processing the whole list, is
-# used as the annotated text. Otherwise, the brief description is used as-is.
-# If left blank, the following values are used ("$name" is automatically
-# replaced with the name of the entity): "The $name class" "The $name widget"
-# "The $name file" "is" "provides" "specifies" "contains"
-# "represents" "a" "an" "the"
-
-ABBREVIATE_BRIEF       = "The $name class " \
-                         "The $name widget " \
-                         "The $name file " \
-                         is \
-                         provides \
-                         specifies \
-                         contains \
-                         represents \
-                         a \
-                         an \
-                         the
-
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-# Doxygen will generate a detailed section even if there is only a brief
-# description.
-
-ALWAYS_DETAILED_SEC    = YES
-
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-# inherited members of a class in the documentation of that class as if those
-# members were ordinary class members. Constructors, destructors and assignment
-# operators of the base classes will not be shown.
-
-INLINE_INHERITED_MEMB  = YES
-
-# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
-# path before files name in the file list and in the header files. If set
-# to NO the shortest path that makes the file name unique will be used.
-
-FULL_PATH_NAMES        = YES
-
-# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
-# can be used to strip a user-defined part of the path. Stripping is
-# only done if one of the specified strings matches the left-hand part of
-# the path. The tag can be used to show relative paths in the file list.
-# If left blank the directory from which doxygen is run is used as the
-# path to strip.
-
-STRIP_FROM_PATH        = /var/www/htdocs/
-
-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
-# the path mentioned in the documentation of a class, which tells
-# the reader which header file to include in order to use a class.
-# If left blank only the name of the header file containing the class
-# definition is used. Otherwise one should specify the include paths that
-# are normally passed to the compiler using the -I flag.
-
-STRIP_FROM_INC_PATH    =
-
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
-# (but less readable) file names. This can be useful is your file systems
-# doesn't support long names like on DOS, Mac, or CD-ROM.
-
-SHORT_NAMES            = NO
-
-# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
-# will interpret the first line (until the first dot) of a JavaDoc-style
-# comment as the brief description. If set to NO, the JavaDoc
-# comments will behave just like regular Qt-style comments
-# (thus requiring an explicit @brief command for a brief description.)
-
-JAVADOC_AUTOBRIEF      = YES
-
-# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
-# interpret the first line (until the first dot) of a Qt-style
-# comment as the brief description. If set to NO, the comments
-# will behave just like regular Qt-style comments (thus requiring
-# an explicit \brief command for a brief description.)
-
-QT_AUTOBRIEF           = NO
-
-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
-# treat a multi-line C++ special comment block (i.e. a block of //! or ///
-# comments) as a brief description. This used to be the default behaviour.
-# The new default is to treat a multi-line C++ comment block as a detailed
-# description. Set this tag to YES if you prefer the old behaviour instead.
-
-MULTILINE_CPP_IS_BRIEF = NO
-
-# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
-# member inherits the documentation from any documented member that it
-# re-implements.
-
-INHERIT_DOCS           = YES
-
-# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
-# a new page for each member. If set to NO, the documentation of a member will
-# be part of the file/class/namespace that contains it.
-
-SEPARATE_MEMBER_PAGES  = YES
-
-# The TAB_SIZE tag can be used to set the number of spaces in a tab.
-# Doxygen uses this value to replace tabs by spaces in code fragments.
-
-TAB_SIZE               = 8
-
-# This tag can be used to specify a number of aliases that acts
-# as commands in the documentation. An alias has the form "name=value".
-# For example adding "sideeffect=\par Side Effects:\n" will allow you to
-# put the command \sideeffect (or @sideeffect) in the documentation, which
-# will result in a user-defined paragraph with heading "Side Effects:".
-# You can put \n's in the value part of an alias to insert newlines.
-
-ALIASES                =
-
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
-# sources only. Doxygen will then generate output that is more tailored for C.
-# For instance, some of the names that are used will be different. The list
-# of all members will be omitted, etc.
-
-OPTIMIZE_OUTPUT_FOR_C  = NO
-
-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
-# sources only. Doxygen will then generate output that is more tailored for
-# Java. For instance, namespaces will be presented as packages, qualified
-# scopes will look different, etc.
-
-OPTIMIZE_OUTPUT_JAVA   = YES
-
-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-# sources only. Doxygen will then generate output that is more tailored for
-# Fortran.
-
-OPTIMIZE_FOR_FORTRAN   = NO
-
-# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
-# sources. Doxygen will then generate output that is tailored for
-# VHDL.
-
-OPTIMIZE_OUTPUT_VHDL   = NO
-
-# Doxygen selects the parser to use depending on the extension of the files it parses.
-# With this tag you can assign which parser to use for a given extension.
-# Doxygen has a built-in mapping, but you can override or extend it using this tag.
-# The format is ext=language, where ext is a file extension, and language is one of
-# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
-# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
-# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
-# use: inc=Fortran f=C. Note that for custom extensions you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
-
-EXTENSION_MAPPING      =
-
-# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
-# to include (a tag file for) the STL sources as input, then you should
-# set this tag to YES in order to let doxygen match functions declarations and
-# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
-# func(std::string) {}). This also make the inheritance and collaboration
-# diagrams that involve STL classes more complete and accurate.
-
-BUILTIN_STL_SUPPORT    = NO
-
-# If you use Microsoft's C++/CLI language, you should set this option to YES to
-# enable parsing support.
-
-CPP_CLI_SUPPORT        = NO
-
-# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
-# Doxygen will parse them like normal C++ but will assume all classes use public
-# instead of private inheritance when no explicit protection keyword is present.
-
-SIP_SUPPORT            = NO
-
-# For Microsoft's IDL there are propget and propput attributes to indicate getter
-# and setter methods for a property. Setting this option to YES (the default)
-# will make doxygen to replace the get and set methods by a property in the
-# documentation. This will only work if the methods are indeed getting or
-# setting a simple type. If this is not the case, or you want to show the
-# methods anyway, you should set this option to NO.
-
-IDL_PROPERTY_SUPPORT   = YES
-
-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
-# tag is set to YES, then doxygen will reuse the documentation of the first
-# member in the group (if any) for the other members of the group. By default
-# all members of a group must be documented explicitly.
-
-DISTRIBUTE_GROUP_DOC   = YES
-
-# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
-# the same type (for instance a group of public functions) to be put as a
-# subgroup of that type (e.g. under the Public Functions section). Set it to
-# NO to prevent subgrouping. Alternatively, this can be done per class using
-# the \nosubgrouping command.
-
-SUBGROUPING            = YES
-
-# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
-# is documented as struct, union, or enum with the name of the typedef. So
-# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
-# with name TypeT. When disabled the typedef will appear as a member of a file,
-# namespace, or class. And the struct will be named TypeS. This can typically
-# be useful for C code in case the coding convention dictates that all compound
-# types are typedef'ed and only the typedef is referenced, never the tag name.
-
-TYPEDEF_HIDES_STRUCT   = NO
-
-# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
-# determine which symbols to keep in memory and which to flush to disk.
-# When the cache is full, less often used symbols will be written to disk.
-# For small to medium size projects (<1000 input files) the default value is
-# probably good enough. For larger projects a too small cache size can cause
-# doxygen to be busy swapping symbols to and from disk most of the time
-# causing a significant performance penality.
-# If the system has enough physical memory increasing the cache will improve the
-# performance by keeping more symbols in memory. Note that the value works on
-# a logarithmic scale so increasing the size by one will rougly double the
-# memory usage. The cache size is given by this formula:
-# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
-# corresponding to a cache size of 2^16 = 65536 symbols
-
-SYMBOL_CACHE_SIZE      = 0
-
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-
-# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
-# documentation are documented, even if no documentation was available.
-# Private class members and static file members will be hidden unless
-# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
-
-EXTRACT_ALL            = YES
-
-# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
-# will be included in the documentation.
-
-EXTRACT_PRIVATE        = YES
-
-# If the EXTRACT_STATIC tag is set to YES all static members of a file
-# will be included in the documentation.
-
-EXTRACT_STATIC         = YES
-
-# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
-# defined locally in source files will be included in the documentation.
-# If set to NO only classes defined in header files are included.
-
-EXTRACT_LOCAL_CLASSES  = YES
-
-# This flag is only useful for Objective-C code. When set to YES local
-# methods, which are defined in the implementation section but not in
-# the interface are included in the documentation.
-# If set to NO (the default) only methods in the interface are included.
-
-EXTRACT_LOCAL_METHODS  = YES
-
-# If this flag is set to YES, the members of anonymous namespaces will be
-# extracted and appear in the documentation as a namespace called
-# 'anonymous_namespace{file}', where file will be replaced with the base
-# name of the file that contains the anonymous namespace. By default
-# anonymous namespace are hidden.
-
-EXTRACT_ANON_NSPACES   = NO
-
-# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
-# undocumented members of documented classes, files or namespaces.
-# If set to NO (the default) these members will be included in the
-# various overviews, but no documentation section is generated.
-# This option has no effect if EXTRACT_ALL is enabled.
-
-HIDE_UNDOC_MEMBERS     = NO
-
-# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
-# undocumented classes that are normally visible in the class hierarchy.
-# If set to NO (the default) these classes will be included in the various
-# overviews. This option has no effect if EXTRACT_ALL is enabled.
-
-HIDE_UNDOC_CLASSES     = NO
-
-# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
-# friend (class|struct|union) declarations.
-# If set to NO (the default) these declarations will be included in the
-# documentation.
-
-HIDE_FRIEND_COMPOUNDS  = NO
-
-# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
-# documentation blocks found inside the body of a function.
-# If set to NO (the default) these blocks will be appended to the
-# function's detailed documentation block.
-
-HIDE_IN_BODY_DOCS      = NO
-
-# The INTERNAL_DOCS tag determines if documentation
-# that is typed after a \internal command is included. If the tag is set
-# to NO (the default) then the documentation will be excluded.
-# Set it to YES to include the internal documentation.
-
-INTERNAL_DOCS          = NO
-
-# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
-# file names in lower-case letters. If set to YES upper-case letters are also
-# allowed. This is useful if you have classes or files whose names only differ
-# in case and if your file system supports case sensitive file names. Windows
-# and Mac users are advised to set this option to NO.
-
-CASE_SENSE_NAMES       = YES
-
-# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
-# will show members with their full class and namespace scopes in the
-# documentation. If set to YES the scope will be hidden.
-
-HIDE_SCOPE_NAMES       = NO
-
-# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
-# will put a list of the files that are included by a file in the documentation
-# of that file.
-
-SHOW_INCLUDE_FILES     = YES
-
-# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
-# will list include files with double quotes in the documentation
-# rather than with sharp brackets.
-
-FORCE_LOCAL_INCLUDES   = NO
-
-# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
-# is inserted in the documentation for inline members.
-
-INLINE_INFO            = YES
-
-# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
-# will sort the (detailed) documentation of file and class members
-# alphabetically by member name. If set to NO the members will appear in
-# declaration order.
-
-SORT_MEMBER_DOCS       = YES
-
-# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
-# brief documentation of file, namespace and class members alphabetically
-# by member name. If set to NO (the default) the members will appear in
-# declaration order.
-
-SORT_BRIEF_DOCS        = YES
-
-# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the (brief and detailed) documentation of class members so that constructors and destructors are listed first. If set to NO (the default) the constructors will appear in the respective orders defined by SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
-
-SORT_MEMBERS_CTORS_1ST = NO
-
-# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
-# hierarchy of group names into alphabetical order. If set to NO (the default)
-# the group names will appear in their defined order.
-
-SORT_GROUP_NAMES       = NO
-
-# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
-# sorted by fully-qualified names, including namespaces. If set to
-# NO (the default), the class list will be sorted only by class name,
-# not including the namespace part.
-# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
-# Note: This option applies only to the class list, not to the
-# alphabetical list.
-
-SORT_BY_SCOPE_NAME     = YES
-
-# The GENERATE_TODOLIST tag can be used to enable (YES) or
-# disable (NO) the todo list. This list is created by putting \todo
-# commands in the documentation.
-
-GENERATE_TODOLIST      = YES
-
-# The GENERATE_TESTLIST tag can be used to enable (YES) or
-# disable (NO) the test list. This list is created by putting \test
-# commands in the documentation.
-
-GENERATE_TESTLIST      = YES
-
-# The GENERATE_BUGLIST tag can be used to enable (YES) or
-# disable (NO) the bug list. This list is created by putting \bug
-# commands in the documentation.
-
-GENERATE_BUGLIST       = YES
-
-# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
-# disable (NO) the deprecated list. This list is created by putting
-# \deprecated commands in the documentation.
-
-GENERATE_DEPRECATEDLIST= YES
-
-# The ENABLED_SECTIONS tag can be used to enable conditional
-# documentation sections, marked by \if sectionname ... \endif.
-
-ENABLED_SECTIONS       =
-
-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
-# the initial value of a variable or define consists of for it to appear in
-# the documentation. If the initializer consists of more lines than specified
-# here it will be hidden. Use a value of 0 to hide initializers completely.
-# The appearance of the initializer of individual variables and defines in the
-# documentation can be controlled using \showinitializer or \hideinitializer
-# command in the documentation regardless of this setting.
-
-MAX_INITIALIZER_LINES  = 30
-
-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
-# at the bottom of the documentation of classes and structs. If set to YES the
-# list will mention the files that were used to generate the documentation.
-
-SHOW_USED_FILES        = YES
-
-# If the sources in your project are distributed over multiple directories
-# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
-# in the documentation. The default is NO.
-
-SHOW_DIRECTORIES       = YES
-
-# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
-# This will remove the Files entry from the Quick Index and from the
-# Folder Tree View (if specified). The default is YES.
-
-SHOW_FILES             = YES
-
-# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
-# Namespaces page.
-# This will remove the Namespaces entry from the Quick Index
-# and from the Folder Tree View (if specified). The default is YES.
-
-SHOW_NAMESPACES        = YES
-
-# The FILE_VERSION_FILTER tag can be used to specify a program or script that
-# doxygen should invoke to get the current version for each file (typically from
-# the version control system). Doxygen will invoke the program by executing (via
-# popen()) the command <command> <input-file>, where <command> is the value of
-# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
-# provided by doxygen. Whatever the program writes to standard output
-# is used as the file version. See the manual for examples.
-
-FILE_VERSION_FILTER    =
-
-# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
-# doxygen. The layout file controls the global structure of the generated output files
-# in an output format independent way. The create the layout file that represents
-# doxygen's defaults, run doxygen with the -l option. You can optionally specify a
-# file name after the option, if omitted DoxygenLayout.xml will be used as the name
-# of the layout file.
-
-LAYOUT_FILE            =
-
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-
-# The QUIET tag can be used to turn on/off the messages that are generated
-# by doxygen. Possible values are YES and NO. If left blank NO is used.
-
-QUIET                  = NO
-
-# The WARNINGS tag can be used to turn on/off the warning messages that are
-# generated by doxygen. Possible values are YES and NO. If left blank
-# NO is used.
-
-WARNINGS               = YES
-
-# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
-# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
-# automatically be disabled.
-
-WARN_IF_UNDOCUMENTED   = YES
-
-# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
-# potential errors in the documentation, such as not documenting some
-# parameters in a documented function, or documenting parameters that
-# don't exist or using markup commands wrongly.
-
-WARN_IF_DOC_ERROR      = YES
-
-# This WARN_NO_PARAMDOC option can be abled to get warnings for
-# functions that are documented, but have no documentation for their parameters
-# or return value. If set to NO (the default) doxygen will only warn about
-# wrong or incomplete parameter documentation, but not about the absence of
-# documentation.
-
-WARN_NO_PARAMDOC       = YES
-
-# The WARN_FORMAT tag determines the format of the warning messages that
-# doxygen can produce. The string should contain the $file, $line, and $text
-# tags, which will be replaced by the file and line number from which the
-# warning originated and the warning text. Optionally the format may contain
-# $version, which will be replaced by the version of the file (if it could
-# be obtained via FILE_VERSION_FILTER)
-
-WARN_FORMAT            = "$file:$line: $text "
-
-# The WARN_LOGFILE tag can be used to specify a file to which warning
-# and error messages should be written. If left blank the output is written
-# to stderr.
-
-WARN_LOGFILE           = /var/www/htdocs/ship-simu/trunk/docs/warn.log
-
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-
-# The INPUT tag can be used to specify the files and/or directories that contain
-# documented source files. You may enter file names like "myfile.cpp" or
-# directories like "/usr/src/myproject". Separate the files or directories
-# with spaces.
-
-INPUT                  = /var/www/htdocs/ship-simu/trunk/index.php \
-                         /var/www/htdocs/ship-simu/trunk/inc/ \
-                         /var/www/htdocs/ship-simu/trunk/application/ship-simu/
-
-# This tag can be used to specify the character encoding of the source files
-# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
-# also the default input encoding. Doxygen uses libiconv (or the iconv built
-# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
-# the list of possible encodings.
-
-INPUT_ENCODING         = UTF-8
-
-# If the value of the INPUT tag contains directories, you can use the
-# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
-# and *.h) to filter out the source-files in the directories. If left
-# blank the following patterns are tested:
-# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
-# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
-
-FILE_PATTERNS          = *.php \
-                         *.ctp
-
-# The RECURSIVE tag can be used to turn specify whether or not subdirectories
-# should be searched for input files as well. Possible values are YES and NO.
-# If left blank NO is used.
-
-RECURSIVE              = YES
-
-# The EXCLUDE tag can be used to specify files and/or directories that should
-# excluded from the INPUT source files. This way you can easily exclude a
-# subdirectory from a directory tree whose root is specified with the INPUT tag.
-
-EXCLUDE                =
-
-# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
-# directories that are symbolic links (a Unix filesystem feature) are excluded
-# from the input.
-
-EXCLUDE_SYMLINKS       = NO
-
-# If the value of the INPUT tag contains directories, you can use the
-# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
-# certain files from those directories. Note that the wildcards are matched
-# against the file with absolute path, so to exclude all test directories
-# for example use the pattern */test/*
-
-EXCLUDE_PATTERNS       = */docs/* \
-                         */ship-simu.org/*
-
-# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
-# (namespaces, classes, functions, etc.) that should be excluded from the
-# output. The symbol name can be a fully qualified name, a word, or if the
-# wildcard * is used, a substring. Examples: ANamespace, AClass,
-# AClass::ANamespace, ANamespace::*Test
-
-EXCLUDE_SYMBOLS        =
-
-# The EXAMPLE_PATH tag can be used to specify one or more files or
-# directories that contain example code fragments that are included (see
-# the \include command).
-
-EXAMPLE_PATH           =
-
-# If the value of the EXAMPLE_PATH tag contains directories, you can use the
-# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
-# and *.h) to filter out the source-files in the directories. If left
-# blank all files are included.
-
-EXAMPLE_PATTERNS       = *
-
-# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
-# searched for input files to be used with the \include or \dontinclude
-# commands irrespective of the value of the RECURSIVE tag.
-# Possible values are YES and NO. If left blank NO is used.
-
-EXAMPLE_RECURSIVE      = NO
-
-# The IMAGE_PATH tag can be used to specify one or more files or
-# directories that contain image that are included in the documentation (see
-# the \image command).
-
-IMAGE_PATH             =
-
-# The INPUT_FILTER tag can be used to specify a program that doxygen should
-# invoke to filter for each input file. Doxygen will invoke the filter program
-# by executing (via popen()) the command <filter> <input-file>, where <filter>
-# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
-# input file. Doxygen will then use the output that the filter program writes
-# to standard output.
-# If FILTER_PATTERNS is specified, this tag will be
-# ignored.
-
-INPUT_FILTER           =
-
-# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
-# basis.
-# Doxygen will compare the file name with each pattern and apply the
-# filter if there is a match.
-# The filters are a list of the form:
-# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
-# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
-# is applied to all files.
-
-FILTER_PATTERNS        =
-
-# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
-# INPUT_FILTER) will be used to filter the input files when producing source
-# files to browse (i.e. when SOURCE_BROWSER is set to YES).
-
-FILTER_SOURCE_FILES    = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to source browsing
-#---------------------------------------------------------------------------
-
-# If the SOURCE_BROWSER tag is set to YES then a list of source files will
-# be generated. Documented entities will be cross-referenced with these sources.
-# Note: To get rid of all source code in the generated output, make sure also
-# VERBATIM_HEADERS is set to NO.
-
-SOURCE_BROWSER         = YES
-
-# Setting the INLINE_SOURCES tag to YES will include the body
-# of functions and classes directly in the documentation.
-
-INLINE_SOURCES         = YES
-
-# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
-# doxygen to hide any special comment blocks from generated source code
-# fragments. Normal C and C++ comments will always remain visible.
-
-STRIP_CODE_COMMENTS    = YES
-
-# If the REFERENCED_BY_RELATION tag is set to YES
-# then for each documented function all documented
-# functions referencing it will be listed.
-
-REFERENCED_BY_RELATION = YES
-
-# If the REFERENCES_RELATION tag is set to YES
-# then for each documented function all documented entities
-# called/used by that function will be listed.
-
-REFERENCES_RELATION    = YES
-
-# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
-# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
-# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
-# link to the source code.
-# Otherwise they will link to the documentation.
-
-REFERENCES_LINK_SOURCE = YES
-
-# If the USE_HTAGS tag is set to YES then the references to source code
-# will point to the HTML generated by the htags(1) tool instead of doxygen
-# built-in source browser. The htags tool is part of GNU's global source
-# tagging system (see http://www.gnu.org/software/global/global.html). You
-# will need version 4.8.6 or higher.
-
-USE_HTAGS              = NO
-
-# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
-# will generate a verbatim copy of the header file for each class for
-# which an include is specified. Set to NO to disable this.
-
-VERBATIM_HEADERS       = YES
-
-#---------------------------------------------------------------------------
-# configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-
-# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
-# of all compounds will be generated. Enable this if the project
-# contains a lot of classes, structs, unions or interfaces.
-
-ALPHABETICAL_INDEX     = YES
-
-# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
-# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
-# in which this list will be split (can be a number in the range [1..20])
-
-COLS_IN_ALPHA_INDEX    = 3
-
-# In case all classes in a project start with a common prefix, all
-# classes will be put under the same header in the alphabetical index.
-# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
-# should be ignored while generating the index headers.
-
-IGNORE_PREFIX          =
-
-#---------------------------------------------------------------------------
-# configuration options related to the HTML output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
-# generate HTML output.
-
-GENERATE_HTML          = YES
-
-# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be
-# put in front of it. If left blank `html' will be used as the default path.
-
-HTML_OUTPUT            = html
-
-# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
-# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
-# doxygen will generate files with .html extension.
-
-HTML_FILE_EXTENSION    = .html
-
-# The HTML_HEADER tag can be used to specify a personal HTML header for
-# each generated HTML page. If it is left blank doxygen will generate a
-# standard header.
-
-HTML_HEADER            =
-
-# The HTML_FOOTER tag can be used to specify a personal HTML footer for
-# each generated HTML page. If it is left blank doxygen will generate a
-# standard footer.
-
-HTML_FOOTER            =
-
-# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
-# style sheet that is used by each HTML page. It can be used to
-# fine-tune the look of the HTML output. If the tag is left blank doxygen
-# will generate a default style sheet. Note that doxygen will try to copy
-# the style sheet file to the HTML output directory, so don't put your own
-# stylesheet in the HTML output directory as well, or it will be erased!
-
-HTML_STYLESHEET        =
-
-# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
-# page will contain the date and time when the page was generated. Setting
-# this to NO can help when comparing the output of multiple runs.
-
-HTML_TIMESTAMP         = NO
-
-# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
-# files or namespaces will be aligned in HTML using tables. If set to
-# NO a bullet list will be used.
-
-HTML_ALIGN_MEMBERS     = YES
-
-# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
-# documentation will contain sections that can be hidden and shown after the
-# page has loaded. For this to work a browser that supports
-# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
-# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
-
-HTML_DYNAMIC_SECTIONS  = NO
-
-# If the GENERATE_DOCSET tag is set to YES, additional index files
-# will be generated that can be used as input for Apple's Xcode 3
-# integrated development environment, introduced with OSX 10.5 (Leopard).
-# To create a documentation set, doxygen will generate a Makefile in the
-# HTML output directory. Running make will produce the docset in that
-# directory and running "make install" will install the docset in
-# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
-# it at startup.
-# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
-
-GENERATE_DOCSET        = NO
-
-# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
-# feed. A documentation feed provides an umbrella under which multiple
-# documentation sets from a single provider (such as a company or product suite)
-# can be grouped.
-
-DOCSET_FEEDNAME        = "Doxygen generated docs"
-
-# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
-# should uniquely identify the documentation set bundle. This should be a
-# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
-# will append .docset to the name.
-
-DOCSET_BUNDLE_ID       = org.doxygen.Project
-
-# If the GENERATE_HTMLHELP tag is set to YES, additional index files
-# will be generated that can be used as input for tools like the
-# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
-# of the generated HTML documentation.
-
-GENERATE_HTMLHELP      = YES
-
-# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
-# be used to specify the file name of the resulting .chm file. You
-# can add a path in front of the file if the result should not be
-# written to the html output directory.
-
-CHM_FILE               =
-
-# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
-# be used to specify the location (absolute path including file name) of
-# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
-# the HTML help compiler on the generated index.hhp.
-
-HHC_LOCATION           =
-
-# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
-# controls if a separate .chi index file is generated (YES) or that
-# it should be included in the master .chm file (NO).
-
-GENERATE_CHI           = YES
-
-# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
-# is used to encode HtmlHelp index (hhk), content (hhc) and project file
-# content.
-
-CHM_INDEX_ENCODING     =
-
-# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
-# controls whether a binary table of contents is generated (YES) or a
-# normal table of contents (NO) in the .chm file.
-
-BINARY_TOC             = YES
-
-# The TOC_EXPAND flag can be set to YES to add extra items for group members
-# to the contents of the HTML help documentation and to the tree view.
-
-TOC_EXPAND             = YES
-
-# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER
-# are set, an additional index file will be generated that can be used as input for
-# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated
-# HTML documentation.
-
-GENERATE_QHP           = NO
-
-# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
-# be used to specify the file name of the resulting .qch file.
-# The path specified is relative to the HTML output folder.
-
-QCH_FILE               =
-
-# The QHP_NAMESPACE tag specifies the namespace to use when generating
-# Qt Help Project output. For more information please see
-# http://doc.trolltech.com/qthelpproject.html#namespace
-
-QHP_NAMESPACE          = org.doxygen.Project
-
-# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
-# Qt Help Project output. For more information please see
-# http://doc.trolltech.com/qthelpproject.html#virtual-folders
-
-QHP_VIRTUAL_FOLDER     = doc
-
-# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add.
-# For more information please see
-# http://doc.trolltech.com/qthelpproject.html#custom-filters
-
-QHP_CUST_FILTER_NAME   =
-
-# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see
-# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">Qt Help Project / Custom Filters</a>.
-
-QHP_CUST_FILTER_ATTRS  =
-
-# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's
-# filter section matches.
-# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">Qt Help Project / Filter Attributes</a>.
-
-QHP_SECT_FILTER_ATTRS  =
-
-# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
-# be used to specify the location of Qt's qhelpgenerator.
-# If non-empty doxygen will try to run qhelpgenerator on the generated
-# .qhp file.
-
-QHG_LOCATION           =
-
-# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
-#  will be generated, which together with the HTML files, form an Eclipse help
-#  plugin. To install this plugin and make it available under the help contents
-# menu in Eclipse, the contents of the directory containing the HTML and XML
-# files needs to be copied into the plugins directory of eclipse. The name of
-# the directory within the plugins directory should be the same as
-# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before the help appears.
-
-GENERATE_ECLIPSEHELP   = NO
-
-# A unique identifier for the eclipse help plugin. When installing the plugin
-# the directory name containing the HTML and XML files should also have
-# this name.
-
-ECLIPSE_DOC_ID         = org.doxygen.Project
-
-# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
-# top of each HTML page. The value NO (the default) enables the index and
-# the value YES disables it.
-
-DISABLE_INDEX          = NO
-
-# This tag can be used to set the number of enum values (range [1..20])
-# that doxygen will group on one line in the generated HTML documentation.
-
-ENUM_VALUES_PER_LINE   = 4
-
-# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
-# structure should be generated to display hierarchical information.
-# If the tag value is set to YES, a side panel will be generated
-# containing a tree-like index structure (just like the one that
-# is generated for HTML Help). For this to work a browser that supports
-# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
-# Windows users are probably better off using the HTML help feature.
-
-GENERATE_TREEVIEW      = NO
-
-# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
-# and Class Hierarchy pages using a tree view instead of an ordered list.
-
-USE_INLINE_TREES       = NO
-
-# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
-# used to set the initial width (in pixels) of the frame in which the tree
-# is shown.
-
-TREEVIEW_WIDTH         = 250
-
-# Use this tag to change the font size of Latex formulas included
-# as images in the HTML documentation. The default is 10. Note that
-# when you change the font size after a successful doxygen run you need
-# to manually remove any form_*.png images from the HTML output directory
-# to force them to be regenerated.
-
-FORMULA_FONTSIZE       = 10
-
-# When the SEARCHENGINE tag is enabled doxygen will generate a search box for the HTML output. The underlying search engine uses javascript
-# and DHTML and should work on any modern browser. Note that when using HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) there is already a search function so this one should
-# typically be disabled. For large projects the javascript based search engine
-# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
-
-SEARCHENGINE           = YES
-
-# When the SERVER_BASED_SEARCH tag is enabled the search engine will be implemented using a PHP enabled web server instead of at the web client using Javascript. Doxygen will generate the search PHP script and index
-# file to put on the web server. The advantage of the server based approach is that it scales better to large projects and allows full text search. The disadvances is that it is more difficult to setup
-# and does not have live searching capabilities.
-
-SERVER_BASED_SEARCH    = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
-# generate Latex output.
-
-GENERATE_LATEX         = NO
-
-# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be
-# put in front of it. If left blank `latex' will be used as the default path.
-
-LATEX_OUTPUT           = latex
-
-# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
-# invoked. If left blank `latex' will be used as the default command name.
-# Note that when enabling USE_PDFLATEX this option is only used for
-# generating bitmaps for formulas in the HTML output, but not in the
-# Makefile that is written to the output directory.
-
-LATEX_CMD_NAME         = latex
-
-# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
-# generate index for LaTeX. If left blank `makeindex' will be used as the
-# default command name.
-
-MAKEINDEX_CMD_NAME     = makeindex
-
-# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
-# LaTeX documents. This may be useful for small projects and may help to
-# save some trees in general.
-
-COMPACT_LATEX          = NO
-
-# The PAPER_TYPE tag can be used to set the paper type that is used
-# by the printer. Possible values are: a4, a4wide, letter, legal and
-# executive. If left blank a4wide will be used.
-
-PAPER_TYPE             = a4wide
-
-# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
-# packages that should be included in the LaTeX output.
-
-EXTRA_PACKAGES         =
-
-# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
-# the generated latex document. The header should contain everything until
-# the first chapter. If it is left blank doxygen will generate a
-# standard header. Notice: only use this tag if you know what you are doing!
-
-LATEX_HEADER           =
-
-# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
-# is prepared for conversion to pdf (using ps2pdf). The pdf file will
-# contain links (just like the HTML output) instead of page references
-# This makes the output suitable for online browsing using a pdf viewer.
-
-PDF_HYPERLINKS         = NO
-
-# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
-# plain latex in the generated Makefile. Set this option to YES to get a
-# higher quality PDF documentation.
-
-USE_PDFLATEX           = NO
-
-# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
-# command to the generated LaTeX files. This will instruct LaTeX to keep
-# running if errors occur, instead of asking the user for help.
-# This option is also used when generating formulas in HTML.
-
-LATEX_BATCHMODE        = NO
-
-# If LATEX_HIDE_INDICES is set to YES then doxygen will not
-# include the index chapters (such as File Index, Compound Index, etc.)
-# in the output.
-
-LATEX_HIDE_INDICES     = NO
-
-# If LATEX_SOURCE_CODE is set to YES then doxygen will include source code with syntax highlighting in the LaTeX output. Note that which sources are shown also depends on other settings such as SOURCE_BROWSER.
-
-LATEX_SOURCE_CODE      = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to the RTF output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
-# The RTF output is optimized for Word 97 and may not look very pretty with
-# other RTF readers or editors.
-
-GENERATE_RTF           = NO
-
-# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be
-# put in front of it. If left blank `rtf' will be used as the default path.
-
-RTF_OUTPUT             = rtf
-
-# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
-# RTF documents. This may be useful for small projects and may help to
-# save some trees in general.
-
-COMPACT_RTF            = NO
-
-# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
-# will contain hyperlink fields. The RTF file will
-# contain links (just like the HTML output) instead of page references.
-# This makes the output suitable for online browsing using WORD or other
-# programs which support those fields.
-# Note: wordpad (write) and others do not support links.
-
-RTF_HYPERLINKS         = NO
-
-# Load stylesheet definitions from file. Syntax is similar to doxygen's
-# config file, i.e. a series of assignments. You only have to provide
-# replacements, missing definitions are set to their default value.
-
-RTF_STYLESHEET_FILE    =
-
-# Set optional variables used in the generation of an rtf document.
-# Syntax is similar to doxygen's config file.
-
-RTF_EXTENSIONS_FILE    =
-
-#---------------------------------------------------------------------------
-# configuration options related to the man page output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
-# generate man pages
-
-GENERATE_MAN           = NO
-
-# The MAN_OUTPUT tag is used to specify where the man pages will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be
-# put in front of it. If left blank `man' will be used as the default path.
-
-MAN_OUTPUT             = man
-
-# The MAN_EXTENSION tag determines the extension that is added to
-# the generated man pages (default is the subroutine's section .3)
-
-MAN_EXTENSION          = .3
-
-# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
-# then it will generate one additional man file for each entity
-# documented in the real man page(s). These additional files
-# only source the real man page, but without them the man command
-# would be unable to find the correct page. The default is NO.
-
-MAN_LINKS              = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to the XML output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_XML tag is set to YES Doxygen will
-# generate an XML file that captures the structure of
-# the code including all documentation.
-
-GENERATE_XML           = NO
-
-# The XML_OUTPUT tag is used to specify where the XML pages will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be
-# put in front of it. If left blank `xml' will be used as the default path.
-
-XML_OUTPUT             = xml
-
-# The XML_SCHEMA tag can be used to specify an XML schema,
-# which can be used by a validating XML parser to check the
-# syntax of the XML files.
-
-XML_SCHEMA             =
-
-# The XML_DTD tag can be used to specify an XML DTD,
-# which can be used by a validating XML parser to check the
-# syntax of the XML files.
-
-XML_DTD                =
-
-# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
-# dump the program listings (including syntax highlighting
-# and cross-referencing information) to the XML output. Note that
-# enabling this will significantly increase the size of the XML output.
-
-XML_PROGRAMLISTING     = YES
-
-#---------------------------------------------------------------------------
-# configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
-# generate an AutoGen Definitions (see autogen.sf.net) file
-# that captures the structure of the code including all
-# documentation. Note that this feature is still experimental
-# and incomplete at the moment.
-
-GENERATE_AUTOGEN_DEF   = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_PERLMOD tag is set to YES Doxygen will
-# generate a Perl module file that captures the structure of
-# the code including all documentation. Note that this
-# feature is still experimental and incomplete at the
-# moment.
-
-GENERATE_PERLMOD       = NO
-
-# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
-# the necessary Makefile rules, Perl scripts and LaTeX code to be able
-# to generate PDF and DVI output from the Perl module output.
-
-PERLMOD_LATEX          = NO
-
-# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
-# nicely formatted so it can be parsed by a human reader.
-# This is useful
-# if you want to understand what is going on.
-# On the other hand, if this
-# tag is set to NO the size of the Perl module output will be much smaller
-# and Perl will parse it just the same.
-
-PERLMOD_PRETTY         = YES
-
-# The names of the make variables in the generated doxyrules.make file
-# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
-# This is useful so different doxyrules.make files included by the same
-# Makefile don't overwrite each other's variables.
-
-PERLMOD_MAKEVAR_PREFIX =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor
-#---------------------------------------------------------------------------
-
-# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
-# evaluate all C-preprocessor directives found in the sources and include
-# files.
-
-ENABLE_PREPROCESSING   = YES
-
-# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
-# names in the source code. If set to NO (the default) only conditional
-# compilation will be performed. Macro expansion can be done in a controlled
-# way by setting EXPAND_ONLY_PREDEF to YES.
-
-MACRO_EXPANSION        = YES
-
-# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
-# then the macro expansion is limited to the macros specified with the
-# PREDEFINED and EXPAND_AS_DEFINED tags.
-
-EXPAND_ONLY_PREDEF     = NO
-
-# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
-# in the INCLUDE_PATH (see below) will be search if a #include is found.
-
-SEARCH_INCLUDES        = YES
-
-# The INCLUDE_PATH tag can be used to specify one or more directories that
-# contain include files that are not input files but should be processed by
-# the preprocessor.
-
-INCLUDE_PATH           =
-
-# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
-# patterns (like *.h and *.hpp) to filter out the header-files in the
-# directories. If left blank, the patterns specified with FILE_PATTERNS will
-# be used.
-
-INCLUDE_FILE_PATTERNS  =
-
-# The PREDEFINED tag can be used to specify one or more macro names that
-# are defined before the preprocessor is started (similar to the -D option of
-# gcc). The argument of the tag is a list of macros of the form: name
-# or name=definition (no spaces). If the definition and the = are
-# omitted =1 is assumed. To prevent a macro definition from being
-# undefined via #undef or recursively expanded use the := operator
-# instead of the = operator.
-
-PREDEFINED             =
-
-# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
-# this tag can be used to specify a list of macro names that should be expanded.
-# The macro definition that is found in the sources will be used.
-# Use the PREDEFINED tag if you want to use a different macro definition.
-
-EXPAND_AS_DEFINED      =
-
-# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
-# doxygen's preprocessor will remove all function-like macros that are alone
-# on a line, have an all uppercase name, and do not end with a semicolon. Such
-# function macros are typically used for boiler-plate code, and will confuse
-# the parser if not removed.
-
-SKIP_FUNCTION_MACROS   = YES
-
-#---------------------------------------------------------------------------
-# Configuration::additions related to external references
-#---------------------------------------------------------------------------
-
-# The TAGFILES option can be used to specify one or more tagfiles.
-# Optionally an initial location of the external documentation
-# can be added for each tagfile. The format of a tag file without
-# this location is as follows:
-#
-# TAGFILES = file1 file2 ...
-# Adding location for the tag files is done as follows:
-#
-# TAGFILES = file1=loc1 "file2 = loc2" ...
-# where "loc1" and "loc2" can be relative or absolute paths or
-# URLs. If a location is present for each tag, the installdox tool
-# does not have to be run to correct the links.
-# Note that each tag file must have a unique name
-# (where the name does NOT include the path)
-# If a tag file is not located in the directory in which doxygen
-# is run, you must also specify the path to the tagfile here.
-
-TAGFILES               =
-
-# When a file name is specified after GENERATE_TAGFILE, doxygen will create
-# a tag file that is based on the input files it reads.
-
-GENERATE_TAGFILE       =
-
-# If the ALLEXTERNALS tag is set to YES all external classes will be listed
-# in the class index. If set to NO only the inherited external classes
-# will be listed.
-
-ALLEXTERNALS           = NO
-
-# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
-# in the modules index. If set to NO, only the current project's groups will
-# be listed.
-
-EXTERNAL_GROUPS        = YES
-
-# The PERL_PATH should be the absolute path and name of the perl script
-# interpreter (i.e. the result of `which perl').
-
-PERL_PATH              = /usr/bin/perl
-
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool
-#---------------------------------------------------------------------------
-
-# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
-# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
-# or super classes. Setting the tag to NO turns the diagrams off. Note that
-# this option is superseded by the HAVE_DOT option below. This is only a
-# fallback. It is recommended to install and use dot, since it yields more
-# powerful graphs.
-
-CLASS_DIAGRAMS         = YES
-
-# You can define message sequence charts within doxygen comments using the \msc
-# command. Doxygen will then run the mscgen tool (see
-# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
-# documentation. The MSCGEN_PATH tag allows you to specify the directory where
-# the mscgen tool resides. If left empty the tool is assumed to be found in the
-# default search path.
-
-MSCGEN_PATH            =
-
-# If set to YES, the inheritance and collaboration graphs will hide
-# inheritance and usage relations if the target is undocumented
-# or is not a class.
-
-HIDE_UNDOC_RELATIONS   = NO
-
-# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
-# available from the path. This tool is part of Graphviz, a graph visualization
-# toolkit from AT&T and Lucent Bell Labs. The other options in this section
-# have no effect if this option is set to NO (the default)
-
-HAVE_DOT               = YES
-
-# By default doxygen will write a font called FreeSans.ttf to the output
-# directory and reference it in all dot files that doxygen generates. This
-# font does not include all possible unicode characters however, so when you need
-# these (or just want a differently looking font) you can specify the font name
-# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
-# which can be done by putting it in a standard location or by setting the
-# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
-# containing the font.
-
-DOT_FONTNAME           = FreeSans
-
-# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
-# The default size is 10pt.
-
-DOT_FONTSIZE           = 10
-
-# By default doxygen will tell dot to use the output directory to look for the
-# FreeSans.ttf font (which doxygen will put there itself). If you specify a
-# different font using DOT_FONTNAME you can set the path where dot
-# can find it using this tag.
-
-DOT_FONTPATH           =
-
-# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
-# will generate a graph for each documented class showing the direct and
-# indirect inheritance relations. Setting this tag to YES will force the
-# the CLASS_DIAGRAMS tag to NO.
-
-CLASS_GRAPH            = YES
-
-# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
-# will generate a graph for each documented class showing the direct and
-# indirect implementation dependencies (inheritance, containment, and
-# class references variables) of the class with other documented classes.
-
-COLLABORATION_GRAPH    = YES
-
-# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
-# will generate a graph for groups, showing the direct groups dependencies
-
-GROUP_GRAPHS           = YES
-
-# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
-# collaboration diagrams in a style similar to the OMG's Unified Modeling
-# Language.
-
-UML_LOOK               = YES
-
-# If set to YES, the inheritance and collaboration graphs will show the
-# relations between templates and their instances.
-
-TEMPLATE_RELATIONS     = YES
-
-# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
-# tags are set to YES then doxygen will generate a graph for each documented
-# file showing the direct and indirect include dependencies of the file with
-# other documented files.
-
-INCLUDE_GRAPH          = YES
-
-# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
-# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
-# documented header file showing the documented files that directly or
-# indirectly include this file.
-
-INCLUDED_BY_GRAPH      = YES
-
-# If the CALL_GRAPH and HAVE_DOT options are set to YES then
-# doxygen will generate a call dependency graph for every global function
-# or class method. Note that enabling this option will significantly increase
-# the time of a run. So in most cases it will be better to enable call graphs
-# for selected functions only using the \callgraph command.
-
-CALL_GRAPH             = YES
-
-# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
-# doxygen will generate a caller dependency graph for every global function
-# or class method. Note that enabling this option will significantly increase
-# the time of a run. So in most cases it will be better to enable caller
-# graphs for selected functions only using the \callergraph command.
-
-CALLER_GRAPH           = YES
-
-# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
-# will graphical hierarchy of all classes instead of a textual one.
-
-GRAPHICAL_HIERARCHY    = YES
-
-# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
-# then doxygen will show the dependencies a directory has on other directories
-# in a graphical way. The dependency relations are determined by the #include
-# relations between the files in the directories.
-
-DIRECTORY_GRAPH        = YES
-
-# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
-# generated by dot. Possible values are png, jpg, or gif
-# If left blank png will be used.
-
-DOT_IMAGE_FORMAT       = png
-
-# The tag DOT_PATH can be used to specify the path where the dot tool can be
-# found. If left blank, it is assumed the dot tool can be found in the path.
-
-DOT_PATH               =
-
-# The DOTFILE_DIRS tag can be used to specify one or more directories that
-# contain dot files that are included in the documentation (see the
-# \dotfile command).
-
-DOTFILE_DIRS           =
-
-# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
-# nodes that will be shown in the graph. If the number of nodes in a graph
-# becomes larger than this value, doxygen will truncate the graph, which is
-# visualized by representing a node as a red box. Note that doxygen if the
-# number of direct children of the root node in a graph is already larger than
-# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
-# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
-
-DOT_GRAPH_MAX_NODES    = 50
-
-# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
-# graphs generated by dot. A depth value of 3 means that only nodes reachable
-# from the root by following a path via at most 3 edges will be shown. Nodes
-# that lay further from the root node will be omitted. Note that setting this
-# option to 1 or 2 may greatly reduce the computation time needed for large
-# code bases. Also note that the size of a graph can be further restricted by
-# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
-
-MAX_DOT_GRAPH_DEPTH    = 0
-
-# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
-# background. This is disabled by default, because dot on Windows does not
-# seem to support this out of the box. Warning: Depending on the platform used,
-# enabling this option may lead to badly anti-aliased labels on the edges of
-# a graph (i.e. they become hard to read).
-
-DOT_TRANSPARENT        = YES
-
-# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
-# files in one run (i.e. multiple -o and -T options on the command line). This
-# makes dot run faster, but since only newer versions of dot (>1.8.10)
-# support this, this feature is disabled by default.
-
-DOT_MULTI_TARGETS      = NO
-
-# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
-# generate a legend page explaining the meaning of the various boxes and
-# arrows in the dot generated graphs.
-
-GENERATE_LEGEND        = YES
-
-# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
-# remove the intermediate dot files that are used to generate
-# the various graphs.
-
-DOT_CLEANUP            = YES
diff --git a/application/.htaccess b/application/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/selector/.htaccess b/application/selector/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/selector/admin/.htaccess b/application/selector/admin/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 204800fa0989a380bd091bf2684522ff4badb73b..dd4ee5c036e3b2184f01cf6c013167b5c3a44f18 100644 (file)
@@ -78,7 +78,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                // Is the instance there?
                if (is_null(self::$selfInstance)) {
                        self::$selfInstance = new ApplicationHelper();
                // Is the instance there?
                if (is_null(self::$selfInstance)) {
                        self::$selfInstance = new ApplicationHelper();
-               } // END - if
+               }
 
                // Return the instance
                return self::$selfInstance;
 
                // Return the instance
                return self::$selfInstance;
@@ -167,7 +167,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                        // Then use it
                        $response = strtolower($requestInstance->getRequestElement('request'));
                        $responseType = $response;
                        // Then use it
                        $response = strtolower($requestInstance->getRequestElement('request'));
                        $responseType = $response;
-               } // END - if
+               }
 
                // ... and a new response object
                $responseClass = sprintf('%sResponse', self::convertToClassName($response));
 
                // ... and a new response object
                $responseClass = sprintf('%sResponse', self::convertToClassName($response));
@@ -186,7 +186,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
 
                        // Set it in request
                        $requestInstance->setRequestElement('command', $commandName);
 
                        // Set it in request
                        $requestInstance->setRequestElement('command', $commandName);
-               } // END - if
+               }
 
                // Get a controller resolver
                $resolverClass = self::convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
 
                // Get a controller resolver
                $resolverClass = self::convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
@@ -238,6 +238,3 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                return 'node_main';
        }
 }
                return 'node_main';
        }
 }
-
-// [EOF]
-?>
index 8dd0648a040fceabeee49c7d2333c9519c5f2ae4..1a7aa40401dfc3cb6a23a3bee82fe7ffd5cce59a 100644 (file)
@@ -112,7 +112,7 @@ class ApplicationSelector extends BaseFrameworkSystem {
 
                        // Add the current instance to the list
                        $this->foundApps->append($app);
 
                        // Add the current instance to the list
                        $this->foundApps->append($app);
-               } // END - if ((is_file(...
+               } ((is_file(...
        }
 
        /**
        }
 
        /**
@@ -175,7 +175,7 @@ class ApplicationSelector extends BaseFrameworkSystem {
                                // Load the application's data.php script and append the
                                // application to the ArrayObject
                                $this->loadApplicationData($appData, $appName);
                                // Load the application's data.php script and append the
                                // application to the ArrayObject
                                $this->loadApplicationData($appData, $appName);
-                       } // END - if
+                       }
                } // END - while
 
                // Close directory pointer
                } // END - while
 
                // Close directory pointer
@@ -280,6 +280,3 @@ class ApplicationSelector extends BaseFrameworkSystem {
                } // END - for
        }
 }
                } // END - for
        }
 }
-
-// [EOF]
-?>
index 49fe491d6a9599aef4c47877003aa541c0d67906..54610f2e0a8657558ebbf7f414f6e80b867892bd 100644 (file)
@@ -28,8 +28,8 @@ $cfg = FrameworkConfiguration::getSelfInstance();
 // CFG: HEADER-CHARSET
 $cfg->setConfigEntry('header_charset', 'utf-8');
 
 // CFG: HEADER-CHARSET
 $cfg->setConfigEntry('header_charset', 'utf-8');
 
-// CFG: DEFAULT-SELECTOR-HTML-COMMAND
-$cfg->setConfigEntry('default_selector_html_command', 'home');
+// CFG: DEFAULT-SELECTOR-HTTP-COMMAND
+$cfg->setConfigEntry('default_selector_http_command', 'home');
 
 // CFG: FORM-ACTION
 $cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&amp;command=do_form');
 
 // CFG: FORM-ACTION
 $cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&amp;command=do_form');
@@ -54,6 +54,3 @@ $cfg->setConfigEntry('news_reader_home_class', 'DefaultNewsReader');
 
 // CFG: NEWS-HOME-LIMIT
 $cfg->setConfigEntry('news_home_limit', 10);
 
 // CFG: NEWS-HOME-LIMIT
 $cfg->setConfigEntry('news_home_limit', 10);
-
-// [EOF]
-?>
index 6e633483a627b03af325e1cf8a1aea6e59a6f17d..a1f07eb6d9a822e6de69eb9f218338b7465c4733 100644 (file)
@@ -38,6 +38,3 @@ $app = call_user_func_array(
 $app->setAppName('Applikationsausw&auml;hler');
 $app->setAppVersion('0.1a');
 $app->setAppShortName($cfg->getConfigEntry('selector_name'));
 $app->setAppName('Applikationsausw&auml;hler');
 $app->setAppVersion('0.1a');
 $app->setAppShortName($cfg->getConfigEntry('selector_name'));
-
-// [EOF]
-?>
index 077d3785e044a81ccb35399312bd736c4a7d9c55..f735e72063ae01faac882a810462b585fde0a477 100644 (file)
@@ -21,6 +21,3 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
-// [EOF]
-?>
index 1a93fc0f40263b94ede8938f1417f1f96b738bb6..510f7d598bdf44f20e63a2fb48ad808b3568159d 100644 (file)
@@ -63,7 +63,7 @@ function __assertHandler ($file, $line, $code) {
        // Empty code?
        if (empty($code)) {
                $code = '<em>Unknown</em>';
        // Empty code?
        if (empty($code)) {
                $code = '<em>Unknown</em>';
-       } // END - if
+       }
 
        // 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>',
 
        // 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>',
@@ -82,6 +82,3 @@ assert_options(ASSERT_WARNING,    0);
 assert_options(ASSERT_BAIL,       0);
 assert_options(ASSERT_QUIET_EVAL, 0);
 assert_options(ASSERT_CALLBACK,   '__assertHandler');
 assert_options(ASSERT_BAIL,       0);
 assert_options(ASSERT_QUIET_EVAL, 0);
 assert_options(ASSERT_CALLBACK,   '__assertHandler');
-
-// [EOF]
-?>
diff --git a/application/selector/exceptions/.htaccess b/application/selector/exceptions/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 9a0bd1017e82132d0ba2d47359645f5d7d356a5a..9aeb9b187cae300bd1b079b191c9708e7fdcc0f4 100644 (file)
@@ -33,7 +33,4 @@ ApplicationHelper::createDebugInstance('ApplicationHelper');
 
 // This application needs a database connection then we have to simply include
 // the inc/database.php script
 
 // 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]
-?>
+require $cfg->getConfigEntry('base_path') . 'inc/database.php';
diff --git a/application/selector/interfaces/.htaccess b/application/selector/interfaces/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/selector/language/.htaccess b/application/selector/language/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index bcb574f8154d52f5a3975cfac3ff08a8354d172f..6a9121525a8c5fd6857626ba0f2237b0661168ca 100644 (file)
@@ -24,6 +24,3 @@
 
 // Scan for application's classes, exceptions and interfaces
 ClassLoader::scanApplicationClasses();
 
 // Scan for application's classes, exceptions and interfaces
 ClassLoader::scanApplicationClasses();
-
-// [EOF]
-?>
diff --git a/application/selector/main/.htaccess b/application/selector/main/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index b6f4c45f5ba09ab297eaeb037510b7ae3e546ac4..7ba4259e6cc08e2b1b45c9b961aa0fa7a1a0925d 100644 (file)
@@ -48,6 +48,3 @@ if ((empty($app)) || (is_null($app))) {
 
 // Call user function
 call_user_func_array(array($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method')), array());
 
 // Call user function
 call_user_func_array(array($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method')), array());
-
-// [EOF]
-?>
diff --git a/application/selector/templates/.htaccess b/application/selector/templates/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/selector/templates/de/.htaccess b/application/selector/templates/de/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/selector/templates/de/code/.htaccess b/application/selector/templates/de/code/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/.htaccess b/application/shipsimu/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/admin/.htaccess b/application/shipsimu/admin/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 204800fa0989a380bd091bf2684522ff4badb73b..84d51986e643920f3c6c17580dea62bf5ebddc3a 100644 (file)
@@ -1,4 +1,16 @@
 <?php
 <?php
+// Must be this namespace, else the launcher cannot find the class.
+namespace Org\Mxchange\CoreFramework\Helper\Application;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Application\BaseApplication;
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Loader\ClassLoader;
+use Org\Mxchange\CoreFramework\Manager\ManageableApplication;
+use Org\Mxchange\CoreFramework\Registry\Registerable;
+use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
+
 /**
  * A class holding general data about the application and some methods for
  * the management including the entry point.
 /**
  * A class holding general data about the application and some methods for
  * the management including the entry point.
@@ -22,7 +34,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2012 Ship-Simu Developer Team
+ * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2022 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
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
  * 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;
-
+class ApplicationHelper extends BaseApplication implements ManageableApplication, Registerable {
        /**
         * Private constructor
         *
         * @return      void
         */
        /**
         * Private constructor
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -76,105 +68,54 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
         */
        public static final function getSelfInstance () {
                // Is the instance there?
         */
        public static final function getSelfInstance () {
                // Is the instance there?
-               if (is_null(self::$selfInstance)) {
-                       self::$selfInstance = new ApplicationHelper();
-               } // END - if
+               if (is_null(self::getApplicationInstance())) {
+                       self::setApplicationInstance(new ApplicationHelper());
+               }
 
                // Return the instance
 
                // Return the instance
-               return self::$selfInstance;
+               return self::getApplicationInstance();
        }
 
        /**
        }
 
        /**
-        * Getter for the version number
-        *
-        * @return      $appVersion     The application's version number
-        */
-       public final function getAppVersion () {
-               return $this->appVersion;
-       }
-       /**
-        * Setter for the version number
+        * 1) Setups application data
         *
         *
-        * @param       $appVersion     The application's version number
         * @return      void
         */
         * @return      void
         */
-       public final function setAppVersion ($appVersion) {
-               // Cast and set it
-               $this->appVersion = (string) $appVersion;
+       public function setupApplicationData () {
+               // Set all application data
+               $this->setAppName('Ship-Simu Shipping Simulator');
+               $this->setAppVersion('0.0.0');
+               $this->setAppShortName('shipsimu');
        }
 
        /**
        }
 
        /**
-        * Getter for human-readable name
+        * 2) Does initial stuff before starting the application
         *
         *
-        * @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
         */
         * @return      void
         */
-       public final function setAppName ($appName) {
-               // Cast and set it
-               $this->appName = (string) $appName;;
-       }
+       public function initApplication () {
+               // Get config instance
+               $cfg = FrameworkBootstrap::getConfigurationInstance();
 
 
-       /**
-        * Getter for short uni*-like name
-        *
-        * @return      $shortName      The application's short uni*-like name
-        */
-       public final function getAppShortName () {
-               return $this->shortName;
-       }
+               // Initialize output system
+               ApplicationHelper::createDebugInstance('ApplicationHelper');
 
 
-       /**
-        * 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;
+               /*
+                * This application needs a database connection then simply call init
+                * method.
+                */
+               FrameworkBootstrap::initDatabaseInstance();
        }
 
        /**
        }
 
        /**
-        * Launches the application
+        * 3) Launches the application
         *
         * @return      void
         */
         *
         * @return      void
         */
-       public final function entryPoint () {
-               // Set this application in registry
-               Registry::getRegistry()->addInstance('app', $this);
-
-               // Default response is console
-               $response = self::getResponseTypeFromSystem();
-               $responseType = self::getResponseTypeFromSystem();
-
-               // Create a new request object
-               $requestInstance = ObjectFactory::createObjectByName(self::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', self::convertToClassName($response));
-               $responseInstance = ObjectFactory::createObjectByName($responseClass, array($this));
-
-               // Remember response instance here
-               $this->setResponseInstance($responseInstance);
+       public function launchApplication () {
+               // Get request/response instances
+               $requestInstance  = FrameworkBootstrap::getRequestInstance();
+               $responseInstance = FrameworkBootstrap::getResponseInstance();
 
                // Get the parameter from the request
                $commandName = $requestInstance->getRequestElement('command');
 
                // Get the parameter from the request
                $commandName = $requestInstance->getRequestElement('command');
@@ -184,31 +125,55 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                        // Get default command
                        $commandName = $responseInstance->determineDefaultCommand();
 
                        // Get default command
                        $commandName = $responseInstance->determineDefaultCommand();
 
+                       // Debug message
+                       self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('commandName[%s]=%s', gettype($commandName), $commandName));
+
                        // Set it in request
                        $requestInstance->setRequestElement('command', $commandName);
                        // Set it in request
                        $requestInstance->setRequestElement('command', $commandName);
-               } // END - if
+               }
 
 
-               // Get a controller resolver
-               $resolverClass = self::convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
-               $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
+               // Is the request type 'html' ?
+               if (FrameworkBootstrap::getRequestTypeFromSystem() == 'html') {
+                       // The language system is needed for this
+                       $languageInstance = ObjectFactory::createObjectByConfiguredName('language_system_class');
 
 
-               // Get a controller instance as well
-               $this->setControllerInstance($resolverInstance->resolveController());
+                       // And set it here
+                       $this->setLanguageInstance($languageInstance);
+               }
 
 
-               // Initialize language system
-               $languageInstance = ObjectFactory::createObjectByConfiguredName('language_system_class');
+               // Configuration entry key
+               $configEntry = sprintf(
+                       '%s_%s_controller_resolver_class',
+                       $this->getAppShortName(),
+                       FrameworkBootstrap::getRequestTypeFromSystem()
+               );
 
 
-               // And set it here
-               $this->setLanguageInstance($languageInstance);
+               // Get a controller resolver instance
+               $resolverInstance = ObjectFactory::createObjectByConfiguredName($configEntry, [
+                       $commandName,
+               ]);
 
 
-               // Launch the main routine here
+               // Get a controller instance as well
+               $this->setControllerInstance($resolverInstance->resolveController());
+
+               // Launch the test suite here
                $this->getControllerInstance()->handleRequest($requestInstance, $responseInstance);
                $this->getControllerInstance()->handleRequest($requestInstance, $responseInstance);
+
+               // Only for console requests as this is the actual daemon
+               if ($requestType == 'console') {
+                       // -------------------------- Shutdown phase --------------------------
+                       // Shutting down the hub by saying "good bye" to all connected peers
+                       // and other hubs, flushing all queues and caches.
+                       self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('MAIN: Shutdown in progress, main loop exited.');
+                       $this->getControllerInstance()->executeShutdownFilters($requestInstance, $responseInstance);
+                       self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('MAIN: Shutdown completed. (This is the last line.)');
+               }
        }
 
        /**
         * Assigns extra application-depending data
         *
        }
 
        /**
         * Assigns extra application-depending data
         *
-        * @param       $templateInstance       An instance of a CompileableTemplate
+        * @param       $templateInstance       An instance of a CompileableTemplate class
         * @return      void
         * @todo        Nothing to add?
         */
         * @return      void
         * @todo        Nothing to add?
         */
@@ -226,7 +191,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                // Walk through all messages
                foreach ($messageList as $message) {
                        exit(__METHOD__ . ':MSG:' . $message);
                // Walk through all messages
                foreach ($messageList as $message) {
                        exit(__METHOD__ . ':MSG:' . $message);
-               } // END - foreach
+               }
        }
 
        /**
        }
 
        /**
@@ -235,9 +200,6 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
         * @return      $masterTemplateName             Name of the master template
         */
        public function buildMasterTemplateName () {
         * @return      $masterTemplateName             Name of the master template
         */
        public function buildMasterTemplateName () {
-               return 'node_main';
+               return 'node_daemon';
        }
 }
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/.htaccess b/application/shipsimu/classes/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/actions/.htaccess b/application/shipsimu/classes/actions/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 41dcce09f404ffdf6eb8060850a8f066b057abf4..186c151dcc0b5047ac464f69818fa0a9fe3cf5f7 100644 (file)
@@ -57,6 +57,3 @@ class BaseShipSimuAction extends BaseAction {
                // Unfinished method
        }
 }
                // Unfinished method
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/actions/ship-simu/.htaccess b/application/shipsimu/classes/actions/ship-simu/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 2fbee377e11e32e7f25e0dc31eb67f8550cd3fef..962faf574a3c5e23d2ab723b344a6ab91a16b42b 100644 (file)
@@ -60,6 +60,3 @@ class ShipSimuLoginAction extends BaseShipSimuAction implements PerformableActio
                // Add your code here
        }
 }
                // Add your code here
        }
 }
-
-// [EOF]
-?>
index 56090bff1abe779177b10be40dc181468c405256..e1d47a21b2ae1573a71f984b54513bf810602ab3 100644 (file)
@@ -60,6 +60,3 @@ class ShipSimuProfileAction extends BaseShipSimuAction implements PerformableAct
                // Add your code here...
        }
 }
                // Add your code here...
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/actions/web/.htaccess b/application/shipsimu/classes/actions/web/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 842d6cb9f343ce5c41667fbf1de9182fd4d96dc4..1d51201e45f7ed69451cc3acbb2e5f19c7229316 100644 (file)
@@ -77,6 +77,3 @@ class WebShipSimuLoginCompanyAction extends BaseShipSimuAction implements Comman
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
-
-// [EOF]
-?>
index fa6248181358e610ee2e307a14e5a3086fc111b8..bb22691678da437de1aa01859efcc17a4ce93f60 100644 (file)
@@ -80,6 +80,3 @@ class WebShipSimuLoginGovernmentStartupHelpAction extends BaseShipSimuAction imp
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_startup_help_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_startup_help_filter'));
        }
 }
-
-// [EOF]
-?>
index fcbc7118cb87538ac1c9fc31191b9626c8037f12..1e414b71371f7e84118bb33c7111c0d4c35289b6 100644 (file)
@@ -80,6 +80,3 @@ class WebShipSimuLoginGovernmentTrainingAction extends BaseShipSimuAction implem
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_training_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_training_filter'));
        }
 }
-
-// [EOF]
-?>
index 9b066a9ec395ab88cbe2459dbd3f2df8997a70dd..c546241e3ef1d28a13ef2550511865f134217fa5 100644 (file)
@@ -76,6 +76,3 @@ class WebShipSimuLoginLogoutAction extends BaseShipSimuAction implements Command
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
-
-// [EOF]
-?>
index 58d674506d413e6b62432711a329786298a0ea9b..b0f13ed01d0fe1db4737ea34d433d6fd9c4650de 100644 (file)
@@ -77,6 +77,3 @@ class WebShipSimuLoginProfileAction extends BaseShipSimuAction implements Comman
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
-
-// [EOF]
-?>
index 31c73372cd2fc5c071a451ccec1fef44d34ac83c..42a26902cf71fdd593165fb112d381341382af7b 100644 (file)
@@ -82,6 +82,3 @@ class WebShipSimuLoginRefillAction extends BaseShipSimuAction implements Command
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('payment_discovery_filter', array($this)));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('payment_discovery_filter', array($this)));
        }
 }
-
-// [EOF]
-?>
index 8b26b8fad31fe239e84f694c0e218bca0fb08734..fc0eb314636ac302583ca3f18934625eec1a6329 100644 (file)
@@ -77,6 +77,3 @@ class WebShipSimuLoginStatusProblemAction extends BaseShipSimuAction implements
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
-
-// [EOF]
-?>
index d839bd1f1efd8d7b90e9d9fef561936f5e0e763e..b363012e332b6b4de7f46830b306ee349e72cfb3 100644 (file)
@@ -76,6 +76,3 @@ class WebShipSimuLoginWelcomeAction extends BaseShipSimuAction implements Comman
                // Unfinished method
        }
 }
                // Unfinished method
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/bank/.htaccess b/application/shipsimu/classes/bank/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 21ae0d5cf0b32f6ae4ac3ca0722b6435c45ac76c..29bc89520847f41d80d4fc9e9fdb4a7a618d36e8 100644 (file)
@@ -55,6 +55,3 @@ abstract class BaseBank extends BaseFrameworkSystem {
         */
        public abstract function ifMoneyBankHasOpened ();
 }
         */
        public abstract function ifMoneyBankHasOpened ();
 }
-
-// [EOF]
-?>
index 11d4d9ee1de563ce7b24f032941e5dc6dc7068b9..67029da4bfb3abc3834f441e1c2f2cd6abfcdb03 100644 (file)
@@ -55,7 +55,7 @@ class MoneyBank extends BaseBank implements Registerable {
         * @return      $lendsMoreMoney         Wether this bank lends more money to the user
         */
        public function ifBankLendsMoreMoney () {
         * @return      $lendsMoreMoney         Wether this bank lends more money to the user
         */
        public function ifBankLendsMoreMoney () {
-               $this->partialStub();
+               DebugMiddleware::getSelfInstance()->partialStub();
        }
 
        /**
        }
 
        /**
@@ -64,7 +64,7 @@ class MoneyBank extends BaseBank implements Registerable {
         * @return      $hasMaximumCredits      Wether the user has maximum allowed credits
         */
        public function ifUserHasMaxCredits () {
         * @return      $hasMaximumCredits      Wether the user has maximum allowed credits
         */
        public function ifUserHasMaxCredits () {
-               $this->partialStub();
+               DebugMiddleware::getSelfInstance()->partialStub();
        }
 
        /**
        }
 
        /**
@@ -83,12 +83,9 @@ class MoneyBank extends BaseBank implements Registerable {
 
                        // Then we simply "ask" the opening time instance if the user asks within the opening time
                        $hasOpened = $openingInstance->ifWithinOpeningTimes();
 
                        // 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;
        }
 }
 
                // Return status
                return $hasOpened;
        }
 }
-
-// [EOF]
-?>
index 8e08ec3556f335fd2f075b53b91c117134c0484f..7eecf8d9551f1f3f12c23703d17a47a0e26a59f4 100644 (file)
@@ -241,6 +241,3 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
                unset($this->married);
        }
 }
                unset($this->married);
        }
 }
-
-// [EOF]
-?>
index e460013c16858fd0c3df521e0d1671ba6e8e573d..a54ae221a307ecdb988d00240e4fba62667dff5c 100644 (file)
@@ -297,6 +297,3 @@ class BaseSimulator extends BaseFrameworkSystem {
                return $this->currPart;
        }
 }
                return $this->currPart;
        }
 }
-
-// [EOF]
-?>
index 648e299c86d18c507b5d715e3199203feaf9a13a..25d0220ea5ad98523e85df2cfd82c63f5f9104fb 100644 (file)
@@ -104,6 +104,3 @@ class Merchant extends BaseFrameworkSystem {
                $this->makeDeprecated();
        }
 }
                $this->makeDeprecated();
        }
 }
-
-// [EOF]
-?>
index bbe2f35aaad07e1fddf0156b640647d5057507bc..d22fc75170cf43e09dd8e454e9f9a3240e2dc2b2 100644 (file)
@@ -324,6 +324,3 @@ class WorksContract extends BaseFrameworkSystem implements SignableContract {
                return $totalPrice;
        }
 }
                return $totalPrice;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/commands/.htaccess b/application/shipsimu/classes/commands/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/commands/web/.htaccess b/application/shipsimu/classes/commands/web/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 14015a364eb0ca9962ee620f9d293a102626d7ce..1b1fe8a2b2a419ace15b324e0628149597fe1bb3 100644 (file)
@@ -77,7 +77,7 @@ class WebShipsimuGuestLoginCommand extends BaseCommand implements Commandable {
                                $responseInstance->redirectToConfiguredUrl('app_login');
 
                                // Exit here
                                $responseInstance->redirectToConfiguredUrl('app_login');
 
                                // Exit here
-                               exit();
+                               exit;
                        } catch (FrameworkException $e) {
                                // Something went wrong here!
                                $responseInstance->addFatalMessage($e->getMessage());
                        } catch (FrameworkException $e) {
                                // Something went wrong here!
                                $responseInstance->addFatalMessage($e->getMessage());
@@ -107,6 +107,3 @@ class WebShipsimuGuestLoginCommand extends BaseCommand implements Commandable {
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_guest_verifier_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_guest_verifier_filter'));
        }
 }
-
-// [EOF]
-?>
index a266f2608212da15d54992ab4311494194e077d0..1a2134aea4f2f601ab8ad7e39662f14c5447f663 100644 (file)
@@ -107,7 +107,7 @@ class WebShipsimuProfileCommand extends BaseCommand implements Commandable {
                unset($this->allowedData);
 
                // Unfinished!
                unset($this->allowedData);
 
                // Unfinished!
-               $this->partialStub("Unfinished work.");
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished work.');
                $this->debugBackTrace();
        }
 
                $this->debugBackTrace();
        }
 
@@ -148,6 +148,3 @@ class WebShipsimuProfileCommand extends BaseCommand implements Commandable {
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('password_change_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('password_change_filter'));
        }
 }
-
-// [EOF]
-?>
index 1c9bd8ecad2e8f18c8c9691b0c9805ba18d63214..6fdf3d440073f9bb3eb6882a539c421af79a4fa8 100644 (file)
@@ -107,6 +107,3 @@ class WebShipsimuRefillCommand extends BaseCommand implements Commandable {
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName($filterName));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName($filterName));
        }
 }
-
-// [EOF]
-?>
index 181ce2f38fa211a8dd7db844903cb2ac4231f926..3d4ade48e56b21b79d611dba86772531d0a563b7 100644 (file)
@@ -112,6 +112,3 @@ class WebShipsimuRegisterCommand extends BaseCommand implements Commandable {
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('birthday_register_verifier_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('birthday_register_verifier_filter'));
        }
 }
-
-// [EOF]
-?>
index 2a33a8fe9e201c5c8e6c6484d7650ec9b5b2da46..72486ee981291ee95783dd75fc359332091c9a31 100644 (file)
@@ -77,7 +77,7 @@ class WebShipsimuUserLoginCommand extends BaseCommand implements Commandable {
                                $responseInstance->redirectToConfiguredUrl('app_login');
 
                                // Exit here
                                $responseInstance->redirectToConfiguredUrl('app_login');
 
                                // Exit here
-                               exit();
+                               exit;
                        } catch (FrameworkException $e) {
                                // Something went wrong here!
                                $responseInstance->addFatalMessage($e->getMessage());
                        } catch (FrameworkException $e) {
                                // Something went wrong here!
                                $responseInstance->addFatalMessage($e->getMessage());
@@ -119,6 +119,3 @@ class WebShipsimuUserLoginCommand extends BaseCommand implements Commandable {
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_user_verifier_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_user_verifier_filter'));
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/commands/web/company/.htaccess b/application/shipsimu/classes/commands/web/company/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 7fed46ffb6738598857e2073827aba908d8ef5e6..85d616eee99973464901b0b3d529d89895ffbdee 100644 (file)
@@ -83,6 +83,3 @@ class WebShipSimuCompanyCommand extends BaseCommand implements Commandable {
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/commands/web/government/.htaccess b/application/shipsimu/classes/commands/web/government/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 54ddb058ffaab1cd8c8f960bbee5ee2ad9cec19d..ccf4a3e4eeeb88c58d5205d9d410844d74394585 100644 (file)
@@ -66,7 +66,7 @@ class WebGovernmentFailedStartupCommand extends BaseCommand implements Commandab
                if ($actionInstance instanceof PerformableAction) {
                        // Execute the action (shall not output anything, see below why)
                        $actionInstance->execute($requestInstance, $responseInstance);
                if ($actionInstance instanceof PerformableAction) {
                        // Execute the action (shall not output anything, see below why)
                        $actionInstance->execute($requestInstance, $responseInstance);
-               } // END - if
+               }
 
                // Get the application instance
                $appInstance = $this->getResolverInstance()->getApplicationInstance();
 
                // Get the application instance
                $appInstance = $this->getResolverInstance()->getApplicationInstance();
@@ -141,6 +141,3 @@ class WebGovernmentFailedStartupCommand extends BaseCommand implements Commandab
                // Empty for now
        }
 }
                // Empty for now
        }
 }
-
-// [EOF]
-?>
index 7119196973b2921e1ba37220bcdbcd5540f32f80..db2afe84ec0bfa11f93b4cde6c1e13e2f3cb8d9a 100644 (file)
@@ -66,7 +66,7 @@ class WebGovernmentFailedTrainingCommand extends BaseCommand implements Commanda
                if ($actionInstance instanceof PerformableAction) {
                        // Execute the action (shall not output anything, see below why)
                        $actionInstance->execute($requestInstance, $responseInstance);
                if ($actionInstance instanceof PerformableAction) {
                        // Execute the action (shall not output anything, see below why)
                        $actionInstance->execute($requestInstance, $responseInstance);
-               } // END - if
+               }
 
                // Get the application instance
                $appInstance = $this->getResolverInstance()->getApplicationInstance();
 
                // Get the application instance
                $appInstance = $this->getResolverInstance()->getApplicationInstance();
@@ -141,6 +141,3 @@ class WebGovernmentFailedTrainingCommand extends BaseCommand implements Commanda
                // Empty for now
        }
 }
                // Empty for now
        }
 }
-
-// [EOF]
-?>
index 3153962dd4e4d86c9df73fae42c36ab73be712de..3715dc70c8413e7efd4f5dd719fbf42546a474d3 100644 (file)
@@ -91,6 +91,3 @@ class WebShipsimuGovernmentStartupCommand extends BaseCommand implements Command
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_government_verifier_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_government_verifier_filter'));
        }
 }
-
-// [EOF]
-?>
index 035e5e80718a1deb8346cf23316ebaf1c8a698b7..8d2eecd7869fa45b5e1a352d9279d566d68e6de3 100644 (file)
@@ -89,6 +89,3 @@ class WebShipsimuGovernmentTrainingCommand extends BaseCommand implements Comman
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_refill_verifier_filter'));
        }
 }
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_refill_verifier_filter'));
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/companies/.htaccess b/application/shipsimu/classes/companies/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index cee5cccfdd74ff943349c98f9083d1592f1f46b0..9601126fd435af8f8ccb5643eed2eb28ee2e2fbd 100644 (file)
@@ -92,7 +92,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                        // Then do some nasty caching here but don't throw an exception
                        // because then you will hurt our web helpers... :/
                        $companyInstance->partialStub("Don&#39;t throw exceptions here.");
                        // Then do some nasty caching here but don't throw an exception
                        // because then you will hurt our web helpers... :/
                        $companyInstance->partialStub("Don&#39;t throw exceptions here.");
-               } // END - if
+               }
 
                // Init all lists
                $companyInstance->initCompanyLists();
 
                // Init all lists
                $companyInstance->initCompanyLists();
@@ -124,7 +124,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                if ($resultInstance instanceof SearchableResult) {
                        // Set the result instance
                        $this->setResultInstance($resultInstance);
                if ($resultInstance instanceof SearchableResult) {
                        // Set the result instance
                        $this->setResultInstance($resultInstance);
-               } // END - if
+               }
 
                // Return result
                return $participates;
 
                // Return result
                return $participates;
@@ -146,8 +146,8 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                // Is it set?
                if ($resultInstance instanceof SearchableResult) {
                        // Result found so analyse it
                // Is it set?
                if ($resultInstance instanceof SearchableResult) {
                        // Result found so analyse it
-                       $this->partialStub("Check if user is company founder.");
-               } // END - if
+                       DebugMiddleware::getSelfInstance()->partialStub('Check if user is company founder.');
+               }
 
                // Return result
                return $isFounder;
 
                // Return result
                return $isFounder;
@@ -169,8 +169,8 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                // Is it set?
                if ($resultInstance instanceof SearchableResult) {
                        // Result found so analyse it
                // Is it set?
                if ($resultInstance instanceof SearchableResult) {
                        // Result found so analyse it
-                       $this->partialStub("Check if user is company owner.");
-               } // END - if
+                       DebugMiddleware::getSelfInstance()->partialStub('heck if user is company owner.');
+               }
 
                // Return result
                return $isOwner;
 
                // Return result
                return $isOwner;
@@ -192,7 +192,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                if ($resultInstance instanceof SearchableResult) {
                        // Result found so he is employee
                        $isEmployee = true;
                if ($resultInstance instanceof SearchableResult) {
                        // Result found so he is employee
                        $isEmployee = true;
-               } // END - if
+               }
 
                // Return result
                return $isEmployee;
 
                // Return result
                return $isEmployee;
@@ -240,7 +240,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                $dummy = explode(" ", $this->getCompanyName());
                foreach ($dummy as $part) {
                        $this->shortName .= substr($part, 0, 1);
                $dummy = explode(" ", $this->getCompanyName());
                foreach ($dummy as $part) {
                        $this->shortName .= substr($part, 0, 1);
-               } // END - if
+               }
        }
 
        // Reedereien Werften bauen lassen
        }
 
        // Reedereien Werften bauen lassen
@@ -304,7 +304,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                if ($totalUnemployed < $amount) {
                        // Reichte nicht aus!
                        throw new ToMuchEmployeesException(array($amount, $personellInstance->getAllUnemployed()), self::EXCEPTION_NOT_ENOUGTH_UNEMPLOYEES);
                if ($totalUnemployed < $amount) {
                        // Reichte nicht aus!
                        throw new ToMuchEmployeesException(array($amount, $personellInstance->getAllUnemployed()), self::EXCEPTION_NOT_ENOUGTH_UNEMPLOYEES);
-               } // END - if
+               }
 
                // Get list for all unemployed people
                $list = $personellInstance->getSpecialPersonellList(false); // Should be cached
 
                // Get list for all unemployed people
                $list = $personellInstance->getSpecialPersonellList(false); // Should be cached
@@ -328,7 +328,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                                if ($iterator->valid() === false) {
                                        // Should normally not happen... :(
                                        throw new StructuresOutOfBoundsException($idx, self::EXCEPTION_INDEX_OUT_OF_BOUNDS);
                                if ($iterator->valid() === false) {
                                        // Should normally not happen... :(
                                        throw new StructuresOutOfBoundsException($idx, self::EXCEPTION_INDEX_OUT_OF_BOUNDS);
-                               } // END - if
+                               }
 
                                // Get current element
                                $employee = $iterator->current();
 
                                // Get current element
                                $employee = $iterator->current();
@@ -392,7 +392,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                        if ($shipyardIter->valid() === false) {
                                // Rewind to first position
                                $shipyardIter->seek(0);
                        if ($shipyardIter->valid() === false) {
                                // Rewind to first position
                                $shipyardIter->seek(0);
-                       } // END - if
+                       }
 
                        // Get Shipyard object
                        $shipyard = $shipyardIter->current();
 
                        // Get Shipyard object
                        $shipyard = $shipyardIter->current();
@@ -603,7 +603,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                if ($partnerInstance->isContractPartner($contractInstance) === false) {
                        // Invalid contract partner!
                        throw new InvalidContractPartnerException($partnerInstance, self::EXCEPTION_CONTRACT_PARTNER_INVALID);
                if ($partnerInstance->isContractPartner($contractInstance) === false) {
                        // Invalid contract partner!
                        throw new InvalidContractPartnerException($partnerInstance, self::EXCEPTION_CONTRACT_PARTNER_INVALID);
-               } // END - if
+               }
 
                // Determine if company "signs" own contract (must be done) or with an other party
                if ($this->equals($partnerInstance)) {
 
                // Determine if company "signs" own contract (must be done) or with an other party
                if ($this->equals($partnerInstance)) {
@@ -661,6 +661,3 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                $contractInstance->setMerchantInstance($merchantInstance);
        }
 }
                $contractInstance->setMerchantInstance($merchantInstance);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/constructions/.htaccess b/application/shipsimu/classes/constructions/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/constructions/berths/.htaccess b/application/shipsimu/classes/constructions/berths/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index c96ba10678f685a6193bb883aba6053a70afdb68..6535ce06a7d9dc17153cbd6f145731ca88e45d6a 100644 (file)
@@ -34,6 +34,3 @@ class Berth extends BaseConstruction {
                parent::__construct(__CLASS__);
        }
 }
                parent::__construct(__CLASS__);
        }
 }
-
-// [EOF]
-?>
index af08a391791a515dab810f979a0c38f25e59ed9f..4e6947dfed59c493e50c1b1146c3dc7eec5b437e 100644 (file)
@@ -31,6 +31,3 @@ class BaseConstruction extends BaseSimulator {
                parent::__construct($className);
        }
 }
                parent::__construct($className);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/constructions/docks/.htaccess b/application/shipsimu/classes/constructions/docks/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index c9d6f8ed39c1532a77885f042254f55f863c48b4..c3e07fa1904708f240091d206e9acd72c89fe1db 100644 (file)
@@ -31,6 +31,3 @@ class DryDock extends BaseConstruction {
                parent::__construct(__CLASS__);
        }
 }
                parent::__construct(__CLASS__);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/constructions/harbors/.htaccess b/application/shipsimu/classes/constructions/harbors/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index cf350ce5f0c9371aee161d8cd2d2e48db7b59043..0d2af3814fdb8941d0fcd7e0c7e05b8f3b6762e8 100644 (file)
@@ -82,6 +82,3 @@ class Harbor extends BaseConstruction {
                $this->shipyardList->append(Shipyard::createShipyard($this, $shipyardName));
        }
 }
                $this->shipyardList->append(Shipyard::createShipyard($this, $shipyardName));
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/constructions/terminals/.htaccess b/application/shipsimu/classes/constructions/terminals/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 9ae998598ea21b6c85d009fbfb85fd801dea1a35..3de021991c6b92c1bde1406a778e6ecd2ee4a96f 100644 (file)
@@ -31,6 +31,3 @@ class Terminal extends BaseConstruction {
                parent::__construct(__CLASS__);
        }
 }
                parent::__construct(__CLASS__);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/constructions/yards/.htaccess b/application/shipsimu/classes/constructions/yards/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 1959f836dc2e0906d54f2868d8f6113b5cdb1ce3..630a09bc47ab9abddd5c5811392b1847a2a1abfc 100644 (file)
@@ -210,6 +210,3 @@ class Shipyard extends BaseConstruction {
                return $result;
        }
 }
                return $result;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/controller/.htaccess b/application/shipsimu/classes/controller/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/controller/html/.htaccess b/application/shipsimu/classes/controller/html/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 741cc5a57b867473f10c32c95042ab50fb1c43e6..fd4b6bf41c13d36e8d84a06c562be14aad0b243f 100644 (file)
@@ -85,11 +85,11 @@ class HtmlCompanyController extends BaseController implements Controller {
                        $responseInstance->redirectToConfiguredUrl('login_failed');
 
                        // Exit here
                        $responseInstance->redirectToConfiguredUrl('login_failed');
 
                        // Exit here
-                       exit();
+                       exit;
                }
 
                // This request was valid! :-D
                }
 
                // This request was valid! :-D
-               $requestInstance->requestIsValid();
+               $requestInstance->setIsRequestValid(TRUE);
 
                // Execute the command
                $commandInstance->execute($requestInstance, $responseInstance);
 
                // Execute the command
                $commandInstance->execute($requestInstance, $responseInstance);
@@ -101,6 +101,3 @@ class HtmlCompanyController extends BaseController implements Controller {
                $responseInstance->flushBuffer();
        }
 }
                $responseInstance->flushBuffer();
        }
 }
-
-// [EOF]
-?>
index 217b6b5dcd9c5862dde329c496b6e9a48e220af2..65d78659b84069377977413d42af56df82883d6d 100644 (file)
@@ -85,11 +85,11 @@ class HtmlGovernmentFailedController extends BaseController implements Controlle
                        $responseInstance->redirectToConfiguredUrl('login_failed');
 
                        // Exit here
                        $responseInstance->redirectToConfiguredUrl('login_failed');
 
                        // Exit here
-                       exit();
+                       exit;
                }
 
                // This request was valid! :-D
                }
 
                // This request was valid! :-D
-               $requestInstance->requestIsValid();
+               $requestInstance->setIsRequestValid(TRUE);
 
                // Execute the command
                $commandInstance->execute($requestInstance, $responseInstance);
 
                // Execute the command
                $commandInstance->execute($requestInstance, $responseInstance);
@@ -101,6 +101,3 @@ class HtmlGovernmentFailedController extends BaseController implements Controlle
                $responseInstance->flushBuffer();
        }
 }
                $responseInstance->flushBuffer();
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/drives/.htaccess b/application/shipsimu/classes/drives/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 56f9802e6c28c8958a13a8356227989caf835e9e..9968f8e6a416606e0babe3284063cf3eb41eaa72 100644 (file)
@@ -59,6 +59,3 @@ class BaseDrive extends BaseSimulator {
                unset($this->price);
        }
 }
                unset($this->price);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/drives/motor/.htaccess b/application/shipsimu/classes/drives/motor/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 2f3479edf6db816e44022ecd7fd4d44bb2f0a3af..708ab694e63d9a0c5accf3e5b5c07979ad9f430e 100644 (file)
@@ -51,6 +51,3 @@ class Motor extends BaseDrive implements TradeableItem, ConstructableShipPart {
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/factories/.htaccess b/application/shipsimu/classes/factories/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index e42b02118c1551cc0cda43ea4b14ff78b4399ffd..c60563a222ae06847f77f53c929133315f7d203d 100644 (file)
@@ -55,6 +55,3 @@ class ShipSimuWebNewsFactory extends BaseFrameworkSystem {
                // Do some stuff here
        }
 }
                // Do some stuff here
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/filter/.htaccess b/application/shipsimu/classes/filter/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/filter/book/.htaccess b/application/shipsimu/classes/filter/book/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/filter/book/refill/.htaccess b/application/shipsimu/classes/filter/book/refill/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index b7ff113bc557d1dad1ee227fe5562418a02f18cb..3e120efc0696c8b000c6f7d38077ad54b1326a1b 100644 (file)
@@ -67,6 +67,3 @@ class RefillRequestCurrencyTestBookFilter extends BaseShipSimuFilter implements
                $userInstance->bookAmountDirectly($requestInstance);
        }
 }
                $userInstance->bookAmountDirectly($requestInstance);
        }
 }
-
-// [EOF]
-?>
index 7a80cf2c7a253cb72ab8d260aeeb7a633a106a1b..afb6ce475b9096328482d5448d9616031eba5692 100644 (file)
@@ -45,6 +45,3 @@ class BaseShipSimuFilter extends BaseFilter {
                // Add something to do on every filter
        }
 }
                // Add something to do on every filter
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/filter/government/.htaccess b/application/shipsimu/classes/filter/government/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 7becf1281867e092188faf9992e02f20a5994f6b..98e1e237704f7d92b539c53ef69d949a68bdfbb0 100644 (file)
@@ -63,16 +63,13 @@ class ShipSimuGovernmentPaysStartupHelpFilter extends BaseShipSimuFilter impleme
                // Now simply check for it
                if ((!$userInstance instanceof ManageableMember) || ($userInstance->ifGovernmentPaysStartupHelp() === false)) {
                        // Request is invalid
                // Now simply check for it
                if ((!$userInstance instanceof ManageableMember) || ($userInstance->ifGovernmentPaysStartupHelp() === false)) {
                        // Request is invalid
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->setIsRequestValid(FALSE);
 
                        // Redirect to configured URL
                        $responseInstance->redirectToConfiguredUrl('login_government_startup_failed');
 
                        // Stop processing here
 
                        // Redirect to configured URL
                        $responseInstance->redirectToConfiguredUrl('login_government_startup_failed');
 
                        // Stop processing here
-                       exit();
-               } // END - if
+                       exit;
+               }
        }
 }
        }
 }
-
-// [EOF]
-?>
index 75eb1cc3020c7a7c1284b095c1b295f841c5d357..c6117fbe029eaa448695bea914b76daa4811799a 100644 (file)
@@ -63,16 +63,13 @@ class ShipSimuGovernmentPaysTrainingFilter extends BaseShipSimuFilter implements
                // Now simply check for it
                if ((!$userInstance instanceof ManageableMember) || ($userInstance->ifGovernmentPaysTraining() === false)) {
                        // Request is invalid
                // Now simply check for it
                if ((!$userInstance instanceof ManageableMember) || ($userInstance->ifGovernmentPaysTraining() === false)) {
                        // Request is invalid
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->setIsRequestValid(FALSE);
 
                        // Redirect to configured URL
                        $responseInstance->redirectToConfiguredUrl('login_government_training_failed');
 
                        // Stop processing here
 
                        // Redirect to configured URL
                        $responseInstance->redirectToConfiguredUrl('login_government_training_failed');
 
                        // Stop processing here
-                       exit();
-               } // END - if
+                       exit;
+               }
        }
 }
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/filter/page/.htaccess b/application/shipsimu/classes/filter/page/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index d4680ba72a669bf0444580ef64c10a2020dc056b..9badacd1238eddacaf9a271954fa0ef3935d4fff 100644 (file)
@@ -60,16 +60,13 @@ class RefillPageFilter extends BaseShipSimuFilter implements Filterable {
                // Is the configuration variable set?
                if ($this->getConfigInstance()->getConfigEntry('refill_page_active') === "N") {
                        // Password is empty
                // Is the configuration variable set?
                if ($this->getConfigInstance()->getConfigEntry('refill_page_active') === "N") {
                        // Password is empty
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->setIsRequestValid(FALSE);
 
                        // Add a message to the response
                        $responseInstance->addFatalMessage('refill_page_not_active');
 
                        // Abort here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
 
                        // Add a message to the response
                        $responseInstance->addFatalMessage('refill_page_not_active');
 
                        // Abort here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
-               } // END - if
+               }
        }
 }
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/filter/validator/.htaccess b/application/shipsimu/classes/filter/validator/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 3abd7baa14d4bcbd98061f8ec5b4ad9d76cb6033..042fdc5a46890e8b41d2d3cb6d45ff15f0dd533b 100644 (file)
@@ -61,16 +61,13 @@ class RefillRequestValidatorFilter extends BaseShipSimuFilter implements Filtera
                // Are all required request fields set?
                if (($requestInstance->isRequestElementSet('type') === false) || ($requestInstance->isRequestElementSet('amount') === false)) {
                        // Something important is missing
                // Are all required request fields set?
                if (($requestInstance->isRequestElementSet('type') === false) || ($requestInstance->isRequestElementSet('amount') === false)) {
                        // Something important is missing
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->setIsRequestValid(FALSE);
 
                        // Add a message to the response
                        $responseInstance->addFatalMessage('refill_page_required_fields_missing');
 
                        // Abort here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
 
                        // Add a message to the response
                        $responseInstance->addFatalMessage('refill_page_required_fields_missing');
 
                        // Abort here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
-               } // END - if
+               }
        }
 }
        }
 }
-
-// [EOF]
-?>
index 989e1d47fa5df4e4ba7e11b487a119464c5c3ead..eb4315df4b407bcd4bd73c9f43c0c26e9932fe0f 100644 (file)
@@ -64,16 +64,13 @@ class ShipSimuUserStatusGuestFilter extends BaseShipSimuFilter implements Filter
                // Is the user account confirmed?
                if ($userInstance->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) == $this->getConfigInstance()->getConfigEntry('user_status_guest')) {
                        // Request is invalid!
                // Is the user account confirmed?
                if ($userInstance->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) == $this->getConfigInstance()->getConfigEntry('user_status_guest')) {
                        // Request is invalid!
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->setIsRequestValid(FALSE);
 
                        // Redirect to configured URL
                        $responseInstance->redirectToConfiguredUrl('login_user_status_guest');
 
                        // Stop processing here
 
                        // Redirect to configured URL
                        $responseInstance->redirectToConfiguredUrl('login_user_status_guest');
 
                        // Stop processing here
-                       exit();
-               } // END - if
+                       exit;
+               }
        }
 }
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/government/.htaccess b/application/shipsimu/classes/government/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 8999153e811c7e8e73441c2504f2c3a330c0801f..5e44b32f7292dfcce391c670e2e812e905180a00 100644 (file)
@@ -87,7 +87,7 @@ class SimplifiedGovernment extends BaseFrameworkSystem implements Registerable {
 
                        // Entry was found so the government can no more pay a training
                        $alreadyPayed = true;
 
                        // Entry was found so the government can no more pay a training
                        $alreadyPayed = true;
-               } // END - if
+               }
 
                // Return the result
                return $alreadyPayed;
 
                // Return the result
                return $alreadyPayed;
@@ -126,12 +126,9 @@ class SimplifiedGovernment extends BaseFrameworkSystem implements Registerable {
 
                        // Entry found, so lets have a look if this government wants to again...
                        $maximumPayed = true;
 
                        // Entry found, so lets have a look if this government wants to again...
                        $maximumPayed = true;
-               } // END - if
+               }
 
                // Return the result
                return $maximumPayed;
        }
 }
 
                // Return the result
                return $maximumPayed;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/login/.htaccess b/application/shipsimu/classes/login/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 97254495c9d185b027abcb8ae55f762bbe3a58ee..a30c272685fdbc8fb5150241cfb2efe181190667 100644 (file)
@@ -72,7 +72,7 @@ class ShipSimuGuestLogin extends BaseFrameworkSystem implements LoginableUser, R
                if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
                        // Mismatching password
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
                if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
                        // Mismatching password
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
-               } // END - if
+               }
 
                // Now do the real login. This can be cookie- or session-based login
                // which depends on the admins setting then on the user's taste.
 
                // Now do the real login. This can be cookie- or session-based login
                // which depends on the admins setting then on the user's taste.
@@ -120,9 +120,6 @@ class ShipSimuGuestLogin extends BaseFrameworkSystem implements LoginableUser, R
 
                        // Store the hash back in request
                        $this->getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword);
 
                        // Store the hash back in request
                        $this->getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword);
-               } // END - if
+               }
        }
 }
        }
 }
-
-// [EOF]
-?>
index 0b3cf7c2424b97642ca313f6d08b6179957bdbfd..a70bbafe059fe950b98f3c1ada24cbaf9496c9b7 100644 (file)
@@ -75,7 +75,7 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser, Re
                if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
                        // Mismatching password
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
                if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
                        // Mismatching password
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
-               } // END - if
+               }
 
                // ToDo place
 
 
                // ToDo place
 
@@ -125,9 +125,6 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser, Re
 
                        // Store the hash back in request
                        $this->getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword);
 
                        // Store the hash back in request
                        $this->getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword);
-               } // END - if
+               }
        }
 }
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/login/helper/.htaccess b/application/shipsimu/classes/login/helper/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index b5c125e0eba87acc4fcd848f97816029df6d555f..26e10ede73ef22d3806f974c274225b86e2ad866 100644 (file)
@@ -67,7 +67,7 @@ class ShipSimuLoginHelper extends BaseLoginHelper implements HelpableLogin {
                if (!$userInstance instanceof ManageableAccount) {
                        // Thrown an exception here
                        throw new UserInstanceMissingException (array($helperInstance, 'user'), self::EXCEPTION_INVALID_USER_INSTANCE);
                if (!$userInstance instanceof ManageableAccount) {
                        // Thrown an exception here
                        throw new UserInstanceMissingException (array($helperInstance, 'user'), self::EXCEPTION_INVALID_USER_INSTANCE);
-               } // END - if
+               }
 
                // Set default login method from config
                $helperInstance->setDefaultAuthMethod();
 
                // Set default login method from config
                $helperInstance->setDefaultAuthMethod();
@@ -109,6 +109,3 @@ class ShipSimuLoginHelper extends BaseLoginHelper implements HelpableLogin {
                Registry::getRegistry()->addInstance('login', $loginInstance);
        }
 }
                Registry::getRegistry()->addInstance('login', $loginInstance);
        }
 }
-
-//
-?>
diff --git a/application/shipsimu/classes/menu/.htaccess b/application/shipsimu/classes/menu/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 1dc56b76a79eed4990bec96fc6b9651e9f9d1e18..a96ef03c06ae466497570a1391f54e79c6fb1aeb 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuConfirmMenu extends BaseMenu implements RenderableMenu {
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
index ef013892391691fd90dd9cf413a3cfbb3d0fabd3..93e9e494a0d831193e4c72b0884c46fa0554a9e8 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuHomeMenu extends BaseMenu implements RenderableMenu {
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
index 038b1235a99efc53973d8535a33740f4c1f0b5ae..a4e2ce559ba5cf12d72dbb674e0756e39dace69c 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuLoginAreaMenu extends BaseMenu implements RenderableMenu {
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
index 69786548052f784156343a0cc1aaed1793fc270f..e98e8e5420542093553c7c5c42b0ea8493809618 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuLoginFailedMenu extends BaseMenu implements RenderableMenu {
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
index 7aa83e9d288c92632c99e5b2cd1688a7a0bc97b4..a51e7e89d949db504a411c85c6d6a2365dbd78bf 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuLoginMenu extends BaseMenu implements RenderableMenu {
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
index 76b6c68d3e1930904f12201ba4f4ca0142bdcc6e..f08884b60b9007e56155b9a91ad4dc949363b90d 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuLogoutMenu extends BaseMenu implements RenderableMenu {
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
index d2438f21badd9d18bdfb517d8eef73fa48a44201..0208c37ff9848aef189576e10f9981ab6b49d213 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuRegisterMenu extends BaseMenu implements RenderableMenu {
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
index fbc0434453cefe810b3ba4602314f5b832b68af8..876cf3cb025054639a1dc62d6df99820b0b6f5b3 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuStatusMenu extends BaseMenu implements RenderableMenu {
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/menu/government/.htaccess b/application/shipsimu/classes/menu/government/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 0d2112c0ac6405eb0e0fba493dbf03e6e685d991..6a301af7412f5e2418d6a3d2fd7142890a473e49 100644 (file)
@@ -45,6 +45,3 @@ class ShipSimuGovernmentFailedAreaMenu extends BaseMenu implements RenderableMen
                return $menuInstance;
        }
 }
                return $menuInstance;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/opening/.htaccess b/application/shipsimu/classes/opening/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/opening/bank/.htaccess b/application/shipsimu/classes/opening/bank/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 5136767cb47c77c285de4128cd69d966cc95d393..2bc503fac5dd6c61a54d14e7b178afaecc80103b 100644 (file)
@@ -58,6 +58,3 @@ class MoneyBankRealtimeOpening extends BaseOpening {
                $this->partialStub();
        }
 }
                $this->partialStub();
        }
 }
-
-// [EOF]
-?>
index 78f8983504572301f093305a1098ee6c01e07804..e8f886a89128d1f7e8b6c9a77c175ae71c4c8496 100644 (file)
@@ -56,5 +56,3 @@ abstract class BaseOpening extends BaseFrameworkSystem {
        public abstract function ifWithinOpeningTimes ();
 }
 
        public abstract function ifWithinOpeningTimes ();
 }
 
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/parts/.htaccess b/application/shipsimu/classes/parts/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index aca83a90ec9ac89ba22e03f318c3a2870ed722a9..8d476bb7e1687da26fd6439fe790e7cf589eb351 100644 (file)
@@ -46,6 +46,3 @@ class BaseShipPart extends BaseSimulator {
                unset($this->price);
        }
 }
                unset($this->price);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/parts/maschineroom/.htaccess b/application/shipsimu/classes/parts/maschineroom/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index bcd7b30ba00f5a2f25251ecad2a803372eb48a61..ea31cce7a7ba90670cc3e5ec84664797aa08e453 100644 (file)
@@ -42,6 +42,3 @@ class MaschineRoom extends BaseShipPart {
                return $roomInstance;
        }
 }
                return $roomInstance;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/personell/.htaccess b/application/shipsimu/classes/personell/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 8ff01e74d4c4d875da0fa71c953e86e1ab63a239..27b6202e812965af5020d0055698ee27a210de3c 100644 (file)
@@ -129,10 +129,10 @@ class SimulatorPersonell extends BasePersonell {
                if ($this->personelllList instanceof FrameworkArrayObject) {
                        // Throw an exception
                        throw new PersonellListAlreadyCreatedException($this, self::EXCEPTION_DIMENSION_ARRAY_INVALID);
                if ($this->personelllList instanceof FrameworkArrayObject) {
                        // Throw an exception
                        throw new PersonellListAlreadyCreatedException($this, self::EXCEPTION_DIMENSION_ARRAY_INVALID);
-               } // END - if
+               }
 
                // Initialize the array
 
                // Initialize the array
-               $this->personellList = new FrameworkArrayObject("FakedPersonellList");
+               $this->personellList = new FrameworkArrayObject('FakedPersonellList');
        }
 
        // Remove the personell list
        }
 
        // Remove the personell list
@@ -171,7 +171,7 @@ class SimulatorPersonell extends BasePersonell {
         *
         * @return      $cacheList      A list of cached personells
         */
         *
         * @return      $cacheList      A list of cached personells
         */
-       function getSpecialPersonellList ($isEmployed = null, $isMarried = null, $hasGender = "") {
+       function getSpecialPersonellList ($isEmployed = null, $isMarried = null, $hasGender = '') {
                // Serialize the conditions for checking if we can take the cache
                $serialized = serialize(array($isEmployed, $isMarried, $hasGender));
 
                // Serialize the conditions for checking if we can take the cache
                $serialized = serialize(array($isEmployed, $isMarried, $hasGender));
 
@@ -295,7 +295,7 @@ class SimulatorPersonell extends BasePersonell {
 
                        // Set typical family name
                        parent::setFamily("Smith");
 
                        // Set typical family name
                        parent::setFamily("Smith");
-               } // END - if
+               }
 
                // Return surname
                return $surname;
 
                // Return surname
                return $surname;
@@ -322,6 +322,3 @@ class SimulatorPersonell extends BasePersonell {
                $this->makeDeprecated();
        }
 }
                $this->makeDeprecated();
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/personell/company/.htaccess b/application/shipsimu/classes/personell/company/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 472692ed35a8cb57386cd5e9647779afeb482d04..300c936f09ba0dea27b33b620cd7562bea675495 100644 (file)
@@ -50,7 +50,7 @@ class CompanyEmployee extends SimulatorPersonell {
                if ($personellInstance->isDateValid($year, $month, $day) === false) {
                        // Something is wrong ...
                        throw new BirthdayInvalidException(array($year, $month, $day), self::EXCEPTION_BIRTH_DATE_IS_INVALID);
                if ($personellInstance->isDateValid($year, $month, $day) === false) {
                        // Something is wrong ...
                        throw new BirthdayInvalidException(array($year, $month, $day), self::EXCEPTION_BIRTH_DATE_IS_INVALID);
-               } // END - if
+               }
 
                // Set birthday
                $personellInstance->setBirthday($year, $month, $day);
 
                // Set birthday
                $personellInstance->setBirthday($year, $month, $day);
@@ -80,6 +80,3 @@ class CompanyEmployee extends SimulatorPersonell {
                unset($this->employeeList);
        }
 }
                unset($this->employeeList);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/registration/.htaccess b/application/shipsimu/classes/registration/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 674d189c003de629f5d9d12c9e43aa4d6ec50ed3..aa13a2bfd37df5bd9b4a0d287685a4eeb1a1b922 100644 (file)
@@ -166,7 +166,7 @@ class ShipSimuRegistration extends BaseRegistration implements UserRegister {
                if ($this->getConfigInstance()->getConfigEntry('confirm_email_enabled') === 'N') {
                        // No confirmation of email needed
                        $configEntry = 'user_status_confirmed';
                if ($this->getConfigInstance()->getConfigEntry('confirm_email_enabled') === 'N') {
                        // No confirmation of email needed
                        $configEntry = 'user_status_confirmed';
-               } // END - if
+               }
 
                // Add a lot elements to the dataset criteria
                foreach ($this->criteriaElements as $alias => $element) {
 
                // Add a lot elements to the dataset criteria
                foreach ($this->criteriaElements as $alias => $element) {
@@ -189,7 +189,7 @@ class ShipSimuRegistration extends BaseRegistration implements UserRegister {
                        if ((($element == 'username') || ($alias == 'username')) && ($this->getRequestInstance()->getRequestElement($element) == $this->getConfigInstance()->getConfigEntry('guest_login_user'))) {
                                // Yes, then set the config entry to guest status
                                $configEntry = 'user_status_guest';
                        if ((($element == 'username') || ($alias == 'username')) && ($this->getRequestInstance()->getRequestElement($element) == $this->getConfigInstance()->getConfigEntry('guest_login_user'))) {
                                // Yes, then set the config entry to guest status
                                $configEntry = 'user_status_guest';
-                       } // END - if
+                       }
                } // END - foreach
 
                // Mark the username as unique key
                } // END - foreach
 
                // Mark the username as unique key
@@ -202,6 +202,3 @@ class ShipSimuRegistration extends BaseRegistration implements UserRegister {
                $criteriaInstance->addCriteria('registered', date('Y-m-d H:i:s', time()));
        }
 }
                $criteriaInstance->addCriteria('registered', date('Y-m-d H:i:s', time()));
        }
 }
-
-//
-?>
diff --git a/application/shipsimu/classes/resolver/.htaccess b/application/shipsimu/classes/resolver/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/resolver/command/.htaccess b/application/shipsimu/classes/resolver/command/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/resolver/command/html/.htaccess b/application/shipsimu/classes/resolver/command/html/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 5b5fd9c9f86ce889b698cab2db193fa793c88c07..112ea35c3deae8f25822038aaeee0176fc04de3b 100644 (file)
@@ -72,6 +72,3 @@ class HtmlCompanyCommandResolver extends BaseCommandResolver implements CommandR
                return $resolverInstance;
        }
 }
                return $resolverInstance;
        }
 }
-
-// [EOF]
-?>
index 16edb506c1ce7958f1ff1e1ad1cf2cce6d8ecaf3..6aa841eec95b52886bb251d217c181e03d18c647 100644 (file)
@@ -72,6 +72,3 @@ class HtmlGovernmentFailedCommandResolver extends BaseCommandResolver implements
                return $resolverInstance;
        }
 }
                return $resolverInstance;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/resolver/controller/.htaccess b/application/shipsimu/classes/resolver/controller/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/resolver/controller/html/.htaccess b/application/shipsimu/classes/resolver/controller/html/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index dc5748319075ad6666b48dbf3edfb6e34e9f316b..24a7a3b3d1d3779a694f193f3595ca4e9d4cd5c1 100644 (file)
@@ -90,7 +90,7 @@ class ShipSimuHtmlControllerResolver extends BaseControllerResolver implements C
                if ((!is_object($controllerInstance)) || (!$controllerInstance instanceof Controller)) {
                        // This command has an invalid instance!
                        throw new InvalidControllerInstanceException(array($this, $controllerName), self::EXCEPTION_INVALID_CONTROLLER);
                if ((!is_object($controllerInstance)) || (!$controllerInstance instanceof Controller)) {
                        // This command has an invalid instance!
                        throw new InvalidControllerInstanceException(array($this, $controllerName), self::EXCEPTION_INVALID_CONTROLLER);
-               } // END - if
+               }
 
                // Set last controller
                $this->setResolvedInstance($controllerInstance);
 
                // Set last controller
                $this->setResolvedInstance($controllerInstance);
@@ -99,6 +99,3 @@ class ShipSimuHtmlControllerResolver extends BaseControllerResolver implements C
                return $controllerInstance;
        }
 }
                return $controllerInstance;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/ships/.htaccess b/application/shipsimu/classes/ships/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index ae22ca3649c986a4788fc99cf7488ed7455c4e97..796d9dc8f126d4bb91aa8c1294e1bdca4b95e5bb 100644 (file)
@@ -69,7 +69,7 @@ class BaseShip extends BaseSimulator {
                if (!class_exists($partClass)) {
                        // Nicht vorhanden, dann Ausnahme werfen!
                        throw new NoClassException($partClass, self::EXCEPTION_CLASS_NOT_FOUND);
                if (!class_exists($partClass)) {
                        // Nicht vorhanden, dann Ausnahme werfen!
                        throw new NoClassException($partClass, self::EXCEPTION_CLASS_NOT_FOUND);
-               } // END - if
+               }
 
                // Get an instance back from our object factory
                $partInstance = ObjectFactory::createObjectByName($partClass);
 
                // Get an instance back from our object factory
                $partInstance = ObjectFactory::createObjectByName($partClass);
@@ -134,7 +134,7 @@ class BaseShip extends BaseSimulator {
 
        // STUB: Getter-Methode Anzahl Betten
        public function calcTotalBeds () {
 
        // STUB: Getter-Methode Anzahl Betten
        public function calcTotalBeds () {
-               $this->partialStub("Please implement this stub in your ship!");
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this stub in your ship!');
        }
 
        // Setter-Methode fuer Schiffsnamen
        }
 
        // Setter-Methode fuer Schiffsnamen
@@ -162,6 +162,3 @@ class BaseShip extends BaseSimulator {
                $this->numAnchor = (int) $numAnchor;
        }
 }
                $this->numAnchor = (int) $numAnchor;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/ships/passenger/.htaccess b/application/shipsimu/classes/ships/passenger/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 70fa5ed56b79e7e333d934a8e81f19d2e8bb2c51..da9b0b640896f32f430d864bf104694f3d0e4633 100644 (file)
@@ -49,7 +49,7 @@ class PassengerShip extends BaseShip implements ConstructableShip {
                if (is_null($struct)) {
                        // Empty structures list!
                        throw new EmptyStructuresListException($this, self::EXCEPTION_EMPTY_STRUCTURES_ARRAY);
                if (is_null($struct)) {
                        // Empty structures list!
                        throw new EmptyStructuresListException($this, self::EXCEPTION_EMPTY_STRUCTURES_ARRAY);
-               } // END - if
+               }
 
                // Anzahl Betten auf 0 setzen
                $numBeds = 0;
 
                // Anzahl Betten auf 0 setzen
                $numBeds = 0;
@@ -73,15 +73,12 @@ class PassengerShip extends BaseShip implements ConstructableShip {
                                        if (!is_null($cab)) {
                                                // Kabinenbeschreibung holen
                                                $cabType = $cab->getObjectDescription();
                                        if (!is_null($cab)) {
                                                // Kabinenbeschreibung holen
                                                $cabType = $cab->getObjectDescription();
-                                       } // END - if
-                               } // END - if
-                       } // END - if
+                                       }
+                               }
+                       }
                } // END - for
 
                // Anzahl zurueckliefern
                return $numBeds;
        }
 }
                } // END - for
 
                // Anzahl zurueckliefern
                return $numBeds;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/structures/.htaccess b/application/shipsimu/classes/structures/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 59318cb5fe25123cb5ad2dec5e35518701f3bfdc..81943ec0a7183ae0ff025f94157c316b3afb1f27 100644 (file)
@@ -46,6 +46,3 @@ class BaseStructure extends BaseSimulator {
                unset($this->price);
        }
 }
                unset($this->price);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/structures/extended/.htaccess b/application/shipsimu/classes/structures/extended/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/structures/extended/cabines/.htaccess b/application/shipsimu/classes/structures/extended/cabines/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index b513944e1a5dc8dab4e30bc34db733a82577a219..5c178f6a5cde7b5a817427bb7f028172a3a5d0fc 100644 (file)
@@ -33,6 +33,3 @@ class BaseCabin extends BaseCabinStructure {
                return ($this->isClass("BaseCabin"));
        }
 }
                return ($this->isClass("BaseCabin"));
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/structures/extended/cabines/ship/.htaccess b/application/shipsimu/classes/structures/extended/cabines/ship/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index beceae8cd5f52ed8162bba611b3fc38a0f7b8ab2..84f90917df77ce93a7ee89697a0bdb42dcd68ae0 100644 (file)
@@ -53,6 +53,3 @@ class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShip
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
index 23b877c87ca4d60cc0cdf5f0984cc9554322ec24..8d8a3aa8b752ee200f73f5ec2319a006a06cb610 100644 (file)
@@ -53,6 +53,3 @@ class LowCabin extends BaseCabin implements TradeableItem, ConstructableShipPart
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
index 78cb9c4083aa905d99e2f448fb3a5f9087927b21..fc6d8a9dda23d770963cf97b0f26c974f8756edb 100644 (file)
@@ -53,6 +53,3 @@ class LuxuryCabin extends BaseCabin implements TradeableItem, ConstructableShipP
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
index 522e301b58b530da92d60cfbcbb1ada9fb4481f6..f57329c70075ea1533c38c32ebe5d015662f5ab3 100644 (file)
@@ -53,6 +53,3 @@ class PremierCabin extends BaseCabin implements TradeableItem, ConstructableShip
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
index 77a81ae4f42073b772989f40b694cd4702b0f865..b6300f0fa67f11913d864f4ae2c9a41cc9a2e130 100644 (file)
@@ -130,6 +130,3 @@ class BaseCabinStructure extends BaseStructure {
                return $cabinBeds;
        }
 }
                return $cabinBeds;
        }
 }
-
-// [EOF]
-?>
index 0f44a5518679c1b6ab103a875c19b655c72bc899..86b4245bd01e8aad692a407eebd941994483cda9 100644 (file)
@@ -56,6 +56,3 @@ class BaseDeckStructure extends BaseStructure {
                return $this->numDecks;
        }
 }
                return $this->numDecks;
        }
 }
-
-// [EOF]
-?>
index dd6934cf8bc78aed50eed0e993c6e9384840d74b..b6eacc72d4bf536e53a05eb604257928381a1cdb 100644 (file)
@@ -32,6 +32,3 @@ class BaseUpperStructure extends BaseStructure {
                parent::__construct($className);
        }
 }
                parent::__construct($className);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/structures/extended/decks/.htaccess b/application/shipsimu/classes/structures/extended/decks/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/structures/extended/decks/cargo/.htaccess b/application/shipsimu/classes/structures/extended/decks/cargo/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index d87dd091fc8bf7df4e872e00a312b38ca4f840d9..b6191e96aa291400441c0e84be4ce85aa1482161 100644 (file)
@@ -51,6 +51,3 @@ class CarDeck extends BaseDeck implements TradeableItem, ConstructableShipPart {
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
index 07410eaefac8e88c0e7c653dc2e5be02d475cd0f..296114e09fcbc4c663370face7b951e2a874fd96 100644 (file)
@@ -51,6 +51,3 @@ class TrainDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
index 6a87d85a500eb56ab0398ad937ef97bc7d6f3118..c435cafe74b8ac44b059bcfc3d0d3b45f25dc8b6 100644 (file)
@@ -52,6 +52,3 @@ class TruckDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
index 7b92d68df6738d2dc8c2b2c98627366f2babdeb3..d31a40d984a512916c2f761b83408b662a6f8358 100644 (file)
@@ -32,6 +32,3 @@ class BaseDeck extends BaseDeckStructure {
                parent::__construct($className);
        }
 }
                parent::__construct($className);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/structures/extended/lower/.htaccess b/application/shipsimu/classes/structures/extended/lower/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/classes/structures/extended/upper/.htaccess b/application/shipsimu/classes/structures/extended/upper/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 1c3b674e0004813a09f10e8ee2f0830666a6cd3d..43f41cd71c12ce6b9ac34b81cccbc5c36e753b1f 100644 (file)
@@ -50,6 +50,3 @@ class Bridge extends BaseUpperStructure implements TradeableItem, ConstructableS
                return true;
        }
 }
                return true;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/user/.htaccess b/application/shipsimu/classes/user/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 75de2c78b5dc4a3dae74fe699c162c76462ff4cc..d6764ee5d9e90459ab67ee18dbb6ec383597bb09 100644 (file)
@@ -57,7 +57,7 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
 
                        // Store it in registry
                        Registry::getRegistry()->addInstance('money_bank', $bankInstance);
 
                        // Store it in registry
                        Registry::getRegistry()->addInstance('money_bank', $bankInstance);
-               } // END - if
+               }
 
                // Return the instance
                return $bankInstance;
 
                // Return the instance
                return $bankInstance;
@@ -87,7 +87,7 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
 
                        // Store it in registry
                        Registry::getRegistry()->addInstance('government', $governmentInstance);
 
                        // Store it in registry
                        Registry::getRegistry()->addInstance('government', $governmentInstance);
-               } // END - if
+               }
 
                // Return the prepared instance
                return $governmentInstance;
 
                // Return the prepared instance
                return $governmentInstance;
@@ -148,7 +148,7 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
 
                        // And store it in registry
                        Registry::getRegistry()->addInstance('points', $pointsInstance);
 
                        // And store it in registry
                        Registry::getRegistry()->addInstance('points', $pointsInstance);
-               } // END - if
+               }
 
                // Just forward this request to the user points class
                $hasRequired = $pointsInstance->ifUserHasRequiredPoints($action);
 
                // Just forward this request to the user points class
                $hasRequired = $pointsInstance->ifUserHasRequiredPoints($action);
@@ -256,6 +256,3 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
                return $hasOpened;
        }
 }
                return $hasOpened;
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/user/extended/.htaccess b/application/shipsimu/classes/user/extended/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index a66de18e3f1d59aa8e919e9cc90c6f9dd5c9b1f1..dc09b0aba1f6a674b88fec72b90ee6ef54d7ed6a 100644 (file)
@@ -58,7 +58,7 @@ class ShipSimuGuest extends ShipSimuBaseUser implements ManageableGuest {
                if ($userInstance->ifUsernameExists() === false) {
                        // Throw an exception here
                        throw new UsernameMissingException(array($userInstance, $userName), self::EXCEPTION_USERNAME_NOT_FOUND);
                if ($userInstance->ifUsernameExists() === false) {
                        // Throw an exception here
                        throw new UsernameMissingException(array($userInstance, $userName), self::EXCEPTION_USERNAME_NOT_FOUND);
-               } // END - if
+               }
 
                // Return the instance
                return $userInstance;
 
                // Return the instance
                return $userInstance;
@@ -103,6 +103,3 @@ class ShipSimuGuest extends ShipSimuBaseUser implements ManageableGuest {
                // No updates will be flushed to database!
        }
 }
                // No updates will be flushed to database!
        }
 }
-
-// [EOF]
-?>
index a37ef16ff5616ffc9f834d1a3ea6f04cb581e1d3..64a5afa1833acb8e23b5bf4493a33969032e1cae 100644 (file)
@@ -66,7 +66,7 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
                if ($userInstance->ifUsernameExists() === false) {
                        // Throw an exception here
                        throw new UsernameMissingException(array($userInstance, $userName), self::EXCEPTION_USERNAME_NOT_FOUND);
                if ($userInstance->ifUsernameExists() === false) {
                        // Throw an exception here
                        throw new UsernameMissingException(array($userInstance, $userName), self::EXCEPTION_USERNAME_NOT_FOUND);
-               } // END - if
+               }
 
                // Return the instance
                return $userInstance;
 
                // Return the instance
                return $userInstance;
@@ -110,7 +110,7 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
                        $userInstance = new ShipSimuMember();
                        $userInstance->partialStub("We need to add more ways of creating user classes here.");
                        $userInstance->debugBackTrace();
                        $userInstance = new ShipSimuMember();
                        $userInstance->partialStub("We need to add more ways of creating user classes here.");
                        $userInstance->debugBackTrace();
-                       exit();
+                       exit;
                }
 
                // Return the prepared instance
                }
 
                // Return the prepared instance
@@ -132,7 +132,7 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
                // If there is no action use the default on
                if (is_null($lastAction)) {
                        $lastAction = $this->getConfigInstance()->getConfigEntry('login_default_action');
                // If there is no action use the default on
                if (is_null($lastAction)) {
                        $lastAction = $this->getConfigInstance()->getConfigEntry('login_default_action');
-               } // END - if
+               }
 
                // Get a critieria instance
                $searchInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');
 
                // Get a critieria instance
                $searchInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');
@@ -184,7 +184,7 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
 
                        // And store it in registry
                        Registry::getRegistry()->addInstance('points', $pointsInstance);
 
                        // And store it in registry
                        Registry::getRegistry()->addInstance('points', $pointsInstance);
-               } // END - if
+               }
 
                // Get the amount
                $amount = $requestInstance->getRequestElement('amount');
 
                // Get the amount
                $amount = $requestInstance->getRequestElement('amount');
@@ -203,7 +203,7 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
                if (!$this->getResultInstance() instanceof SearchableResult) {
                        // Abort here
                        return;
                if (!$this->getResultInstance() instanceof SearchableResult) {
                        // Abort here
                        return;
-               } // END - if
+               }
 
                // Do we have data to update?
                if ($this->getResultInstance()->ifDataNeedsFlush()) {
 
                // Do we have data to update?
                if ($this->getResultInstance()->ifDataNeedsFlush()) {
@@ -212,9 +212,6 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
 
                        // Yes, then send the whole result to the database layer
                        $wrapperInstance->doUpdateByResult($this->getResultInstance());
 
                        // Yes, then send the whole result to the database layer
                        $wrapperInstance->doUpdateByResult($this->getResultInstance());
-               } // END - if
+               }
        }
 }
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/classes/wrapper/.htaccess b/application/shipsimu/classes/wrapper/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 1552e67462bb1e0692d12719c15e391695326bac..a9f906532010b390dc0e9e0c49c4d518d54ad8da 100644 (file)
@@ -61,7 +61,7 @@ class CompanyDatabaseWrapper extends BaseDatabaseWrapper {
                // Set the company instance if not null
                if (!is_null($companyInstance)) {
                        $wrapperInstance->setCompanyInstance($companyInstance);
                // Set the company instance if not null
                if (!is_null($companyInstance)) {
                        $wrapperInstance->setCompanyInstance($companyInstance);
-               } // END - if
+               }
 
                // Return the instance
                return $wrapperInstance;
 
                // Return the instance
                return $wrapperInstance;
@@ -97,7 +97,7 @@ class CompanyDatabaseWrapper extends BaseDatabaseWrapper {
 
                        // Entry found for further analysis/processing
                        $participates = true;
 
                        // Entry found for further analysis/processing
                        $participates = true;
-               } // END - if
+               }
 
                // Return the result
                return $participates;
 
                // Return the result
                return $participates;
@@ -124,6 +124,3 @@ class CompanyDatabaseWrapper extends BaseDatabaseWrapper {
                return $this->companyInstance;
        }
 }
                return $this->companyInstance;
        }
 }
-
-// [EOF]
-?>
index 6392d6b92e826243f88996ac4b96c204d01b81df..294ebc3d1a35ffc859f3736378c7ac7716571086 100644 (file)
@@ -65,6 +65,3 @@ class UserGovernmentDatabaseWrapper extends BaseDatabaseWrapper {
                $requestInstance->debugInstance();
        }
 }
                $requestInstance->debugInstance();
        }
 }
-
-// [EOF]
-?>
index 948efec4d99fb34b7adacf96cf8cf395d80f05ed..60a4e37e514929cff55467975e6f4eb2dad47d96 100644 (file)
@@ -1,4 +1,7 @@
 <?php
 <?php
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+
 /**
  * Additional/overwritten configuration parts
  *
 /**
  * Additional/overwritten configuration parts
  *
  */
 
 // Get a configuration instance for shorter lines
  */
 
 // Get a configuration instance for shorter lines
-$cfg = FrameworkConfiguration::getSelfInstance();
+$cfg = FrameworkBootstrap::getConfigurationInstance();
 
 // CFG: HEADER-CHARSET
 $cfg->setConfigEntry('header_charset', 'utf-8');
 
 
 // CFG: HEADER-CHARSET
 $cfg->setConfigEntry('header_charset', 'utf-8');
 
-// CFG: DEFAULT-SHIP-SIMU-HTML-COMMAND
-$cfg->setConfigEntry('default_ship_simu_html_command', 'home');
+// CFG: DEFAULT-SHIPSIMU-HTTP-COMMAND
+$cfg->setConfigEntry('default_shipsimu_http_command', 'home');
 
 
-// CFG: DEFAULT-HTML-COMMAND
-$cfg->setConfigEntry('default_html_command', 'home');
+// CFG: DEFAULT-HTTP-COMMAND
+$cfg->setConfigEntry('default_http_command', 'home');
 
 // CFG: FORM-ACTION
 $cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&amp;command=do_form');
 
 // CFG: FORM-ACTION
 $cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&amp;command=do_form');
@@ -445,8 +448,8 @@ $cfg->setConfigEntry('refill_page_active', 'Y');
 // CFG: REFILL-PAGE-MIN-CURRENCY-AMOUNT
 $cfg->setConfigEntry('refill_page_min_currency_amount', 1000);
 
 // 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: SHIPSIMU-LOGIN-FILL-PAYMENT-DISCOVERY
+$cfg->setConfigEntry('shipsimu_login_refill_payment_discovery', 'LocalPaymentDiscovery');
 
 // CFG: GOVERNMENT-STARTUP-HELP-LIMIT
 $cfg->setConfigEntry('government_startup_help_limit', 3);
 
 // CFG: GOVERNMENT-STARTUP-HELP-LIMIT
 $cfg->setConfigEntry('government_startup_help_limit', 3);
@@ -534,6 +537,3 @@ $cfg->setConfigEntry('moneybank_activated', 'Y');
 
 // CFG: MONEYBANK-OPENING-CLASS
 $cfg->setConfigEntry('moneybank_opening_class', 'MoneyBankRealtimeOpening');
 
 // CFG: MONEYBANK-OPENING-CLASS
 $cfg->setConfigEntry('moneybank_opening_class', 'MoneyBankRealtimeOpening');
-
-// [EOF]
-?>
diff --git a/application/shipsimu/data.php b/application/shipsimu/data.php
deleted file mode 100644 (file)
index 7b380c2..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('ship_simu');
-
-// [EOF]
-?>
index 11bf6315579ba891ca93a0e3e9c17f52892fc050..832b74403f36051bd65bcf49a89f378f4bf05e1c 100644 (file)
@@ -56,6 +56,3 @@
 //define('DEBUG_CONTRACT', true);
 // Haendler debuggen
 //define('DEBUG_MERCHANT', true);
 //define('DEBUG_CONTRACT', true);
 // Haendler debuggen
 //define('DEBUG_MERCHANT', true);
-
-// [EOF]
-?>
index 8e4e14ff95c40d770bfdbf11176425225b50392c..b8d33d8745b00daf244d65afeffdf8b28eacc29b 100644 (file)
@@ -1,12 +1,17 @@
 <?php
 <?php
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Assertion\AssertionException;
+use Org\Mxchange\CoreFramework\Error\FatalErrorException;
+use Org\Mxchange\CoreFramework\Generic\FrameworkException;
+use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
+
 /**
 /**
- * The exception handler for this application
+ * An include file for setting up the exception handler of test suite
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2022 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @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
  *
  * 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
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * 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/>.
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
  */
 
-// Our own exception handler
-function __exceptionHandler (FrameworkException $e) {
-       // Call the app_exit() method
-       ApplicationEntryPoint::app_exit(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
+// The node's own exception handler
+function shipsimu_exception_handler ($exceptionInstance) {
+       // Is it an object and a valid instance?
+       if ((is_object($exceptionInstance)) && ($exceptionInstance instanceof Exception)) {
+               // Init variable
+               $backTrace = '';
 
 
-// Set the new handler
-set_exception_handler('__exceptionHandler');
+               // Generate exception code
+               $exceptionCode = ($exceptionInstance instanceof FrameworkException ? $exceptionInstance->getHexCode() : '0x' . bin2hex($exceptionInstance->getCode()));
+
+               // Get all call levels from backtrace
+               foreach ($exceptionInstance->getTrace() as $idx => $traceArray) {
+                       // Init argument string
+                       $argsString = '';
+
+                       // Arguments given?
+                       if (isset($traceArray['args'])) {
+                               // Convert arguments type into human-readable
+                               foreach ($traceArray['args'] as $arg) {
+                                       $argsString .= ', ' . gettype($arg);
+                               }
+                               $argsString = substr($argsString, 2);
+                       }
+
+                       // Set missing file/line
+                       if (!isset($traceArray['file']))  $traceArray['file']  = 'unknown';
+                       if (!isset($traceArray['line']))  $traceArray['line']  = '0';
+                       if (!isset($traceArray['class'])) $traceArray['class'] = 'UnknownObject';
+                       if (!isset($traceArray['type']))  $traceArray['type']  = '->';
+
+                       $backTrace .= sprintf("---------- Pos %d: ----------
+Method : %s%s%s(%s)
+----- Caller: -----
+File   : %s
+Line   : %d\n",
+                               ($idx + 1),
+                               $traceArray['class'],
+                               $traceArray['type'],
+                               $traceArray['function'],
+                               $argsString,
+                               basename($traceArray['file']),
+                               $traceArray['line']
+                       );
+               }
+
+               // Construct the message
+               $message = sprintf("--------------------------------------------------------------------------------
+Uncaught Exception : %s
+--------------------------------------------------------------------------------
+Message            : %s
+Code               : %s
+File               : %s
+Line               : %d
+--------------------------------------------------------------------------------
+Backtrace:
+--------------------------------------------------------------------------------
+%s
+--------------------------------------------------------------------------------\n",
+                       trim(html_entity_decode(strip_tags(get_class($exceptionInstance)))),
+                       trim(html_entity_decode(strip_tags($exceptionInstance->getMessage()))),
+                       $exceptionCode,
+                       $exceptionInstance->getFile(),
+                       $exceptionInstance->getLine(),
+                       trim($backTrace)
+               );
+
+               // Output the message
+               print($message);
+
+               // Exit with code
+               exit(hexdec($exceptionCode));
+       } elseif (is_object($exceptionInstance)) {
+               // Output more details
+               printf('exceptionInstance=%s', print_r($exceptionInstance, true));
+               exit(255);
+       } else {
+               /*
+                * Invalid exception instance detected! Do *only* throw exceptions that
+                * extends our own exception 'FrameworkException' to get such nice
+                * outputs like above.
+                */
+               printf('exceptionInstance[]=%s is invalid! Please inform the shipsimu developer team.' . PHP_EOL, gettype($exceptionInstance));
+               exit(255);
+       }
+}
 
 // Error handler
 
 // Error handler
-function __errorHandler ($errno, $errstr, $errfile, $errline, array $errcontext) {
+function shipsimu_error_handler (int $errno, string $errstr, string $errfile, int $errline, array $errcontext) {
        // Construct the message
        // 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>",
+       $message = sprintf('File: %s, Line: %d, Code: %d, Message: %s',
                basename($errfile),
                $errline,
                $errno,
                basename($errfile),
                $errline,
                $errno,
@@ -53,33 +125,38 @@ function __errorHandler ($errno, $errstr, $errfile, $errline, array $errcontext)
 
        // Throw an exception here
        throw new FatalErrorException($message, BaseFrameworkSystem::EXCEPTION_FATAL_ERROR);
 
        // Throw an exception here
        throw new FatalErrorException($message, BaseFrameworkSystem::EXCEPTION_FATAL_ERROR);
-} // END - function
-
-// Set error handler
-set_error_handler('__errorHandler');
+}
 
 // Assertion handler
 
 // Assertion handler
-function __assertHandler ($file, $line, $code) {
+function shipsimu_assert_handler (string $file, int $line, int $code) {
        // Empty code?
        // Empty code?
-       if ($code === "") $code = "<em>Unknown</em>";
+       if (empty($code)) {
+               $code = '<em>Unknown</em>';
+       }
 
        // Create message
 
        // 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>",
+       $message = sprintf('File: %s, Line: %s, Code: %s',
                basename($file),
                $line,
                $code
        );
 
                basename($file),
                $line,
                $code
        );
 
+       // Log assert
+       syslog(LOG_WARNING, $message);
+
        // Throw an exception here
        throw new AssertionException($message, BaseFrameworkSystem::EXCEPTION_ASSERTION_FAILED);
        // Throw an exception here
        throw new AssertionException($message, BaseFrameworkSystem::EXCEPTION_ASSERTION_FAILED);
-} // END - function
+}
+
+// Set error handler
+//set_error_handler('shipsimu_error_handler');
+
+// Set the new handler
+set_exception_handler('shipsimu_exception_handler');
 
 // Init assert handling
 
 // 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]
-?>
+assert_options(ASSERT_ACTIVE    , true);
+assert_options(ASSERT_WARNING   , true);
+assert_options(ASSERT_BAIL      , true);
+assert_options(ASSERT_QUIET_EVAL, false);
+assert_options(ASSERT_CALLBACK  , 'shipsimu_assert_handler');
diff --git a/application/shipsimu/exceptions/.htaccess b/application/shipsimu/exceptions/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index ed8e1897ceb5a1dbf0a64cb0e4b16097694ac654..76f9a7b74b82795e0853599fb0a4ce354929c151 100644 (file)
@@ -37,6 +37,3 @@ class BirthdayInvalidException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 6b9120bf14aa3ee5aa502d92c9108a65a3cd1841..870a8152934c54af24c8b981f44593a44f32a0f1 100644 (file)
@@ -23,6 +23,3 @@
  */
 class CabinShipMismatchException extends FrameworkException {
 }
  */
 class CabinShipMismatchException extends FrameworkException {
 }
-
-// [EOF]
-?>
index fc17f6474cbae7eaa5871d1e31e55143eb20ffe2..ab4b9c869ee732b43341de58be227f50751e1f6c 100644 (file)
@@ -34,6 +34,3 @@ class ContractAllreadySignedException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index fce97487b29eae21b59e12d0cbf49c60f166193c..f0c9b2afbdab2d764420de6b954805519d480ce2 100644 (file)
@@ -34,6 +34,3 @@ class ContractPartnerMismatchException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 937cd6ed5690097d639b2920c1a7f65a7e1d69df..998cb60b9f659cd3bf9a7007bb6472cd0e8e651d 100644 (file)
@@ -23,6 +23,3 @@
  */
 class DeckShipMismatchException extends FrameworkException {
 }
  */
 class DeckShipMismatchException extends FrameworkException {
 }
-
-// [EOF]
-?>
index 9c1eee2b3e8b0d02dddb85837cb88d9f0caba13f..805bd0050d8b7a2e8e2d35101ec34b708495160b 100644 (file)
@@ -32,6 +32,3 @@ class EmptyStructuresListException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 8f4823eaaef46532154cb28b1bb76e23c0d0859f..b298119cb21145e9f391980621d91e47d19df700 100644 (file)
@@ -32,6 +32,3 @@ class InvalidContractPartnerException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 78e2e00327bdbf60fbbf3d673ad4fdc74067d658..f6265fc83efa9be72855e25718867272921ed826 100644 (file)
@@ -32,6 +32,3 @@ class InvalidIDFormatException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 0013e9250ebd9ec437a4755b3508c762781310b3..6ed0bae13b36d3de2523920819457478c433914e 100644 (file)
@@ -32,6 +32,3 @@ class ItemNotInPriceListException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 074f17edd10c81b9ee3622c344710c317d97d2bf..11d34843ae099768edc69d6e850356f9c0a9746d 100644 (file)
@@ -32,6 +32,3 @@ class ItemNotTradeableException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 09a55f35de62ab77caf90e8f6e08251ea813a2b9..6fd3d32b7267d3c458ef491a7e53221a4ff902cd 100644 (file)
@@ -33,6 +33,3 @@ class MissingSimulatorIdException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 7e688c2df1c72479c74af916b5f35fe216e39692..601857e5fe475ea0a0e3240a4c232255d8eec0b8 100644 (file)
@@ -23,6 +23,3 @@
  */
 class MotorShipMismatchException extends FrameworkException {
 }
  */
 class MotorShipMismatchException extends FrameworkException {
 }
-
-// [EOF]
-?>
index 848362eef6bcd1cf4e3a4aca9ca186296b8e8964..fcd358146f6a00af645ac0b2dcc733e560cefb8d 100644 (file)
@@ -41,6 +41,3 @@ class NoShippingCompanyOwnedException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 52cf913cdcc58ca9b0b66e501922d3b499eec799..0449ea6aad67c3f1a44fe4ac25b93ec75ca116b9 100644 (file)
@@ -30,12 +30,9 @@ class NoShipyardsConstructedException extends FrameworkException {
                        $message = sprintf("[%s:] Keine Werften gefunden!",
                                $class->__toString()
                        );
                        $message = sprintf("[%s:] Keine Werften gefunden!",
                                $class->__toString()
                        );
-               } // END - if
+               }
 
                // Call parent constructor
                parent::__construct($message, $code);
        }
 }
 
                // Call parent constructor
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index c89dc4495cdecf693a1b071f5e482b301f99e386..7a37133b9b3a51d22ce34cca5311d9e352f89c90 100644 (file)
@@ -32,6 +32,3 @@ class PersonellListAlreadyCreatedException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index d84528c6f4a78d68ad92074c9a78cf8d62ce2b52..6870871b9d1f06d7fdab5354732c2fac7386e4a4 100644 (file)
@@ -23,6 +23,3 @@
  */
 class RoomShipMismatchException extends FrameworkException {
 }
  */
 class RoomShipMismatchException extends FrameworkException {
 }
-
-// [EOF]
-?>
index 3313c36fc26f983511b0facbf6726aa46afcdeae..7f7905ad415bf1f785b7cba5bf062d91353dabe0 100644 (file)
@@ -23,6 +23,3 @@
  */
 class ShipNotConstructedException extends FrameworkException {
 }
  */
 class ShipNotConstructedException extends FrameworkException {
 }
-
-// [EOF]
-?>
index 48b4fe7b7fdaf179d243cbbb388dee05310d0765..3d42ff4b089a677223274b8042603cb59fe35ded 100644 (file)
@@ -32,6 +32,3 @@ class ShipPartNotConstructableException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 62152e8a6e64d5e8822eb612f2e05e4d853aae42..5495c759e648a71d8bda828b48151c85bd8fb881 100644 (file)
@@ -23,6 +23,3 @@
  */
 class StructureShipMismatchException extends FrameworkException {
 }
  */
 class StructureShipMismatchException extends FrameworkException {
 }
-
-// [EOF]
-?>
index 916207f9847dd7f59b8537f0cf3b860f0031bf4b..56fcb78acbf89a27289a229ce4080980b702c952 100644 (file)
@@ -30,6 +30,3 @@ class StructuresOutOfBoundsException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index a6bffb01f8080b257081f69d4d75b76a9335deb3..0c95176158a46867ebbe9d3cce5a7f0d72e749b2 100644 (file)
@@ -33,6 +33,3 @@ class ToMuchEmployeesException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 7aa57ae656ce4f9e89a7f359f3ca776153ba678a..218633a3fd0c23817a5327a330f5c0bfe41b9b99 100644 (file)
@@ -32,6 +32,3 @@ class TotalPriceNotCalculatedException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index ee7aa5ade3d5aa1ac3528729fb912f6d61e76d7d..217aa89cf4b4707d1808f1bf7ddedbdbd094e76b 100644 (file)
@@ -30,6 +30,3 @@ class UnsupportedLimitationPartException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
index 306a68042d1e5cce3d280f7a918d16f4b16359a4..cab603e834548f68b8367d243c391278cdfdcfc7 100644 (file)
@@ -30,6 +30,3 @@ class WrongGenderSpecifiedException extends FrameworkException {
                parent::__construct($message, $code);
        }
 }
                parent::__construct($message, $code);
        }
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/init.php b/application/shipsimu/init.php
deleted file mode 100644 (file)
index 943eb79..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
-ApplicationHelper::createDebugInstance('ApplicationHelper');
-
-// 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/shipsimu/interfaces/.htaccess b/application/shipsimu/interfaces/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index 3f3a5751123df42a900e7434d70797ca4705240d..b794268b0f7418158fe14ef6fa3e70d15882e407 100644 (file)
@@ -31,6 +31,3 @@ interface BookableAccount extends FrameworkInterface {
         */
        function bookAmountDirectly (Requestable $requestInstance);
 }
         */
        function bookAmountDirectly (Requestable $requestInstance);
 }
-
-// [EOF]
-?>
index db76fd5c3485b8e05d3436fedd8afadf4cde4880..58aca0c431e887a27bc955cb9c67664a56e9eade 100644 (file)
@@ -23,6 +23,3 @@
  */
 interface ConstructableShip extends FrameworkInterface {
 }
  */
 interface ConstructableShip extends FrameworkInterface {
 }
-
-// [EOF]
-?>
index 8135bc36e17a3bd89f154091ef1933db36889387..6797a52642fdc6cf3935d0db5f2a35692c51fd8e 100644 (file)
@@ -23,6 +23,3 @@
  */
 interface ConstructableShipPart extends FrameworkInterface {
 }
  */
 interface ConstructableShipPart extends FrameworkInterface {
 }
-
-// [EOF]
-?>
index 35b4b6dbf3e9b18323661658510ecd9fc03553a3..2f8053c9203765678e42db5f66c3efabebba2598 100644 (file)
@@ -31,6 +31,3 @@ interface ContractPartner extends FrameworkInterface {
         */
        function isContractPartner (SignableContract $contractInstance);
 }
         */
        function isContractPartner (SignableContract $contractInstance);
 }
-
-// [EOF]
-?>
index 5de5210f88a1f4128ff552aca33063af6edc2866..82093e5b2373023896862621ade476a19a5f001c 100644 (file)
@@ -50,6 +50,3 @@ interface Customer extends FrameworkInterface {
         */
        function withdrawFromContract (SignableContract $contractInstance);
 }
         */
        function withdrawFromContract (SignableContract $contractInstance);
 }
-
-// [EOF]
-?>
index b56df14a9a718a33739f2807281f6bdf5bd30ba1..e1a784642d2e5e91f0f1ef535d2399ca1c40226b 100644 (file)
@@ -195,6 +195,3 @@ interface Personellizer extends FrameworkInterface {
         */
        function decreaseSalary ($sub);
 }
         */
        function decreaseSalary ($sub);
 }
-
-// [EOF]
-?>
index a8f62ce37c4ca94854e48bb5cb06aa1d8c6cfa39..8bf4d9c3f6847be0f008be057eafc21bf130881d 100644 (file)
@@ -25,6 +25,3 @@ interface SignableContract extends FrameworkInterface {
        // Sign the contract
        function signContract (ContractPartner $partnerInstance, ContractPartner $partyInstance);
 }
        // Sign the contract
        function signContract (ContractPartner $partnerInstance, ContractPartner $partyInstance);
 }
-
-// [EOF]
-?>
\ No newline at end of file
index f850be27fb4145471f1c64ca4e4165fc01408016..66756c457b94eef514b0c0e486f234304e08efdb 100644 (file)
@@ -30,6 +30,3 @@ interface TradeableItem extends FrameworkInterface {
         */
        function isTradeable ();
 }
         */
        function isTradeable ();
 }
-
-// [EOF]
-?>
diff --git a/application/shipsimu/language/.gitkeep b/application/shipsimu/language/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/application/shipsimu/language/.htaccess b/application/shipsimu/language/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/loader.php b/application/shipsimu/loader.php
deleted file mode 100644 (file)
index bcb574f..0000000
+++ /dev/null
@@ -1,29 +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/>.
- */
-
-// Scan for application's classes, exceptions and interfaces
-ClassLoader::scanApplicationClasses();
-
-// [EOF]
-?>
diff --git a/application/shipsimu/starter.php b/application/shipsimu/starter.php
deleted file mode 100644 (file)
index b6f4c45..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-/**
- * The application launcher
- *
- * @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/>.
- */
-
-// Is there an application helper instance? We need the method main() for
-// maining the application
-$app = call_user_func_array(array(FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getSelfInstance'), array());
-
-// Some sanity checks
-if ((empty($app)) || (is_null($app))) {
-       // Something went wrong!
-       ApplicationEntryPoint::app_exit(sprintf("[Main:] The application <span class=\"app_name\">%s</span> could not be launched because the helper class <span class=\"class_name\">%s</span> is not loaded.",
-               $application,
-               FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class')
-       ));
-} elseif (!is_object($app)) {
-       // No object!
-       ApplicationEntryPoint::app_exit(sprintf("[Main:] The application <span class=\"app_name\">%s</span> could not be launched because &#39;app&#39; is not an object.",
-               $application
-       ));
-} elseif (!method_exists($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method'))) {
-       // Method not found!
-       ApplicationEntryPoint::app_exit(sprintf("[Main:] The application <span class=\"app_name\">%s</span> could not be launched because the method <span class=\"method_name\">%s</span> is missing.",
-               $application,
-               FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method')
-       ));
-}
-
-// Call user function
-call_user_func_array(array($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method')), array());
-
-// [EOF]
-?>
diff --git a/application/shipsimu/templates/.htaccess b/application/shipsimu/templates/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/de/.htaccess b/application/shipsimu/templates/de/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
index ebe2fbd3d5481d02401040f96a4e3c91205c008b..c90759587043ca5cbbfc2eebcddfae181eabbf73 100644 (file)
@@ -34,7 +34,7 @@ if ($linkInstance->getValueInstance()->ifUserHasRequiredPoints('write_applicatio
 
                // Display link to government for startup help
                $linkInstance->addActionLinkById('government_startup_help', 'apply_startup_help_government');
 
                // Display link to government for startup help
                $linkInstance->addActionLinkById('government_startup_help', 'apply_startup_help_government');
-       } // END - if
+       }
 } elseif ($linkInstance->getValueInstance()->ifGovernmentPaysStartupHelp()) {
        // Display link to government for startup help
        $linkInstance->addActionLinkById('government_startup_help', 'apply_startup_help_government');
 } elseif ($linkInstance->getValueInstance()->ifGovernmentPaysStartupHelp()) {
        // Display link to government for startup help
        $linkInstance->addActionLinkById('government_startup_help', 'apply_startup_help_government');
index 99c68f7e39c8d0d4a202abf9395574d5a16095cd..2f77d1ae63a1d02a31f9f351dfe539697238fe34 100644 (file)
@@ -29,7 +29,7 @@ $helperInstance->addInputPasswordField('password');
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha_user', "Die virtuelle Beantragung von Starthilfe ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, damit du die Starthilfe beantragen kannst.");
        $helperInstance->addCaptcha();
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha_user', "Die virtuelle Beantragung von Starthilfe ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, damit du die Starthilfe beantragen kannst.");
        $helperInstance->addCaptcha();
-} // END - if
+}
 
 // Final notices
 $helperInstance->addFormGroup('buttons', "Sind alle Daten nun korrekt eingegeben? Dann sende sie mit einem Klick einfach ab!");
 
 // Final notices
 $helperInstance->addFormGroup('buttons', "Sind alle Daten nun korrekt eingegeben? Dann sende sie mit einem Klick einfach ab!");
index 555c0360cc36d6e8ff5c560d043d6919e0e2a534..9c41efd32c95338a3c19867ccb1c0d7cd5a64261 100644 (file)
@@ -29,7 +29,7 @@ $helperInstance->addFormNote('profile', "Stimmen die Daten noch? {?shipsimu_prof
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha_user', "Die virtuelle Beantragung eines Trainingkursus ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, um den Trainingskursus zu beantragen.");
        $helperInstance->addCaptcha();
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha_user', "Die virtuelle Beantragung eines Trainingkursus ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, um den Trainingskursus zu beantragen.");
        $helperInstance->addCaptcha();
-} // END - if
+}
 
 // Final notices
 $helperInstance->addFormGroup('buttons', "Sind alle Daten nun korrekt eingegeben? Dann sende sie mit einem Klick einfach ab!");
 
 // Final notices
 $helperInstance->addFormGroup('buttons', "Sind alle Daten nun korrekt eingegeben? Dann sende sie mit einem Klick einfach ab!");
index e4ec93cd828a5264ba682ab9b8657a41ab54562b..083dd300d9fb603b163105596deda97b8e7022a4 100644 (file)
@@ -29,12 +29,12 @@ if ($helperInstance->ifEmailChangeAllowed()) {
 
        if ($helperInstance->ifEmailMustBeUnique()) {
                $helperInstance->addFormNote('email', "Die von dir eingegebene Email-Adresse darf nur einmal im Spiel verwendet worden sein.");
 
        if ($helperInstance->ifEmailMustBeUnique()) {
                $helperInstance->addFormNote('email', "Die von dir eingegebene Email-Adresse darf nur einmal im Spiel verwendet worden sein.");
-       } // END - if
+       }
 
        if ($helperInstance->ifEmailChangeRequireConfirmation()) {
                $helperInstance->addFormNote('confirm', "Es wird ein Best&auml;tigungslink an deine neue Email-Adresse gesendet. Bitte klicke diesen dann m&ouml;glichst schnell an.");
 
        if ($helperInstance->ifEmailChangeRequireConfirmation()) {
                $helperInstance->addFormNote('confirm', "Es wird ein Best&auml;tigungslink an deine neue Email-Adresse gesendet. Bitte klicke diesen dann m&ouml;glichst schnell an.");
-       } // END - if
-} // END - if
+       }
+}
 
 // Add form group for user profile
 $helperInstance->addFormGroup('profile', "Hier kannst du deine Profildaten &auml;ndern.");
 
 // Add form group for user profile
 $helperInstance->addFormGroup('profile', "Hier kannst du deine Profildaten &auml;ndern.");
@@ -59,8 +59,8 @@ if ($helperInstance->ifRegisterIncludesPersonaData()) {
                $helperInstance->addInputTextField('birth_month');
                $helperInstance->addFieldText('birth_day', ".");
                $helperInstance->addInputTextField('birth_year');
                $helperInstance->addInputTextField('birth_month');
                $helperInstance->addFieldText('birth_day', ".");
                $helperInstance->addInputTextField('birth_year');
-       } // END - if
-} // END - if
+       }
+}
 
 // Add sub group for zip code
 $helperInstance->addFormSubGroup('zip', "Magst du uns auch deine Postleitzahl verraten?");
 
 // Add sub group for zip code
 $helperInstance->addFormSubGroup('zip', "Magst du uns auch deine Postleitzahl verraten?");
@@ -74,35 +74,35 @@ $helperInstance->addFormSubGroup('chat', "Gebe hier deine Nicknames bzw. Nummern
 if ($helperInstance->ifChatEnabled('icq')) {
        $helperInstance->addFieldText('icq', "ICQ-Nummer:");
        $helperInstance->addInputTextFieldWithDefault('icq');
 if ($helperInstance->ifChatEnabled('icq')) {
        $helperInstance->addFieldText('icq', "ICQ-Nummer:");
        $helperInstance->addInputTextFieldWithDefault('icq');
-} // END - if
+}
 
 // Add Jabber chat?
 if ($helperInstance->ifChatEnabled('jabber')) {
        $helperInstance->addFieldText('jabber', "Jabber:");
        $helperInstance->addInputTextFieldWithDefault('jabber');
 
 // Add Jabber chat?
 if ($helperInstance->ifChatEnabled('jabber')) {
        $helperInstance->addFieldText('jabber', "Jabber:");
        $helperInstance->addInputTextFieldWithDefault('jabber');
-} // END - if
+}
 
 // Add Yahoo! chat?
 if ($helperInstance->ifChatEnabled('yahoo')) {
        $helperInstance->addFieldText('yahoo', "Yahoo!:");
        $helperInstance->addInputTextFieldWithDefault('yahoo');
 
 // Add Yahoo! chat?
 if ($helperInstance->ifChatEnabled('yahoo')) {
        $helperInstance->addFieldText('yahoo', "Yahoo!:");
        $helperInstance->addInputTextFieldWithDefault('yahoo');
-} // END - if
+}
 
 // Add AOL chat?
 if ($helperInstance->ifChatEnabled('aol')) {
        $helperInstance->addFieldText('aol', "AOL-Screenname:");
        $helperInstance->addInputTextFieldWithDefault('aol');
 
 // Add AOL chat?
 if ($helperInstance->ifChatEnabled('aol')) {
        $helperInstance->addFieldText('aol', "AOL-Screenname:");
        $helperInstance->addInputTextFieldWithDefault('aol');
-} // END - if
+}
 
 // Add MSN chat?
 if ($helperInstance->ifChatEnabled('msn')) {
        $helperInstance->addFieldText('msn', "MSN:");
        $helperInstance->addInputTextFieldWithDefault('msn');
 
 // Add MSN chat?
 if ($helperInstance->ifChatEnabled('msn')) {
        $helperInstance->addFieldText('msn', "MSN:");
        $helperInstance->addInputTextFieldWithDefault('msn');
-} // END - if
+}
 
 if (!$helperInstance->ifRegisterRequiresEmailVerification()) {
        $helperInstance->addFormExtraNote(1, "Die Benachrichtigungen per Email sind im Loginbereich verfeinerbar, welche du genau haben willst.");
 
 if (!$helperInstance->ifRegisterRequiresEmailVerification()) {
        $helperInstance->addFormExtraNote(1, "Die Benachrichtigungen per Email sind im Loginbereich verfeinerbar, welche du genau haben willst.");
-} // END - if
+}
 
 // Rules already accepted?
 if ($helperInstance->ifRulesHaveChanged()) {
 
 // Rules already accepted?
 if ($helperInstance->ifRulesHaveChanged()) {
@@ -118,7 +118,7 @@ if ($helperInstance->ifRulesHaveChanged()) {
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha_user', "Das &Auml;ndern von Profildaten ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, damit deine &Auml;nderungen gespeichert werden k&ouml;nnen.");
        $helperInstance->addCaptcha();
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha_user', "Das &Auml;ndern von Profildaten ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, damit deine &Auml;nderungen gespeichert werden k&ouml;nnen.");
        $helperInstance->addCaptcha();
-} // END - if
+}
 
 // Ask again for current account password
 $helperInstance->addFormGroup('pass_old', "Bitte gebe zur Best&auml;tigung der &Auml;nderungen dein derzeitiges Passwort ein.");
 
 // Ask again for current account password
 $helperInstance->addFormGroup('pass_old', "Bitte gebe zur Best&auml;tigung der &Auml;nderungen dein derzeitiges Passwort ein.");
index 04812647969b65726ae93e58730fc1b0a5417965..3dd4548f1c475e6944d9beb8ff4b808a9b7e5804 100644 (file)
@@ -40,7 +40,7 @@ $helperInstance->addInputPasswordField('pass_old');
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha_refill', "Bitte wiederhole den angezeigten Code:");
        $helperInstance->addCaptcha();
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha_refill', "Bitte wiederhole den angezeigten Code:");
        $helperInstance->addCaptcha();
-} // END - if
+}
 
 // Submit button
 $helperInstance->addFormGroup('buttons_refill', "Mit Absenden des Formulars wird deine Nachbestellung verbindlich!");
 
 // Submit button
 $helperInstance->addFormGroup('buttons_refill', "Mit Absenden des Formulars wird deine Nachbestellung verbindlich!");
index 6411bfb350390054307b8b60f4f19c4ce92fcd9f..078f035e66812f5e57857335b5e27526ce81eafb 100644 (file)
@@ -17,7 +17,7 @@ $blockInstance->assignFieldWithFilter('user_status', "user_status_translator");
 if ($blockInstance->ifIncludeRegistrationStamp()) {
        // Then assign it as well!
        $blockInstance->assignFieldWithFilter('registered', 'formatTimestamp');
 if ($blockInstance->ifIncludeRegistrationStamp()) {
        // Then assign it as well!
        $blockInstance->assignFieldWithFilter('registered', 'formatTimestamp');
-} // END - if
+}
 
 // Flush the content out to a template variable
 $blockInstance->flushContent();
 
 // Flush the content out to a template variable
 $blockInstance->flushContent();
index b8a52e2aa89b7ae1771d4d97b0b9fd90e5f70e6c..4f48dbd353317eb4f5208b5d7949e0c84877e77d 100644 (file)
@@ -36,7 +36,7 @@ if ($helperInstance->ifLoginIsEnabled()) {
        if ($helperInstance->ifFormSecuredWithCaptcha()) {
                $helperInstance->addFormGroup('captcha_user', "Das Benutzer-Login ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, damit du dich einloggen kannst.");
                $helperInstance->addCaptcha();
        if ($helperInstance->ifFormSecuredWithCaptcha()) {
                $helperInstance->addFormGroup('captcha_user', "Das Benutzer-Login ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, damit du dich einloggen kannst.");
                $helperInstance->addCaptcha();
-       } // END - if
+       }
 
        // Submit buttons
        $helperInstance->addFormGroup('buttons_user', "Alles richtig eingegeben?");
 
        // Submit buttons
        $helperInstance->addFormGroup('buttons_user', "Alles richtig eingegeben?");
@@ -62,7 +62,7 @@ if ($helperInstance->ifGuestLoginAllowed()) {
        if ($helperInstance->ifFormSecuredWithCaptcha()) {
                $helperInstance->addFormGroup('captcha_guest', "Unser Gast-Login ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, damit du dich einloggen kannst.");
                $helperInstance->addCaptcha();
        if ($helperInstance->ifFormSecuredWithCaptcha()) {
                $helperInstance->addFormGroup('captcha_guest', "Unser Gast-Login ist durch ein CAPTCHA gesch&uuml;tzt. Bitte wiederhole den angezeigten Code, damit du dich einloggen kannst.");
                $helperInstance->addCaptcha();
-       } // END - if
+       }
 
        // Submit button
        $helperInstance->addFormGroup('buttons_guest', "Gastlogins sind in der Funkionsweise eingeschr&auml;nkt. Mehr dazu unter &quot;Gastlogin&quot;.");
 
        // Submit button
        $helperInstance->addFormGroup('buttons_guest', "Gastlogins sind in der Funkionsweise eingeschr&auml;nkt. Mehr dazu unter &quot;Gastlogin&quot;.");
index 8c1745921c6e9074b13040f7e1780ea6d07a4ccc..efff9d9c77b243472aa1bc8bfd41872032311d4d 100644 (file)
@@ -18,7 +18,7 @@ $blockInstance->assignFieldWithFilter('points', 'format_number');
 if ($blockInstance->ifIncludeRegistrationStamp()) {
        // Then assign it as well!
        $blockInstance->assignFieldWithFilter('registered', 'format_timestamp');
 if ($blockInstance->ifIncludeRegistrationStamp()) {
        // Then assign it as well!
        $blockInstance->assignFieldWithFilter('registered', 'format_timestamp');
-} // END - if
+}
 
 // Flush the content out to a template variable
 $blockInstance->flushContent();
 
 // Flush the content out to a template variable
 $blockInstance->flushContent();
index 738b3b84a96fd0c1bbdbab0ca5a72806106983e3..86812b838edeff03aa3d47cc356cd4f7708a332d 100644 (file)
@@ -26,8 +26,8 @@ if ($helperInstance->ifRegisterRequiresEmailVerification()) {
        // Must the email address be unique in this system?
        if ($helperInstance->ifEmailMustBeUnique()) {
                $helperInstance->addFormNote('email', "Die von dir eingegebene Email-Adresse darf nur einmal im Spiel verwendet worden sein.");
        // Must the email address be unique in this system?
        if ($helperInstance->ifEmailMustBeUnique()) {
                $helperInstance->addFormNote('email', "Die von dir eingegebene Email-Adresse darf nur einmal im Spiel verwendet worden sein.");
-       } // END - if
-} // END - if
+       }
+}
 
 // Shall we also ask some personal data to complete the profile?
 if ($helperInstance->ifRegisterIncludesProfile()) {
 
 // Shall we also ask some personal data to complete the profile?
 if ($helperInstance->ifRegisterIncludesProfile()) {
@@ -41,8 +41,8 @@ if ($helperInstance->ifRegisterIncludesProfile()) {
                // Must the email address be unique in this system?
                if ($helperInstance->ifEmailMustBeUnique()) {
                        $helperInstance->addFormNote('email', "Die von dir eingegebene Email-Adresse darf nur einmal im Spiel verwendet worden sein.");
                // Must the email address be unique in this system?
                if ($helperInstance->ifEmailMustBeUnique()) {
                        $helperInstance->addFormNote('email', "Die von dir eingegebene Email-Adresse darf nur einmal im Spiel verwendet worden sein.");
-               } // END - if
-       } // END - if
+               }
+       }
 
        // Persoenliche Daten mit in der Anmeldung abfragen?
        if ($helperInstance->ifRegisterIncludesPersonaData()) {
 
        // Persoenliche Daten mit in der Anmeldung abfragen?
        if ($helperInstance->ifRegisterIncludesPersonaData()) {
@@ -64,8 +64,8 @@ if ($helperInstance->ifRegisterIncludesProfile()) {
                        $helperInstance->addInputTextField('birth_month');
                        $helperInstance->addFieldText('birth_day', ".");
                        $helperInstance->addInputTextField('birth_year');
                        $helperInstance->addInputTextField('birth_month');
                        $helperInstance->addFieldText('birth_day', ".");
                        $helperInstance->addInputTextField('birth_year');
-               } // END - if
-       } // END - if
+               }
+       }
 
        $helperInstance->addFormSubGroup('zip', "Magst du uns auch deine Postleitzahl verraten?");
        $helperInstance->addFieldText('zip', "Postleitzahl:");
 
        $helperInstance->addFormSubGroup('zip', "Magst du uns auch deine Postleitzahl verraten?");
        $helperInstance->addFieldText('zip', "Postleitzahl:");
@@ -76,27 +76,27 @@ if ($helperInstance->ifRegisterIncludesProfile()) {
        if ($helperInstance->ifChatEnabled('icq')) {
                $helperInstance->addFieldText('icq', "ICQ-Nummer:");
                $helperInstance->addInputTextField('icq');
        if ($helperInstance->ifChatEnabled('icq')) {
                $helperInstance->addFieldText('icq', "ICQ-Nummer:");
                $helperInstance->addInputTextField('icq');
-       } // END - if
+       }
 
        if ($helperInstance->ifChatEnabled('jabber')) {
                $helperInstance->addFieldText('jabber', "Jabber:");
                $helperInstance->addInputTextField('jabber');
 
        if ($helperInstance->ifChatEnabled('jabber')) {
                $helperInstance->addFieldText('jabber', "Jabber:");
                $helperInstance->addInputTextField('jabber');
-       } // END - if
+       }
 
        if ($helperInstance->ifChatEnabled('yahoo')) {
                $helperInstance->addFieldText('yahoo', "Yahoo!:");
                $helperInstance->addInputTextField('yahoo');
 
        if ($helperInstance->ifChatEnabled('yahoo')) {
                $helperInstance->addFieldText('yahoo', "Yahoo!:");
                $helperInstance->addInputTextField('yahoo');
-       } // END - if
+       }
 
        if ($helperInstance->ifChatEnabled('aol')) {
                $helperInstance->addFieldText('aol', "AOL-Screenname:");
                $helperInstance->addInputTextField('aol');
 
        if ($helperInstance->ifChatEnabled('aol')) {
                $helperInstance->addFieldText('aol', "AOL-Screenname:");
                $helperInstance->addInputTextField('aol');
-       } // END - if
+       }
 
        if ($helperInstance->ifChatEnabled('msn')) {
                $helperInstance->addFieldText('msn', "MSN:");
                $helperInstance->addInputTextField('msn');
 
        if ($helperInstance->ifChatEnabled('msn')) {
                $helperInstance->addFieldText('msn', "MSN:");
                $helperInstance->addInputTextField('msn');
-       } // END - if
+       }
 
        if (!$helperInstance->ifRegisterRequiresEmailVerification()) {
                $helperInstance->addFormExtraNote(1, "Die Benachrichtigungen per sind im Loginbereich verfeinerbar, welche du genau haben willst.");
 
        if (!$helperInstance->ifRegisterRequiresEmailVerification()) {
                $helperInstance->addFormExtraNote(1, "Die Benachrichtigungen per sind im Loginbereich verfeinerbar, welche du genau haben willst.");
@@ -113,7 +113,7 @@ $helperInstance->addInputCheckboxField('rules', false);
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha', "Bitte wiederhole den angezeigten Code damit die Anmeldung abgeschlossen werden kann.");
        $helperInstance->addCaptcha();
 if ($helperInstance->ifFormSecuredWithCaptcha()) {
        $helperInstance->addFormGroup('captcha', "Bitte wiederhole den angezeigten Code damit die Anmeldung abgeschlossen werden kann.");
        $helperInstance->addCaptcha();
-} // END - if
+}
 
 // Final note and submit buttons
 $helperInstance->addFormGroup('buttons', "Wenn du alle ben&ouml;tigten Felder korrekt ausgef&uuml;t hast, kannst du die Anmeldung abschliessen.");
 
 // Final note and submit buttons
 $helperInstance->addFormGroup('buttons', "Wenn du alle ben&ouml;tigten Felder korrekt ausgef&uuml;t hast, kannst du die Anmeldung abschliessen.");
diff --git a/application/shipsimu/templates/de/emails/.htaccess b/application/shipsimu/templates/de/emails/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/de/html/.htaccess b/application/shipsimu/templates/de/html/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/de/menu/.htaccess b/application/shipsimu/templates/de/menu/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/.htaccess b/application/shipsimu/templates/game/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/building/.htaccess b/application/shipsimu/templates/game/building/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/chemicals/.htaccess b/application/shipsimu/templates/game/chemicals/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/company/.htaccess b/application/shipsimu/templates/game/company/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/container/.htaccess b/application/shipsimu/templates/game/container/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/contract/.htaccess b/application/shipsimu/templates/game/contract/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/drink/.htaccess b/application/shipsimu/templates/game/drink/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/electronic/.htaccess b/application/shipsimu/templates/game/electronic/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/engine/.htaccess b/application/shipsimu/templates/game/engine/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/farmer/.htaccess b/application/shipsimu/templates/game/farmer/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/fruit/.htaccess b/application/shipsimu/templates/game/fruit/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/fuel/.htaccess b/application/shipsimu/templates/game/fuel/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/grain/.htaccess b/application/shipsimu/templates/game/grain/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/lifestock/.htaccess b/application/shipsimu/templates/game/lifestock/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/merchant/.htaccess b/application/shipsimu/templates/game/merchant/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/mineral/.htaccess b/application/shipsimu/templates/game/mineral/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/produce/.htaccess b/application/shipsimu/templates/game/produce/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/research/.htaccess b/application/shipsimu/templates/game/research/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/resource/.htaccess b/application/shipsimu/templates/game/resource/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/ship/.htaccess b/application/shipsimu/templates/game/ship/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/tank/.htaccess b/application/shipsimu/templates/game/tank/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/technology/.htaccess b/application/shipsimu/templates/game/technology/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/types/.htaccess b/application/shipsimu/templates/game/types/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/shipsimu/templates/game/vegetable/.htaccess b/application/shipsimu/templates/game/vegetable/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/clear-cache.sh b/clear-cache.sh
deleted file mode 100755 (executable)
index 54edf12..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-echo "$0: Cleaning up..."
-rm -f templates/images/_cache/*.png application/*/templates/images/_cache/*.png
-
-echo "$0: All done."
diff --git a/contrib/Doxyfile b/contrib/Doxyfile
new file mode 100644 (file)
index 0000000..f5c45d4
--- /dev/null
@@ -0,0 +1,1565 @@
+# Doxyfile 1.6.2
+
+# This file describes the settings to be used by the documentation system
+# doxygen (www.doxygen.org) for a project
+#
+# All text after a hash (#) is considered a comment and will be ignored
+# The format is:
+#       TAG = value [value, ...]
+# For lists items can also be appended using:
+#       TAG += value [value, ...]
+# Values that contain spaces should be placed between quotes (" ")
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+
+# This tag specifies the encoding used for all characters in the config file
+# that follow. The default is UTF-8 which is also the encoding used for all
+# text before the first occurrence of this tag. Doxygen uses libiconv (or the
+# iconv built into libc) for the transcoding. See
+# http://www.gnu.org/software/libiconv for the list of possible encodings.
+
+DOXYFILE_ENCODING      = UTF-8
+
+# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
+# by quotes) that should identify the project.
+
+PROJECT_NAME           = Ship-Simulator
+
+# The PROJECT_NUMBER tag can be used to enter a project or revision number.
+# This could be handy for archiving the generated documentation or
+# if some version control system is used.
+
+PROJECT_NUMBER         = 0.1a
+
+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
+# base path where the generated documentation will be put.
+# If a relative path is entered, it will be relative to the location
+# where doxygen was started. If left blank the current directory will be used.
+
+OUTPUT_DIRECTORY       = /var/www/htdocs/ship-simu/trunk/docs/
+
+# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
+# 4096 sub-directories (in 2 levels) under the output directory of each output
+# format and will distribute the generated files over these directories.
+# Enabling this option can be useful when feeding doxygen a huge amount of
+# source files, where putting all generated files in the same directory would
+# otherwise cause performance problems for the file system.
+
+CREATE_SUBDIRS         = NO
+
+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
+# documentation generated by doxygen is written. Doxygen will use this
+# information to generate all constant output in the proper language.
+# The default language is English, other supported languages are:
+# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
+# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
+# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
+# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
+# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
+# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
+
+OUTPUT_LANGUAGE        = English
+
+# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
+# include brief member descriptions after the members that are listed in
+# the file and class documentation (similar to JavaDoc).
+# Set to NO to disable this.
+
+BRIEF_MEMBER_DESC      = YES
+
+# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
+# the brief description of a member or function before the detailed description.
+# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
+# brief descriptions will be completely suppressed.
+
+REPEAT_BRIEF           = YES
+
+# This tag implements a quasi-intelligent brief description abbreviator
+# that is used to form the text in various listings. Each string
+# in this list, if found as the leading text of the brief description, will be
+# stripped from the text and the result after processing the whole list, is
+# used as the annotated text. Otherwise, the brief description is used as-is.
+# If left blank, the following values are used ("$name" is automatically
+# replaced with the name of the entity): "The $name class" "The $name widget"
+# "The $name file" "is" "provides" "specifies" "contains"
+# "represents" "a" "an" "the"
+
+ABBREVIATE_BRIEF       = "The $name class " \
+                         "The $name widget " \
+                         "The $name file " \
+                         is \
+                         provides \
+                         specifies \
+                         contains \
+                         represents \
+                         a \
+                         an \
+                         the
+
+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
+# Doxygen will generate a detailed section even if there is only a brief
+# description.
+
+ALWAYS_DETAILED_SEC    = YES
+
+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
+# inherited members of a class in the documentation of that class as if those
+# members were ordinary class members. Constructors, destructors and assignment
+# operators of the base classes will not be shown.
+
+INLINE_INHERITED_MEMB  = YES
+
+# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
+# path before files name in the file list and in the header files. If set
+# to NO the shortest path that makes the file name unique will be used.
+
+FULL_PATH_NAMES        = YES
+
+# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
+# can be used to strip a user-defined part of the path. Stripping is
+# only done if one of the specified strings matches the left-hand part of
+# the path. The tag can be used to show relative paths in the file list.
+# If left blank the directory from which doxygen is run is used as the
+# path to strip.
+
+STRIP_FROM_PATH        = /var/www/htdocs/
+
+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
+# the path mentioned in the documentation of a class, which tells
+# the reader which header file to include in order to use a class.
+# If left blank only the name of the header file containing the class
+# definition is used. Otherwise one should specify the include paths that
+# are normally passed to the compiler using the -I flag.
+
+STRIP_FROM_INC_PATH    =
+
+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
+# (but less readable) file names. This can be useful is your file systems
+# doesn't support long names like on DOS, Mac, or CD-ROM.
+
+SHORT_NAMES            = NO
+
+# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
+# will interpret the first line (until the first dot) of a JavaDoc-style
+# comment as the brief description. If set to NO, the JavaDoc
+# comments will behave just like regular Qt-style comments
+# (thus requiring an explicit @brief command for a brief description.)
+
+JAVADOC_AUTOBRIEF      = YES
+
+# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
+# interpret the first line (until the first dot) of a Qt-style
+# comment as the brief description. If set to NO, the comments
+# will behave just like regular Qt-style comments (thus requiring
+# an explicit \brief command for a brief description.)
+
+QT_AUTOBRIEF           = NO
+
+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
+# treat a multi-line C++ special comment block (i.e. a block of //! or ///
+# comments) as a brief description. This used to be the default behaviour.
+# The new default is to treat a multi-line C++ comment block as a detailed
+# description. Set this tag to YES if you prefer the old behaviour instead.
+
+MULTILINE_CPP_IS_BRIEF = NO
+
+# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
+# member inherits the documentation from any documented member that it
+# re-implements.
+
+INHERIT_DOCS           = YES
+
+# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
+# a new page for each member. If set to NO, the documentation of a member will
+# be part of the file/class/namespace that contains it.
+
+SEPARATE_MEMBER_PAGES  = YES
+
+# The TAB_SIZE tag can be used to set the number of spaces in a tab.
+# Doxygen uses this value to replace tabs by spaces in code fragments.
+
+TAB_SIZE               = 8
+
+# This tag can be used to specify a number of aliases that acts
+# as commands in the documentation. An alias has the form "name=value".
+# For example adding "sideeffect=\par Side Effects:\n" will allow you to
+# put the command \sideeffect (or @sideeffect) in the documentation, which
+# will result in a user-defined paragraph with heading "Side Effects:".
+# You can put \n's in the value part of an alias to insert newlines.
+
+ALIASES                =
+
+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
+# sources only. Doxygen will then generate output that is more tailored for C.
+# For instance, some of the names that are used will be different. The list
+# of all members will be omitted, etc.
+
+OPTIMIZE_OUTPUT_FOR_C  = NO
+
+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
+# sources only. Doxygen will then generate output that is more tailored for
+# Java. For instance, namespaces will be presented as packages, qualified
+# scopes will look different, etc.
+
+OPTIMIZE_OUTPUT_JAVA   = YES
+
+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
+# sources only. Doxygen will then generate output that is more tailored for
+# Fortran.
+
+OPTIMIZE_FOR_FORTRAN   = NO
+
+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
+# sources. Doxygen will then generate output that is tailored for
+# VHDL.
+
+OPTIMIZE_OUTPUT_VHDL   = NO
+
+# Doxygen selects the parser to use depending on the extension of the files it parses.
+# With this tag you can assign which parser to use for a given extension.
+# Doxygen has a built-in mapping, but you can override or extend it using this tag.
+# The format is ext=language, where ext is a file extension, and language is one of
+# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
+# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
+# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
+# use: inc=Fortran f=C. Note that for custom extensions you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
+
+EXTENSION_MAPPING      =
+
+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
+# to include (a tag file for) the STL sources as input, then you should
+# set this tag to YES in order to let doxygen match functions declarations and
+# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
+# func(std::string) {}). This also make the inheritance and collaboration
+# diagrams that involve STL classes more complete and accurate.
+
+BUILTIN_STL_SUPPORT    = NO
+
+# If you use Microsoft's C++/CLI language, you should set this option to YES to
+# enable parsing support.
+
+CPP_CLI_SUPPORT        = NO
+
+# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
+# Doxygen will parse them like normal C++ but will assume all classes use public
+# instead of private inheritance when no explicit protection keyword is present.
+
+SIP_SUPPORT            = NO
+
+# For Microsoft's IDL there are propget and propput attributes to indicate getter
+# and setter methods for a property. Setting this option to YES (the default)
+# will make doxygen to replace the get and set methods by a property in the
+# documentation. This will only work if the methods are indeed getting or
+# setting a simple type. If this is not the case, or you want to show the
+# methods anyway, you should set this option to NO.
+
+IDL_PROPERTY_SUPPORT   = YES
+
+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
+# tag is set to YES, then doxygen will reuse the documentation of the first
+# member in the group (if any) for the other members of the group. By default
+# all members of a group must be documented explicitly.
+
+DISTRIBUTE_GROUP_DOC   = YES
+
+# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
+# the same type (for instance a group of public functions) to be put as a
+# subgroup of that type (e.g. under the Public Functions section). Set it to
+# NO to prevent subgrouping. Alternatively, this can be done per class using
+# the \nosubgrouping command.
+
+SUBGROUPING            = YES
+
+# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
+# is documented as struct, union, or enum with the name of the typedef. So
+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
+# with name TypeT. When disabled the typedef will appear as a member of a file,
+# namespace, or class. And the struct will be named TypeS. This can typically
+# be useful for C code in case the coding convention dictates that all compound
+# types are typedef'ed and only the typedef is referenced, never the tag name.
+
+TYPEDEF_HIDES_STRUCT   = NO
+
+# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
+# determine which symbols to keep in memory and which to flush to disk.
+# When the cache is full, less often used symbols will be written to disk.
+# For small to medium size projects (<1000 input files) the default value is
+# probably good enough. For larger projects a too small cache size can cause
+# doxygen to be busy swapping symbols to and from disk most of the time
+# causing a significant performance penality.
+# If the system has enough physical memory increasing the cache will improve the
+# performance by keeping more symbols in memory. Note that the value works on
+# a logarithmic scale so increasing the size by one will rougly double the
+# memory usage. The cache size is given by this formula:
+# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
+# corresponding to a cache size of 2^16 = 65536 symbols
+
+SYMBOL_CACHE_SIZE      = 0
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+
+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
+# documentation are documented, even if no documentation was available.
+# Private class members and static file members will be hidden unless
+# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
+
+EXTRACT_ALL            = YES
+
+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
+# will be included in the documentation.
+
+EXTRACT_PRIVATE        = YES
+
+# If the EXTRACT_STATIC tag is set to YES all static members of a file
+# will be included in the documentation.
+
+EXTRACT_STATIC         = YES
+
+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
+# defined locally in source files will be included in the documentation.
+# If set to NO only classes defined in header files are included.
+
+EXTRACT_LOCAL_CLASSES  = YES
+
+# This flag is only useful for Objective-C code. When set to YES local
+# methods, which are defined in the implementation section but not in
+# the interface are included in the documentation.
+# If set to NO (the default) only methods in the interface are included.
+
+EXTRACT_LOCAL_METHODS  = YES
+
+# If this flag is set to YES, the members of anonymous namespaces will be
+# extracted and appear in the documentation as a namespace called
+# 'anonymous_namespace{file}', where file will be replaced with the base
+# name of the file that contains the anonymous namespace. By default
+# anonymous namespace are hidden.
+
+EXTRACT_ANON_NSPACES   = NO
+
+# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
+# undocumented members of documented classes, files or namespaces.
+# If set to NO (the default) these members will be included in the
+# various overviews, but no documentation section is generated.
+# This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_MEMBERS     = NO
+
+# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
+# undocumented classes that are normally visible in the class hierarchy.
+# If set to NO (the default) these classes will be included in the various
+# overviews. This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_CLASSES     = NO
+
+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
+# friend (class|struct|union) declarations.
+# If set to NO (the default) these declarations will be included in the
+# documentation.
+
+HIDE_FRIEND_COMPOUNDS  = NO
+
+# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
+# documentation blocks found inside the body of a function.
+# If set to NO (the default) these blocks will be appended to the
+# function's detailed documentation block.
+
+HIDE_IN_BODY_DOCS      = NO
+
+# The INTERNAL_DOCS tag determines if documentation
+# that is typed after a \internal command is included. If the tag is set
+# to NO (the default) then the documentation will be excluded.
+# Set it to YES to include the internal documentation.
+
+INTERNAL_DOCS          = NO
+
+# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
+# file names in lower-case letters. If set to YES upper-case letters are also
+# allowed. This is useful if you have classes or files whose names only differ
+# in case and if your file system supports case sensitive file names. Windows
+# and Mac users are advised to set this option to NO.
+
+CASE_SENSE_NAMES       = YES
+
+# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
+# will show members with their full class and namespace scopes in the
+# documentation. If set to YES the scope will be hidden.
+
+HIDE_SCOPE_NAMES       = NO
+
+# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
+# will put a list of the files that are included by a file in the documentation
+# of that file.
+
+SHOW_INCLUDE_FILES     = YES
+
+# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
+# will list include files with double quotes in the documentation
+# rather than with sharp brackets.
+
+FORCE_LOCAL_INCLUDES   = NO
+
+# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
+# is inserted in the documentation for inline members.
+
+INLINE_INFO            = YES
+
+# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
+# will sort the (detailed) documentation of file and class members
+# alphabetically by member name. If set to NO the members will appear in
+# declaration order.
+
+SORT_MEMBER_DOCS       = YES
+
+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
+# brief documentation of file, namespace and class members alphabetically
+# by member name. If set to NO (the default) the members will appear in
+# declaration order.
+
+SORT_BRIEF_DOCS        = YES
+
+# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the (brief and detailed) documentation of class members so that constructors and destructors are listed first. If set to NO (the default) the constructors will appear in the respective orders defined by SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
+
+SORT_MEMBERS_CTORS_1ST = NO
+
+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
+# hierarchy of group names into alphabetical order. If set to NO (the default)
+# the group names will appear in their defined order.
+
+SORT_GROUP_NAMES       = NO
+
+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
+# sorted by fully-qualified names, including namespaces. If set to
+# NO (the default), the class list will be sorted only by class name,
+# not including the namespace part.
+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
+# Note: This option applies only to the class list, not to the
+# alphabetical list.
+
+SORT_BY_SCOPE_NAME     = YES
+
+# The GENERATE_TODOLIST tag can be used to enable (YES) or
+# disable (NO) the todo list. This list is created by putting \todo
+# commands in the documentation.
+
+GENERATE_TODOLIST      = YES
+
+# The GENERATE_TESTLIST tag can be used to enable (YES) or
+# disable (NO) the test list. This list is created by putting \test
+# commands in the documentation.
+
+GENERATE_TESTLIST      = YES
+
+# The GENERATE_BUGLIST tag can be used to enable (YES) or
+# disable (NO) the bug list. This list is created by putting \bug
+# commands in the documentation.
+
+GENERATE_BUGLIST       = YES
+
+# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
+# disable (NO) the deprecated list. This list is created by putting
+# \deprecated commands in the documentation.
+
+GENERATE_DEPRECATEDLIST= YES
+
+# The ENABLED_SECTIONS tag can be used to enable conditional
+# documentation sections, marked by \if sectionname ... \endif.
+
+ENABLED_SECTIONS       =
+
+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
+# the initial value of a variable or define consists of for it to appear in
+# the documentation. If the initializer consists of more lines than specified
+# here it will be hidden. Use a value of 0 to hide initializers completely.
+# The appearance of the initializer of individual variables and defines in the
+# documentation can be controlled using \showinitializer or \hideinitializer
+# command in the documentation regardless of this setting.
+
+MAX_INITIALIZER_LINES  = 30
+
+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
+# at the bottom of the documentation of classes and structs. If set to YES the
+# list will mention the files that were used to generate the documentation.
+
+SHOW_USED_FILES        = YES
+
+# If the sources in your project are distributed over multiple directories
+# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
+# in the documentation. The default is NO.
+
+SHOW_DIRECTORIES       = YES
+
+# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
+# This will remove the Files entry from the Quick Index and from the
+# Folder Tree View (if specified). The default is YES.
+
+SHOW_FILES             = YES
+
+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
+# Namespaces page.
+# This will remove the Namespaces entry from the Quick Index
+# and from the Folder Tree View (if specified). The default is YES.
+
+SHOW_NAMESPACES        = YES
+
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that
+# doxygen should invoke to get the current version for each file (typically from
+# the version control system). Doxygen will invoke the program by executing (via
+# popen()) the command <command> <input-file>, where <command> is the value of
+# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
+# provided by doxygen. Whatever the program writes to standard output
+# is used as the file version. See the manual for examples.
+
+FILE_VERSION_FILTER    =
+
+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
+# doxygen. The layout file controls the global structure of the generated output files
+# in an output format independent way. The create the layout file that represents
+# doxygen's defaults, run doxygen with the -l option. You can optionally specify a
+# file name after the option, if omitted DoxygenLayout.xml will be used as the name
+# of the layout file.
+
+LAYOUT_FILE            =
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+
+# The QUIET tag can be used to turn on/off the messages that are generated
+# by doxygen. Possible values are YES and NO. If left blank NO is used.
+
+QUIET                  = NO
+
+# The WARNINGS tag can be used to turn on/off the warning messages that are
+# generated by doxygen. Possible values are YES and NO. If left blank
+# NO is used.
+
+WARNINGS               = YES
+
+# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
+# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
+# automatically be disabled.
+
+WARN_IF_UNDOCUMENTED   = YES
+
+# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
+# potential errors in the documentation, such as not documenting some
+# parameters in a documented function, or documenting parameters that
+# don't exist or using markup commands wrongly.
+
+WARN_IF_DOC_ERROR      = YES
+
+# This WARN_NO_PARAMDOC option can be abled to get warnings for
+# functions that are documented, but have no documentation for their parameters
+# or return value. If set to NO (the default) doxygen will only warn about
+# wrong or incomplete parameter documentation, but not about the absence of
+# documentation.
+
+WARN_NO_PARAMDOC       = YES
+
+# The WARN_FORMAT tag determines the format of the warning messages that
+# doxygen can produce. The string should contain the $file, $line, and $text
+# tags, which will be replaced by the file and line number from which the
+# warning originated and the warning text. Optionally the format may contain
+# $version, which will be replaced by the version of the file (if it could
+# be obtained via FILE_VERSION_FILTER)
+
+WARN_FORMAT            = "$file:$line: $text "
+
+# The WARN_LOGFILE tag can be used to specify a file to which warning
+# and error messages should be written. If left blank the output is written
+# to stderr.
+
+WARN_LOGFILE           = /var/www/htdocs/ship-simu/trunk/docs/warn.log
+
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+
+# The INPUT tag can be used to specify the files and/or directories that contain
+# documented source files. You may enter file names like "myfile.cpp" or
+# directories like "/usr/src/myproject". Separate the files or directories
+# with spaces.
+
+INPUT                  = /var/www/htdocs/ship-simu/trunk/index.php \
+                         /var/www/htdocs/ship-simu/trunk/inc/ \
+                         /var/www/htdocs/ship-simu/trunk/application/ship-simu/
+
+# This tag can be used to specify the character encoding of the source files
+# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
+# also the default input encoding. Doxygen uses libiconv (or the iconv built
+# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
+# the list of possible encodings.
+
+INPUT_ENCODING         = UTF-8
+
+# If the value of the INPUT tag contains directories, you can use the
+# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank the following patterns are tested:
+# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
+# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
+
+FILE_PATTERNS          = *.php \
+                         *.ctp
+
+# The RECURSIVE tag can be used to turn specify whether or not subdirectories
+# should be searched for input files as well. Possible values are YES and NO.
+# If left blank NO is used.
+
+RECURSIVE              = YES
+
+# The EXCLUDE tag can be used to specify files and/or directories that should
+# excluded from the INPUT source files. This way you can easily exclude a
+# subdirectory from a directory tree whose root is specified with the INPUT tag.
+
+EXCLUDE                =
+
+# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
+# directories that are symbolic links (a Unix filesystem feature) are excluded
+# from the input.
+
+EXCLUDE_SYMLINKS       = NO
+
+# If the value of the INPUT tag contains directories, you can use the
+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
+# certain files from those directories. Note that the wildcards are matched
+# against the file with absolute path, so to exclude all test directories
+# for example use the pattern */test/*
+
+EXCLUDE_PATTERNS       = */docs/* \
+                         */ship-simu.org/*
+
+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
+# (namespaces, classes, functions, etc.) that should be excluded from the
+# output. The symbol name can be a fully qualified name, a word, or if the
+# wildcard * is used, a substring. Examples: ANamespace, AClass,
+# AClass::ANamespace, ANamespace::*Test
+
+EXCLUDE_SYMBOLS        =
+
+# The EXAMPLE_PATH tag can be used to specify one or more files or
+# directories that contain example code fragments that are included (see
+# the \include command).
+
+EXAMPLE_PATH           =
+
+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank all files are included.
+
+EXAMPLE_PATTERNS       = *
+
+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
+# searched for input files to be used with the \include or \dontinclude
+# commands irrespective of the value of the RECURSIVE tag.
+# Possible values are YES and NO. If left blank NO is used.
+
+EXAMPLE_RECURSIVE      = NO
+
+# The IMAGE_PATH tag can be used to specify one or more files or
+# directories that contain image that are included in the documentation (see
+# the \image command).
+
+IMAGE_PATH             =
+
+# The INPUT_FILTER tag can be used to specify a program that doxygen should
+# invoke to filter for each input file. Doxygen will invoke the filter program
+# by executing (via popen()) the command <filter> <input-file>, where <filter>
+# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
+# input file. Doxygen will then use the output that the filter program writes
+# to standard output.
+# If FILTER_PATTERNS is specified, this tag will be
+# ignored.
+
+INPUT_FILTER           =
+
+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
+# basis.
+# Doxygen will compare the file name with each pattern and apply the
+# filter if there is a match.
+# The filters are a list of the form:
+# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
+# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
+# is applied to all files.
+
+FILTER_PATTERNS        =
+
+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
+# INPUT_FILTER) will be used to filter the input files when producing source
+# files to browse (i.e. when SOURCE_BROWSER is set to YES).
+
+FILTER_SOURCE_FILES    = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+
+# If the SOURCE_BROWSER tag is set to YES then a list of source files will
+# be generated. Documented entities will be cross-referenced with these sources.
+# Note: To get rid of all source code in the generated output, make sure also
+# VERBATIM_HEADERS is set to NO.
+
+SOURCE_BROWSER         = YES
+
+# Setting the INLINE_SOURCES tag to YES will include the body
+# of functions and classes directly in the documentation.
+
+INLINE_SOURCES         = YES
+
+# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
+# doxygen to hide any special comment blocks from generated source code
+# fragments. Normal C and C++ comments will always remain visible.
+
+STRIP_CODE_COMMENTS    = YES
+
+# If the REFERENCED_BY_RELATION tag is set to YES
+# then for each documented function all documented
+# functions referencing it will be listed.
+
+REFERENCED_BY_RELATION = YES
+
+# If the REFERENCES_RELATION tag is set to YES
+# then for each documented function all documented entities
+# called/used by that function will be listed.
+
+REFERENCES_RELATION    = YES
+
+# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
+# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
+# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
+# link to the source code.
+# Otherwise they will link to the documentation.
+
+REFERENCES_LINK_SOURCE = YES
+
+# If the USE_HTAGS tag is set to YES then the references to source code
+# will point to the HTML generated by the htags(1) tool instead of doxygen
+# built-in source browser. The htags tool is part of GNU's global source
+# tagging system (see http://www.gnu.org/software/global/global.html). You
+# will need version 4.8.6 or higher.
+
+USE_HTAGS              = NO
+
+# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
+# will generate a verbatim copy of the header file for each class for
+# which an include is specified. Set to NO to disable this.
+
+VERBATIM_HEADERS       = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+
+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
+# of all compounds will be generated. Enable this if the project
+# contains a lot of classes, structs, unions or interfaces.
+
+ALPHABETICAL_INDEX     = YES
+
+# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
+# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
+# in which this list will be split (can be a number in the range [1..20])
+
+COLS_IN_ALPHA_INDEX    = 3
+
+# In case all classes in a project start with a common prefix, all
+# classes will be put under the same header in the alphabetical index.
+# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
+# should be ignored while generating the index headers.
+
+IGNORE_PREFIX          =
+
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
+# generate HTML output.
+
+GENERATE_HTML          = YES
+
+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `html' will be used as the default path.
+
+HTML_OUTPUT            = html
+
+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
+# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
+# doxygen will generate files with .html extension.
+
+HTML_FILE_EXTENSION    = .html
+
+# The HTML_HEADER tag can be used to specify a personal HTML header for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard header.
+
+HTML_HEADER            =
+
+# The HTML_FOOTER tag can be used to specify a personal HTML footer for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard footer.
+
+HTML_FOOTER            =
+
+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
+# style sheet that is used by each HTML page. It can be used to
+# fine-tune the look of the HTML output. If the tag is left blank doxygen
+# will generate a default style sheet. Note that doxygen will try to copy
+# the style sheet file to the HTML output directory, so don't put your own
+# stylesheet in the HTML output directory as well, or it will be erased!
+
+HTML_STYLESHEET        =
+
+# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
+# page will contain the date and time when the page was generated. Setting
+# this to NO can help when comparing the output of multiple runs.
+
+HTML_TIMESTAMP         = NO
+
+# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
+# files or namespaces will be aligned in HTML using tables. If set to
+# NO a bullet list will be used.
+
+HTML_ALIGN_MEMBERS     = YES
+
+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
+# documentation will contain sections that can be hidden and shown after the
+# page has loaded. For this to work a browser that supports
+# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
+# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
+
+HTML_DYNAMIC_SECTIONS  = NO
+
+# If the GENERATE_DOCSET tag is set to YES, additional index files
+# will be generated that can be used as input for Apple's Xcode 3
+# integrated development environment, introduced with OSX 10.5 (Leopard).
+# To create a documentation set, doxygen will generate a Makefile in the
+# HTML output directory. Running make will produce the docset in that
+# directory and running "make install" will install the docset in
+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
+# it at startup.
+# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
+
+GENERATE_DOCSET        = NO
+
+# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
+# feed. A documentation feed provides an umbrella under which multiple
+# documentation sets from a single provider (such as a company or product suite)
+# can be grouped.
+
+DOCSET_FEEDNAME        = "Doxygen generated docs"
+
+# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
+# should uniquely identify the documentation set bundle. This should be a
+# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
+# will append .docset to the name.
+
+DOCSET_BUNDLE_ID       = org.doxygen.Project
+
+# If the GENERATE_HTMLHELP tag is set to YES, additional index files
+# will be generated that can be used as input for tools like the
+# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
+# of the generated HTML documentation.
+
+GENERATE_HTMLHELP      = YES
+
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
+# be used to specify the file name of the resulting .chm file. You
+# can add a path in front of the file if the result should not be
+# written to the html output directory.
+
+CHM_FILE               =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
+# be used to specify the location (absolute path including file name) of
+# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
+# the HTML help compiler on the generated index.hhp.
+
+HHC_LOCATION           =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
+# controls if a separate .chi index file is generated (YES) or that
+# it should be included in the master .chm file (NO).
+
+GENERATE_CHI           = YES
+
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
+# is used to encode HtmlHelp index (hhk), content (hhc) and project file
+# content.
+
+CHM_INDEX_ENCODING     =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
+# controls whether a binary table of contents is generated (YES) or a
+# normal table of contents (NO) in the .chm file.
+
+BINARY_TOC             = YES
+
+# The TOC_EXPAND flag can be set to YES to add extra items for group members
+# to the contents of the HTML help documentation and to the tree view.
+
+TOC_EXPAND             = YES
+
+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER
+# are set, an additional index file will be generated that can be used as input for
+# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated
+# HTML documentation.
+
+GENERATE_QHP           = NO
+
+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
+# be used to specify the file name of the resulting .qch file.
+# The path specified is relative to the HTML output folder.
+
+QCH_FILE               =
+
+# The QHP_NAMESPACE tag specifies the namespace to use when generating
+# Qt Help Project output. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#namespace
+
+QHP_NAMESPACE          = org.doxygen.Project
+
+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
+# Qt Help Project output. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#virtual-folders
+
+QHP_VIRTUAL_FOLDER     = doc
+
+# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add.
+# For more information please see
+# http://doc.trolltech.com/qthelpproject.html#custom-filters
+
+QHP_CUST_FILTER_NAME   =
+
+# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see
+# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">Qt Help Project / Custom Filters</a>.
+
+QHP_CUST_FILTER_ATTRS  =
+
+# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's
+# filter section matches.
+# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">Qt Help Project / Filter Attributes</a>.
+
+QHP_SECT_FILTER_ATTRS  =
+
+# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
+# be used to specify the location of Qt's qhelpgenerator.
+# If non-empty doxygen will try to run qhelpgenerator on the generated
+# .qhp file.
+
+QHG_LOCATION           =
+
+# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
+#  will be generated, which together with the HTML files, form an Eclipse help
+#  plugin. To install this plugin and make it available under the help contents
+# menu in Eclipse, the contents of the directory containing the HTML and XML
+# files needs to be copied into the plugins directory of eclipse. The name of
+# the directory within the plugins directory should be the same as
+# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before the help appears.
+
+GENERATE_ECLIPSEHELP   = NO
+
+# A unique identifier for the eclipse help plugin. When installing the plugin
+# the directory name containing the HTML and XML files should also have
+# this name.
+
+ECLIPSE_DOC_ID         = org.doxygen.Project
+
+# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
+# top of each HTML page. The value NO (the default) enables the index and
+# the value YES disables it.
+
+DISABLE_INDEX          = NO
+
+# This tag can be used to set the number of enum values (range [1..20])
+# that doxygen will group on one line in the generated HTML documentation.
+
+ENUM_VALUES_PER_LINE   = 4
+
+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
+# structure should be generated to display hierarchical information.
+# If the tag value is set to YES, a side panel will be generated
+# containing a tree-like index structure (just like the one that
+# is generated for HTML Help). For this to work a browser that supports
+# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
+# Windows users are probably better off using the HTML help feature.
+
+GENERATE_TREEVIEW      = NO
+
+# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
+# and Class Hierarchy pages using a tree view instead of an ordered list.
+
+USE_INLINE_TREES       = NO
+
+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
+# used to set the initial width (in pixels) of the frame in which the tree
+# is shown.
+
+TREEVIEW_WIDTH         = 250
+
+# Use this tag to change the font size of Latex formulas included
+# as images in the HTML documentation. The default is 10. Note that
+# when you change the font size after a successful doxygen run you need
+# to manually remove any form_*.png images from the HTML output directory
+# to force them to be regenerated.
+
+FORMULA_FONTSIZE       = 10
+
+# When the SEARCHENGINE tag is enabled doxygen will generate a search box for the HTML output. The underlying search engine uses javascript
+# and DHTML and should work on any modern browser. Note that when using HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) there is already a search function so this one should
+# typically be disabled. For large projects the javascript based search engine
+# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
+
+SEARCHENGINE           = YES
+
+# When the SERVER_BASED_SEARCH tag is enabled the search engine will be implemented using a PHP enabled web server instead of at the web client using Javascript. Doxygen will generate the search PHP script and index
+# file to put on the web server. The advantage of the server based approach is that it scales better to large projects and allows full text search. The disadvances is that it is more difficult to setup
+# and does not have live searching capabilities.
+
+SERVER_BASED_SEARCH    = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
+# generate Latex output.
+
+GENERATE_LATEX         = NO
+
+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `latex' will be used as the default path.
+
+LATEX_OUTPUT           = latex
+
+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
+# invoked. If left blank `latex' will be used as the default command name.
+# Note that when enabling USE_PDFLATEX this option is only used for
+# generating bitmaps for formulas in the HTML output, but not in the
+# Makefile that is written to the output directory.
+
+LATEX_CMD_NAME         = latex
+
+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
+# generate index for LaTeX. If left blank `makeindex' will be used as the
+# default command name.
+
+MAKEINDEX_CMD_NAME     = makeindex
+
+# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
+# LaTeX documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_LATEX          = NO
+
+# The PAPER_TYPE tag can be used to set the paper type that is used
+# by the printer. Possible values are: a4, a4wide, letter, legal and
+# executive. If left blank a4wide will be used.
+
+PAPER_TYPE             = a4wide
+
+# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
+# packages that should be included in the LaTeX output.
+
+EXTRA_PACKAGES         =
+
+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
+# the generated latex document. The header should contain everything until
+# the first chapter. If it is left blank doxygen will generate a
+# standard header. Notice: only use this tag if you know what you are doing!
+
+LATEX_HEADER           =
+
+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
+# is prepared for conversion to pdf (using ps2pdf). The pdf file will
+# contain links (just like the HTML output) instead of page references
+# This makes the output suitable for online browsing using a pdf viewer.
+
+PDF_HYPERLINKS         = NO
+
+# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
+# plain latex in the generated Makefile. Set this option to YES to get a
+# higher quality PDF documentation.
+
+USE_PDFLATEX           = NO
+
+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
+# command to the generated LaTeX files. This will instruct LaTeX to keep
+# running if errors occur, instead of asking the user for help.
+# This option is also used when generating formulas in HTML.
+
+LATEX_BATCHMODE        = NO
+
+# If LATEX_HIDE_INDICES is set to YES then doxygen will not
+# include the index chapters (such as File Index, Compound Index, etc.)
+# in the output.
+
+LATEX_HIDE_INDICES     = NO
+
+# If LATEX_SOURCE_CODE is set to YES then doxygen will include source code with syntax highlighting in the LaTeX output. Note that which sources are shown also depends on other settings such as SOURCE_BROWSER.
+
+LATEX_SOURCE_CODE      = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
+# The RTF output is optimized for Word 97 and may not look very pretty with
+# other RTF readers or editors.
+
+GENERATE_RTF           = NO
+
+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `rtf' will be used as the default path.
+
+RTF_OUTPUT             = rtf
+
+# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
+# RTF documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_RTF            = NO
+
+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
+# will contain hyperlink fields. The RTF file will
+# contain links (just like the HTML output) instead of page references.
+# This makes the output suitable for online browsing using WORD or other
+# programs which support those fields.
+# Note: wordpad (write) and others do not support links.
+
+RTF_HYPERLINKS         = NO
+
+# Load stylesheet definitions from file. Syntax is similar to doxygen's
+# config file, i.e. a series of assignments. You only have to provide
+# replacements, missing definitions are set to their default value.
+
+RTF_STYLESHEET_FILE    =
+
+# Set optional variables used in the generation of an rtf document.
+# Syntax is similar to doxygen's config file.
+
+RTF_EXTENSIONS_FILE    =
+
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
+# generate man pages
+
+GENERATE_MAN           = NO
+
+# The MAN_OUTPUT tag is used to specify where the man pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `man' will be used as the default path.
+
+MAN_OUTPUT             = man
+
+# The MAN_EXTENSION tag determines the extension that is added to
+# the generated man pages (default is the subroutine's section .3)
+
+MAN_EXTENSION          = .3
+
+# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
+# then it will generate one additional man file for each entity
+# documented in the real man page(s). These additional files
+# only source the real man page, but without them the man command
+# would be unable to find the correct page. The default is NO.
+
+MAN_LINKS              = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_XML tag is set to YES Doxygen will
+# generate an XML file that captures the structure of
+# the code including all documentation.
+
+GENERATE_XML           = NO
+
+# The XML_OUTPUT tag is used to specify where the XML pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `xml' will be used as the default path.
+
+XML_OUTPUT             = xml
+
+# The XML_SCHEMA tag can be used to specify an XML schema,
+# which can be used by a validating XML parser to check the
+# syntax of the XML files.
+
+XML_SCHEMA             =
+
+# The XML_DTD tag can be used to specify an XML DTD,
+# which can be used by a validating XML parser to check the
+# syntax of the XML files.
+
+XML_DTD                =
+
+# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
+# dump the program listings (including syntax highlighting
+# and cross-referencing information) to the XML output. Note that
+# enabling this will significantly increase the size of the XML output.
+
+XML_PROGRAMLISTING     = YES
+
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
+# generate an AutoGen Definitions (see autogen.sf.net) file
+# that captures the structure of the code including all
+# documentation. Note that this feature is still experimental
+# and incomplete at the moment.
+
+GENERATE_AUTOGEN_DEF   = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_PERLMOD tag is set to YES Doxygen will
+# generate a Perl module file that captures the structure of
+# the code including all documentation. Note that this
+# feature is still experimental and incomplete at the
+# moment.
+
+GENERATE_PERLMOD       = NO
+
+# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
+# the necessary Makefile rules, Perl scripts and LaTeX code to be able
+# to generate PDF and DVI output from the Perl module output.
+
+PERLMOD_LATEX          = NO
+
+# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
+# nicely formatted so it can be parsed by a human reader.
+# This is useful
+# if you want to understand what is going on.
+# On the other hand, if this
+# tag is set to NO the size of the Perl module output will be much smaller
+# and Perl will parse it just the same.
+
+PERLMOD_PRETTY         = YES
+
+# The names of the make variables in the generated doxyrules.make file
+# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
+# This is useful so different doxyrules.make files included by the same
+# Makefile don't overwrite each other's variables.
+
+PERLMOD_MAKEVAR_PREFIX =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+
+# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
+# evaluate all C-preprocessor directives found in the sources and include
+# files.
+
+ENABLE_PREPROCESSING   = YES
+
+# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
+# names in the source code. If set to NO (the default) only conditional
+# compilation will be performed. Macro expansion can be done in a controlled
+# way by setting EXPAND_ONLY_PREDEF to YES.
+
+MACRO_EXPANSION        = YES
+
+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
+# then the macro expansion is limited to the macros specified with the
+# PREDEFINED and EXPAND_AS_DEFINED tags.
+
+EXPAND_ONLY_PREDEF     = NO
+
+# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
+# in the INCLUDE_PATH (see below) will be search if a #include is found.
+
+SEARCH_INCLUDES        = YES
+
+# The INCLUDE_PATH tag can be used to specify one or more directories that
+# contain include files that are not input files but should be processed by
+# the preprocessor.
+
+INCLUDE_PATH           =
+
+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
+# patterns (like *.h and *.hpp) to filter out the header-files in the
+# directories. If left blank, the patterns specified with FILE_PATTERNS will
+# be used.
+
+INCLUDE_FILE_PATTERNS  =
+
+# The PREDEFINED tag can be used to specify one or more macro names that
+# are defined before the preprocessor is started (similar to the -D option of
+# gcc). The argument of the tag is a list of macros of the form: name
+# or name=definition (no spaces). If the definition and the = are
+# omitted =1 is assumed. To prevent a macro definition from being
+# undefined via #undef or recursively expanded use the := operator
+# instead of the = operator.
+
+PREDEFINED             =
+
+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
+# this tag can be used to specify a list of macro names that should be expanded.
+# The macro definition that is found in the sources will be used.
+# Use the PREDEFINED tag if you want to use a different macro definition.
+
+EXPAND_AS_DEFINED      =
+
+# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
+# doxygen's preprocessor will remove all function-like macros that are alone
+# on a line, have an all uppercase name, and do not end with a semicolon. Such
+# function macros are typically used for boiler-plate code, and will confuse
+# the parser if not removed.
+
+SKIP_FUNCTION_MACROS   = YES
+
+#---------------------------------------------------------------------------
+# Configuration::additions related to external references
+#---------------------------------------------------------------------------
+
+# The TAGFILES option can be used to specify one or more tagfiles.
+# Optionally an initial location of the external documentation
+# can be added for each tagfile. The format of a tag file without
+# this location is as follows:
+#
+# TAGFILES = file1 file2 ...
+# Adding location for the tag files is done as follows:
+#
+# TAGFILES = file1=loc1 "file2 = loc2" ...
+# where "loc1" and "loc2" can be relative or absolute paths or
+# URLs. If a location is present for each tag, the installdox tool
+# does not have to be run to correct the links.
+# Note that each tag file must have a unique name
+# (where the name does NOT include the path)
+# If a tag file is not located in the directory in which doxygen
+# is run, you must also specify the path to the tagfile here.
+
+TAGFILES               =
+
+# When a file name is specified after GENERATE_TAGFILE, doxygen will create
+# a tag file that is based on the input files it reads.
+
+GENERATE_TAGFILE       =
+
+# If the ALLEXTERNALS tag is set to YES all external classes will be listed
+# in the class index. If set to NO only the inherited external classes
+# will be listed.
+
+ALLEXTERNALS           = NO
+
+# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
+# in the modules index. If set to NO, only the current project's groups will
+# be listed.
+
+EXTERNAL_GROUPS        = YES
+
+# The PERL_PATH should be the absolute path and name of the perl script
+# interpreter (i.e. the result of `which perl').
+
+PERL_PATH              = /usr/bin/perl
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+
+# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
+# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
+# or super classes. Setting the tag to NO turns the diagrams off. Note that
+# this option is superseded by the HAVE_DOT option below. This is only a
+# fallback. It is recommended to install and use dot, since it yields more
+# powerful graphs.
+
+CLASS_DIAGRAMS         = YES
+
+# You can define message sequence charts within doxygen comments using the \msc
+# command. Doxygen will then run the mscgen tool (see
+# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
+# documentation. The MSCGEN_PATH tag allows you to specify the directory where
+# the mscgen tool resides. If left empty the tool is assumed to be found in the
+# default search path.
+
+MSCGEN_PATH            =
+
+# If set to YES, the inheritance and collaboration graphs will hide
+# inheritance and usage relations if the target is undocumented
+# or is not a class.
+
+HIDE_UNDOC_RELATIONS   = NO
+
+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
+# available from the path. This tool is part of Graphviz, a graph visualization
+# toolkit from AT&T and Lucent Bell Labs. The other options in this section
+# have no effect if this option is set to NO (the default)
+
+HAVE_DOT               = YES
+
+# By default doxygen will write a font called FreeSans.ttf to the output
+# directory and reference it in all dot files that doxygen generates. This
+# font does not include all possible unicode characters however, so when you need
+# these (or just want a differently looking font) you can specify the font name
+# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
+# which can be done by putting it in a standard location or by setting the
+# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
+# containing the font.
+
+DOT_FONTNAME           = FreeSans
+
+# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
+# The default size is 10pt.
+
+DOT_FONTSIZE           = 10
+
+# By default doxygen will tell dot to use the output directory to look for the
+# FreeSans.ttf font (which doxygen will put there itself). If you specify a
+# different font using DOT_FONTNAME you can set the path where dot
+# can find it using this tag.
+
+DOT_FONTPATH           =
+
+# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect inheritance relations. Setting this tag to YES will force the
+# the CLASS_DIAGRAMS tag to NO.
+
+CLASS_GRAPH            = YES
+
+# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect implementation dependencies (inheritance, containment, and
+# class references variables) of the class with other documented classes.
+
+COLLABORATION_GRAPH    = YES
+
+# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for groups, showing the direct groups dependencies
+
+GROUP_GRAPHS           = YES
+
+# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
+# collaboration diagrams in a style similar to the OMG's Unified Modeling
+# Language.
+
+UML_LOOK               = YES
+
+# If set to YES, the inheritance and collaboration graphs will show the
+# relations between templates and their instances.
+
+TEMPLATE_RELATIONS     = YES
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
+# tags are set to YES then doxygen will generate a graph for each documented
+# file showing the direct and indirect include dependencies of the file with
+# other documented files.
+
+INCLUDE_GRAPH          = YES
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
+# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
+# documented header file showing the documented files that directly or
+# indirectly include this file.
+
+INCLUDED_BY_GRAPH      = YES
+
+# If the CALL_GRAPH and HAVE_DOT options are set to YES then
+# doxygen will generate a call dependency graph for every global function
+# or class method. Note that enabling this option will significantly increase
+# the time of a run. So in most cases it will be better to enable call graphs
+# for selected functions only using the \callgraph command.
+
+CALL_GRAPH             = YES
+
+# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
+# doxygen will generate a caller dependency graph for every global function
+# or class method. Note that enabling this option will significantly increase
+# the time of a run. So in most cases it will be better to enable caller
+# graphs for selected functions only using the \callergraph command.
+
+CALLER_GRAPH           = YES
+
+# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
+# will graphical hierarchy of all classes instead of a textual one.
+
+GRAPHICAL_HIERARCHY    = YES
+
+# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
+# then doxygen will show the dependencies a directory has on other directories
+# in a graphical way. The dependency relations are determined by the #include
+# relations between the files in the directories.
+
+DIRECTORY_GRAPH        = YES
+
+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
+# generated by dot. Possible values are png, jpg, or gif
+# If left blank png will be used.
+
+DOT_IMAGE_FORMAT       = png
+
+# The tag DOT_PATH can be used to specify the path where the dot tool can be
+# found. If left blank, it is assumed the dot tool can be found in the path.
+
+DOT_PATH               =
+
+# The DOTFILE_DIRS tag can be used to specify one or more directories that
+# contain dot files that are included in the documentation (see the
+# \dotfile command).
+
+DOTFILE_DIRS           =
+
+# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
+# nodes that will be shown in the graph. If the number of nodes in a graph
+# becomes larger than this value, doxygen will truncate the graph, which is
+# visualized by representing a node as a red box. Note that doxygen if the
+# number of direct children of the root node in a graph is already larger than
+# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
+# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
+
+DOT_GRAPH_MAX_NODES    = 50
+
+# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
+# graphs generated by dot. A depth value of 3 means that only nodes reachable
+# from the root by following a path via at most 3 edges will be shown. Nodes
+# that lay further from the root node will be omitted. Note that setting this
+# option to 1 or 2 may greatly reduce the computation time needed for large
+# code bases. Also note that the size of a graph can be further restricted by
+# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
+
+MAX_DOT_GRAPH_DEPTH    = 0
+
+# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
+# background. This is disabled by default, because dot on Windows does not
+# seem to support this out of the box. Warning: Depending on the platform used,
+# enabling this option may lead to badly anti-aliased labels on the edges of
+# a graph (i.e. they become hard to read).
+
+DOT_TRANSPARENT        = YES
+
+# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
+# files in one run (i.e. multiple -o and -T options on the command line). This
+# makes dot run faster, but since only newer versions of dot (>1.8.10)
+# support this, this feature is disabled by default.
+
+DOT_MULTI_TARGETS      = NO
+
+# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
+# generate a legend page explaining the meaning of the various boxes and
+# arrows in the dot generated graphs.
+
+GENERATE_LEGEND        = YES
+
+# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
+# remove the intermediate dot files that are used to generate
+# the various graphs.
+
+DOT_CLEANUP            = YES
diff --git a/contrib/clear-cache.sh b/contrib/clear-cache.sh
new file mode 100755 (executable)
index 0000000..54edf12
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "$0: Cleaning up..."
+rm -f templates/images/_cache/*.png application/*/templates/images/_cache/*.png
+
+echo "$0: All done."
diff --git a/contrib/find-bad-php.sh b/contrib/find-bad-php.sh
new file mode 100755 (executable)
index 0000000..2fdfecf
--- /dev/null
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+echo "$0: Searching for PHP scripts (except 3rd party) ..."
+PHP=`find -type f -name "*.php" | grep -v "third_party"`
+
+for SCRIPT in ${PHP};
+do
+       HEADER=`cat ${SCRIPT} | head -n 1 | grep -v "<?"`
+
+       FOOTER=`cat ${SCRIPT} | tail -n 1 | grep -v "?>"`
+
+       if [ -n "${HEADER}" ];
+       then
+               echo "$0: Script '${SCRIPT}' has non-typical header."
+       fi
+
+       if [ -n "${FOOTER}" ];
+       then
+               echo "$0: Script '${SCRIPT}' has non-typical footer."
+       fi
+
+       LINT=`php -l "${SCRIPT}" 2>&1 | grep -v "No syntax errors detected in"`
+
+       if [ -n "${LINT}" ]
+       then
+               echo "$0: ${LINT}"
+       fi
+done
+
+echo "$0: All done."
+exit 0
diff --git a/contrib/package.sh b/contrib/package.sh
new file mode 100755 (executable)
index 0000000..639837e
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+NAME=shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip
+
+sh ./clear-cache.sh
+
+echo -n "$0: Packaging... "
+zip -9 $NAME docs/* Doxyfile *.php *.sh > /dev/null 2>&1
+echo -n "."
+zip -9r $NAME application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
+echo -n "."
+zip -d $NAME docs/warn.log db/*/*.serialized > /dev/null 2>&1
+echo ". done"
+echo "$0: All done."
diff --git a/contrib/pdepend.sh b/contrib/pdepend.sh
new file mode 100755 (executable)
index 0000000..9185237
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if ! test -e `which pdepend`; then
+       echo "$0: This script needs PHP_Depend. See URL"
+       echo "$0: http://www.manuel-pichler.de/pages/pdepend.html for details."
+fi
+
+pdepend --bad-documentation --ignore=db,docs,ship-simu.org \
+       --jdepend-chart=test.png --overview-pyramid=pyramid.png \
+       --summary-xml=summary.xml --jdepend-xml=jdepend.xml .
diff --git a/contrib/rebuild_doc.sh b/contrib/rebuild_doc.sh
new file mode 100755 (executable)
index 0000000..697ed08
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo "$0: Cleaning up..."
+find docs/html/ -type f -exec rm -f {} \;
+rm -f docs/*.log
+echo "$0: Done."
+
+doxygen Doxyfile 
diff --git a/contrib/todo-builder.sh b/contrib/todo-builder.sh
new file mode 100755 (executable)
index 0000000..360b888
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# This script helps building the file docs/TODOs.txt and should be executed by
+# developers with SVN write-access
+
+TYPES="php ctp xml"
+
+if ! test -e "index.php"; then
+  echo "$0: Please execute this script from root directory."
+  exit 1
+fi
+
+echo "$0: Generating TODOs.txt..."
+echo "### WARNING: THIS FILE IS AUTO-GENERATED BY $0 ###" > docs/TODOs.txt
+echo "### DO NOT EDIT THIS FILE. ###" >> docs/TODOs.txt
+for type in $TYPES; do
+       find -type f -name "*.$type" -exec grep -Hin "@TODO" {} \; | sort >> docs/TODOs.txt
+done
+echo "### ### DEPRECATION FOLLOWS: ### ###" >> docs/TODOs.txt
+for type in $TYPES; do
+       find -type f -name "*.$type" -exec grep -Hin "@DEPRECATED" {} \; | sort >> docs/TODOs.txt
+done
+echo "$0: Done."
+exit 0
diff --git a/core b/core
index 1893995b39b02c07012c5f3795654fb9251b5ebd..c3f1d30c20e25c1ddadd8aeba8f2636713b6cd63 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 1893995b39b02c07012c5f3795654fb9251b5ebd
+Subproject commit c3f1d30c20e25c1ddadd8aeba8f2636713b6cd63
diff --git a/db/.htaccess b/db/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/db/company/.gitkeep b/db/company/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/db/company/.htaccess b/db/company/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/db/company_user/.htaccess b/db/company_user/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/db/gov_user/.gitkeep b/db/gov_user/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/db/gov_user/.htaccess b/db/gov_user/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/db/news/.gitkeep b/db/news/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/db/news/.htaccess b/db/news/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/db/payments/.gitkeep b/db/payments/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/db/payments/.htaccess b/db/payments/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/db/user/.gitkeep b/db/user/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/db/user/.htaccess b/db/user/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/db/user_points/.gitkeep b/db/user_points/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/db/user_points/.htaccess b/db/user_points/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/find-bad-php.sh b/find-bad-php.sh
deleted file mode 100755 (executable)
index 2fdfecf..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-echo "$0: Searching for PHP scripts (except 3rd party) ..."
-PHP=`find -type f -name "*.php" | grep -v "third_party"`
-
-for SCRIPT in ${PHP};
-do
-       HEADER=`cat ${SCRIPT} | head -n 1 | grep -v "<?"`
-
-       FOOTER=`cat ${SCRIPT} | tail -n 1 | grep -v "?>"`
-
-       if [ -n "${HEADER}" ];
-       then
-               echo "$0: Script '${SCRIPT}' has non-typical header."
-       fi
-
-       if [ -n "${FOOTER}" ];
-       then
-               echo "$0: Script '${SCRIPT}' has non-typical footer."
-       fi
-
-       LINT=`php -l "${SCRIPT}" 2>&1 | grep -v "No syntax errors detected in"`
-
-       if [ -n "${LINT}" ]
-       then
-               echo "$0: ${LINT}"
-       fi
-done
-
-echo "$0: All done."
-exit 0
diff --git a/inc b/inc
deleted file mode 120000 (symlink)
index 1f8dea2..0000000
--- a/inc
+++ /dev/null
@@ -1 +0,0 @@
-core/inc
\ No newline at end of file
index 51eb50ef9341ef86cdff5c5f4a9b4023502e5024..37fa261279410afe592905650fe6afaa2af5454c 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,4 +1,20 @@
 <?php
 <?php
+// Own namespace (watch out: core)
+namespace Org\Mxchange\CoreFramework\EntryPoint;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Filesystem\FileNotFoundException;
+use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Localization\LanguageSystem;
+use Org\Mxchange\CoreFramework\Localization\ManageableLanguage;
+use Org\Mxchange\CoreFramework\Loader\ClassLoader;
+use Org\Mxchange\CoreFramework\Generic\FrameworkException;
+
+// Import SPL stuff
+use \Exception;
+
 /**
  * The main class with the entry point to the whole application. This class
  * "emulates" Java's entry point call. Additionally it covers local
 /**
  * The main class with the entry point to the whole application. This class
  * "emulates" Java's entry point call. Additionally it covers local
@@ -9,7 +25,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2021 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -28,9 +44,9 @@
  */
 final class ApplicationEntryPoint {
        /**
  */
 final class ApplicationEntryPoint {
        /**
-        * Core path
+        * Framework path
         */
         */
-       private static $corePath = '';
+       private static $frameworkPath = '';
 
        /**
         * The application's emergency exit
 
        /**
         * The application's emergency exit
@@ -42,99 +58,107 @@ final class ApplicationEntryPoint {
         * @return      void
         * @todo        This method is old code and needs heavy rewrite and should be moved to ApplicationHelper
         */
         * @return      void
         * @todo        This method is old code and needs heavy rewrite and should be moved to ApplicationHelper
         */
-       public static final function app_exit ($message = '', $code = FALSE, $extraData = '', $silentMode = FALSE) {
+       public static final function exitApplication (string $message = '', int $code = -1, string $extraData = '', bool $silentMode = false) {
                // Is this method already called?
                // Is this method already called?
+               //* NOISY-DEBUG: */ printf('[%s:%d]: message=%s,code=%d,extraData=%s,silentMode=%d - CALLED!' . PHP_EOL, __METHOD__, __LINE__, $message, $code, $extraData, intval($silentMode));
                if (isset($GLOBALS['app_die_called'])) {
                        // Then output the text directly
                if (isset($GLOBALS['app_die_called'])) {
                        // Then output the text directly
-                       exit($message);
-               } // END - if
+                       print $message . PHP_EOL;
+                       exit(255);
+               }
 
                // This method shall not be called twice
 
                // This method shall not be called twice
-               $GLOBALS['app_die_called'] = TRUE;
+               $GLOBALS['app_die_called'] = true;
 
                // Is a message set?
                if (empty($message)) {
                        // No message provided
                        $message = 'No message provided.';
 
                // Is a message set?
                if (empty($message)) {
                        // No message provided
                        $message = 'No message provided.';
-               } // END - if
+               }
 
                // Get config instance
 
                // Get config instance
-               $configInstance = FrameworkConfiguration::getSelfInstance();
+               $configInstance = FrameworkBootstrap::getConfigurationInstance();
 
                // Do we have debug installation?
 
                // Do we have debug installation?
-               if (($configInstance->getConfigEntry('product_install_mode') == 'productive') || ($silentMode === TRUE)) {
+               if (($configInstance->getConfigEntry('product_install_mode') == 'productive') || ($silentMode === true)) {
                        // Abort here
                        // Abort here
-                       exit();
-               } // END - if
+                       //* NOISY-DEBUG: */ printf('[%s:%d]: product_install_mode=%d,silentMode=%d - EXIT!' . PHP_EOL, __METHOD__, __LINE__, $configInstance->getConfigEntry('product_install_mode'), intval($silentMode));
+                       exit(255);
+               }
 
                // Get some instances
 
                // Get some instances
-               $tpl = FrameworkConfiguration::getSelfInstance()->getConfigEntry('html_template_class');
+               $templateClassName = $configInstance->getConfigEntry('html_template_class');
                $languageInstance = LanguageSystem::getSelfInstance();
 
                // Initialize template instance here to avoid warnings in IDE
                $templateInstance = NULL;
 
                // Get response instance
                $languageInstance = LanguageSystem::getSelfInstance();
 
                // Initialize template instance here to avoid warnings in IDE
                $templateInstance = NULL;
 
                // Get response instance
-               $responseInstance = ApplicationHelper::getSelfInstance()->getResponseInstance();
+               $responseInstance = FrameworkBootstrap::getResponseInstance();
 
                // Is the template engine loaded?
 
                // Is the template engine loaded?
-               if ((class_exists($tpl)) && (is_object($languageInstance))) {
+               if ((class_exists($templateClassName)) && ($languageInstance instanceof ManageableLanguage)) {
                        // Use the template engine for putting out (nicer look) the message
                        try {
                                // Get the template instance from our object factory
                        // Use the template engine for putting out (nicer look) the message
                        try {
                                // Get the template instance from our object factory
-                               $templateInstance = ObjectFactory::createObjectByName($tpl);
+                               $templateInstance = ObjectFactory::createObjectByName($templateClassName);
                        } catch (FrameworkException $e) {
                        } catch (FrameworkException $e) {
-                               exit(sprintf("[Main:] Could not initialize template engine for reason: <span class=\"exception_reason\">%s</span>",
+                               exit(sprintf('[Main:] Could not initialize template engine for reason: <span class="exception_reason">%s</span>',
                                        $e->getMessage()
                                ));
                        }
 
                        // Get and prepare backtrace for output
                                        $e->getMessage()
                                ));
                        }
 
                        // Get and prepare backtrace for output
-                       $backtraceArray = debug_backtrace();
                        $backtrace = '';
                        $backtrace = '';
-                       foreach ($backtraceArray as $key => $trace) {
+                       foreach (debug_backtrace() as $key => $trace) {
                                // Set missing array elements
                                if (!isset($trace['file'])) {
                                        $trace['file'] = __FILE__;
                                // Set missing array elements
                                if (!isset($trace['file'])) {
                                        $trace['file'] = __FILE__;
-                               } // END - if
+                               }
                                if (!isset($trace['line'])) {
                                        $trace['line'] = __LINE__;
                                if (!isset($trace['line'])) {
                                        $trace['line'] = __LINE__;
-                               } // END - if
+                               }
                                if (!isset($trace['args'])) {
                                        $trace['args'] = array();
                                if (!isset($trace['args'])) {
                                        $trace['args'] = array();
-                               } // END - if
+                               }
 
                                // Add the traceback path to the final output
 
                                // Add the traceback path to the final output
-                               $backtrace .= sprintf("<span class=\"backtrace_file\">%s</span>:%d, <span class=\"backtrace_function\">%s(%d)</span><br />\n",
+                               $backtrace .= sprintf('<span class="backtrace_file">%s</span>:%d, <span class="backtrace_function">%s(%d)</span><br />' . PHP_EOL,
                                        basename($trace['file']),
                                        $trace['line'],
                                        $trace['function'],
                                        count($trace['args'])
                                );
                                        basename($trace['file']),
                                        $trace['line'],
                                        $trace['function'],
                                        count($trace['args'])
                                );
-                       } // END - foreach
+                       }
 
                        // Init application instance
                        $applicationInstance = NULL;
 
 
                        // Init application instance
                        $applicationInstance = NULL;
 
-                       // Is the class there?
-                       if (class_exists('ApplicationHelper')) {
+                       /*
+                        * The following class may NOT be loaded at all times. For example,
+                        * it might be the (rare) case that an error has happened BEFORE
+                        * that class had been loaded and cannot be loaded or else an
+                        * infinte loop in invoking this method will take place resulting in
+                        * a stack-overflow error.
+                        */
+                       if (class_exists('Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper')) {
                                // Get application instance
                                $applicationInstance = ApplicationHelper::getSelfInstance();
 
                                // Assign application data
                                // Get application instance
                                $applicationInstance = ApplicationHelper::getSelfInstance();
 
                                // Assign application data
-                               $templateInstance->assignApplicationData($applicationInstance);
-                       } // END - if
+                               $templateInstance->assignApplicationData();
+                       }
 
                        // We only try this
                        try {
                                // Assign variables
 
                        // We only try this
                        try {
                                // Assign variables
-                               $templateInstance->assignVariable('message', $message);
-                               $templateInstance->assignVariable('code', $code);
-                               $templateInstance->assignVariable('extra', $extraData);
-                               $templateInstance->assignVariable('backtrace', $backtrace);
+                               $templateInstance->assignVariable('message'       , $message);
+                               $templateInstance->assignVariable('code'          , $code);
+                               $templateInstance->assignVariable('extra'         , $extraData);
+                               $templateInstance->assignVariable('backtrace'     , $backtrace);
                                $templateInstance->assignVariable('total_includes', ClassLoader::getSelfInstance()->getTotal());
                                $templateInstance->assignVariable('total_includes', ClassLoader::getSelfInstance()->getTotal());
-                               $templateInstance->assignVariable('total_objects', ObjectFactory::getTotal());
-                               $templateInstance->assignVariable('title', $languageInstance->getMessage('emergency_exit_title'));
+                               $templateInstance->assignVariable('total_objects' , ObjectFactory::getTotal());
+                               $templateInstance->assignVariable('title'         , $languageInstance->getMessage('emergency_exit_title'));
 
                                // Load the template
                                $templateInstance->loadCodeTemplate('emergency_exit');
 
                                // Load the template
                                $templateInstance->loadCodeTemplate('emergency_exit');
@@ -150,68 +174,127 @@ final class ApplicationEntryPoint {
 
                                // Flush the response
                                $responseInstance->flushBuffer();
 
                                // Flush the response
                                $responseInstance->flushBuffer();
-                       } catch (FileIoException $e) {
+                       } catch (FileNotFoundException $e) {
                                // Even the template 'emergency_exit' wasn't found so output both message
                                // Even the template 'emergency_exit' wasn't found so output both message
-                               exit($message . ', exception: ' . $e->getMessage());
+                               print ($message . ', exception: ' . $e->getMessage() . PHP_EOL);
+                               exit($e->getCode());
                        }
 
                        // Good bye...
                        }
 
                        // Good bye...
-                       exit();
+                       exit(255);
                } else {
                        // Output message and die
                } else {
                        // Output message and die
-                       exit(sprintf('[Main:] Emergency exit reached: <span class="emergency_span">%s</span>',
-                               $message
-                       ));
+                       printf('[Main:] Emergency exit reached: <span class="emergency_span">%s</span>', $message);
+                       exit(255);
                }
                }
+
+               // Trace message
+               //* NOISY-DEBUG: */ printf('[%s:%d]: EXIT!' . PHP_EOL, __METHOD__, __LINE__);
        }
 
        /**
        }
 
        /**
-        * Determines the correct absolute path for all includes only once per run.
-        * Other calls of this method are being "cached".
+        * Determines the correct absolute path for the framework. A set of common
+        * paths is being tested (first most common for applications, second when
+        * core tests are being executed and third/forth if the framework has been
+        * cloned there).
         *
         *
-        * @return      $corePath       Base path (core) for all includes
+        * @return      $frameworkPath  Path for framework
         */
         */
-       protected static final function detectCorePath () {
+       public static final function detectFrameworkPath () {
                // Is it not set?
                // Is it not set?
-               if (empty(self::$corePath)) {
-                       // Auto-detect our core path
-                       self::$corePath = str_replace("\\", '/', dirname(__FILE__));
-               } // END - if
+               //* NOISY-DEBUG: */ printf('[%s:%d]: self::frameworkPath=%s - CALLED!' . PHP_EOL, __METHOD__, __LINE__, self::$frameworkPath);
+               if (empty(self::$frameworkPath)) {
+                       // Auto-detect core path (first application-common)
+                       foreach (['core', self::getRootPath(), '/usr/local/share/php/core', '/usr/share/php/core'] as $possiblePath) {
+                               // Create full path for testing
+                               //* NOISY-DEBUG: */ printf('[%s:%d]: possiblePath=%s' . PHP_EOL, __METHOD__, __LINE__, $possiblePath);
+                               $realPath = realpath($possiblePath);
+
+                               // Is it false?
+                               //* NOISY-DEBUG: */ printf('[%s:%d]: realPath[%s]=%s' . PHP_EOL, __METHOD__, __LINE__, gettype($realPath), $realPath);
+                               if ($realPath === false) {
+                                       // Then, not found.
+                                       //* NOISY-DEBUG: */ printf('[%s:%d]: possiblePath=%s was not found. - SKIPPED!' . PHP_EOL, __METHOD__, __LINE__, $possiblePath);
+                                       continue;
+                               }
+
+                               // Append framework path
+                               $frameworkPath = sprintf('%s%sframework%s', $realPath, DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR);
+
+                               // First create full-qualified file name (FQFN) to framework/config-global.php
+                               //* NOISY-DEBUG: */ printf('[%s:%d]: frameworkPath=%s' . PHP_EOL, __METHOD__, __LINE__, $frameworkPath);
+                               $configFile = $frameworkPath . 'config-global.php';
+
+                               // Is it readable?
+                               //* NOISY-DEBUG: */ printf('[%s:%d]: configFile=%s' . PHP_EOL, __METHOD__, __LINE__, $configFile);
+                               if (is_readable($configFile)) {
+                                       // Found one
+                                       self::$frameworkPath = $frameworkPath;
+
+                                       // Abort here
+                                       //* NOISY-DEBUG: */ printf('[%s:%d]: Setting self::frameworkPath=%s - BREAK!' . PHP_EOL, __METHOD__, __LINE__, $frameworkPath);
+                                       break;
+                               }
+                       }
+
+                       // Able to find?
+                       //* NOISY-DEBUG: */ printf('[%s:%d]: self::frameworkPath=%s - Checking ...' . PHP_EOL, __METHOD__, __LINE__, self::$frameworkPath);
+                       if (!is_dir(self::$frameworkPath)) {
+                               // Is no directory
+                               throw new Exception('Cannot find framework.');
+                       }
+               }
 
                // Return it
 
                // Return it
-               return self::$corePath;
+               //* NOISY-DEBUG: */ printf('[%s:%d]: self::frameworkPath=%s - EXIT!' . PHP_EOL, __METHOD__, __LINE__, self::$frameworkPath);
+               return self::$frameworkPath;
        }
 
        /**
        }
 
        /**
-        * The application's main entry point. This class isolates some local
+        * Getter for root path
+        *
+        * @return      $rootPath       Root path
+        */
+       public static function getRootPath () {
+               // Get __DIR__, really simple and no detection
+               return __DIR__;
+       }
+
+       /**
+        * The framework's main entry point. This class isolates some local
         * variables which shall not become visible to outside because of security
         * variables which shall not become visible to outside because of security
-        * concerns. We are doing this here to "emulate" the well-known entry
-        * point in Java.
+        * concerns. This is done here to "emulate" the well-known entry point in
+        * Java.
         *
         * @return      void
         */
        public static final function main () {
         *
         * @return      void
         */
        public static final function main () {
-               // Load config file
-               require(self::detectCorePath() . '/inc/config.php');
+               // Load bootstrap file
+               //* NOISY-DEBUG: */ printf('[%s:%d]: CALLED!' . PHP_EOL, __METHOD__, __LINE__);
+               require sprintf('%sbootstrap%sbootstrap.inc.php', self::detectFrameworkPath(), DIRECTORY_SEPARATOR);
 
 
-               // Load all include files
-               require($cfg->getConfigEntry('base_path') . 'inc/includes.php');
+               /*
+                * Initial bootstrap is done, continue with initialization of
+                * framework.
+                */
+               FrameworkBootstrap::initFramework();
 
 
-               // Include the application selector
-               require($cfg->getConfigEntry('base_path') . 'inc/selector.php');
-       } // END - main()
-} // END - class
+               // Next initialize the detected application
+               FrameworkBootstrap::prepareApplication();
 
 
-// Developer mode active? Comment out if no dev!
-define('DEVELOPER', TRUE);
+               /*
+                * Last step is to start the application, this will also initialize and
+                * register the application instance in registry.
+                */
+               FrameworkBootstrap::startApplication();
 
 
-// Log all exceptions (only debug! This option can create large error logs)
-//define('LOG_EXCEPTIONS', TRUE);
+               // Trace message
+               //* NOISY-DEBUG: */ printf('[%s:%d]: EXIT!' . PHP_EOL, __METHOD__, __LINE__);
+       }
+}
 
 
-//xdebug_start_trace();
+// Log all exceptions (only debug! This option can create large error logs)
+//define('LOG_EXCEPTIONS', true);
 
 
-// Do not remove the following line:
+// Call above main() method
 ApplicationEntryPoint::main();
 ApplicationEntryPoint::main();
-
-// [EOF]
-?>
diff --git a/package.sh b/package.sh
deleted file mode 100755 (executable)
index 639837e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-NAME=shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip
-
-sh ./clear-cache.sh
-
-echo -n "$0: Packaging... "
-zip -9 $NAME docs/* Doxyfile *.php *.sh > /dev/null 2>&1
-echo -n "."
-zip -9r $NAME application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
-echo -n "."
-zip -d $NAME docs/warn.log db/*/*.serialized > /dev/null 2>&1
-echo ". done"
-echo "$0: All done."
diff --git a/pdepend.sh b/pdepend.sh
deleted file mode 100755 (executable)
index 9185237..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-if ! test -e `which pdepend`; then
-       echo "$0: This script needs PHP_Depend. See URL"
-       echo "$0: http://www.manuel-pichler.de/pages/pdepend.html for details."
-fi
-
-pdepend --bad-documentation --ignore=db,docs,ship-simu.org \
-       --jdepend-chart=test.png --overview-pyramid=pyramid.png \
-       --summary-xml=summary.xml --jdepend-xml=jdepend.xml .
diff --git a/rebuild_doc.sh b/rebuild_doc.sh
deleted file mode 100755 (executable)
index 697ed08..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-echo "$0: Cleaning up..."
-find docs/html/ -type f -exec rm -f {} \;
-rm -f docs/*.log
-echo "$0: Done."
-
-doxygen Doxyfile 
diff --git a/todo-builder.sh b/todo-builder.sh
deleted file mode 100755 (executable)
index 360b888..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# This script helps building the file docs/TODOs.txt and should be executed by
-# developers with SVN write-access
-
-TYPES="php ctp xml"
-
-if ! test -e "index.php"; then
-  echo "$0: Please execute this script from root directory."
-  exit 1
-fi
-
-echo "$0: Generating TODOs.txt..."
-echo "### WARNING: THIS FILE IS AUTO-GENERATED BY $0 ###" > docs/TODOs.txt
-echo "### DO NOT EDIT THIS FILE. ###" >> docs/TODOs.txt
-for type in $TYPES; do
-       find -type f -name "*.$type" -exec grep -Hin "@TODO" {} \; | sort >> docs/TODOs.txt
-done
-echo "### ### DEPRECATION FOLLOWS: ### ###" >> docs/TODOs.txt
-for type in $TYPES; do
-       find -type f -name "*.$type" -exec grep -Hin "@DEPRECATED" {} \; | sort >> docs/TODOs.txt
-done
-echo "$0: Done."
-exit 0