From b32994822964093e672d92815c13b70418d46cfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 3 Mar 2008 20:26:39 +0000 Subject: [PATCH] some comments fixed, small fix for windows OSes and some other things fixed --- .gitattributes | 405 ++++++------ .gitignore | 1 - ship-simu/Doxyfile => Doxyfile | 0 .../application => application}/.htaccess | 0 .../application => application}/hub/.htaccess | 0 .../hub/class_ApplicationHelper.php | 0 .../hub/config.php | 0 .../application => application}/hub/debug.php | 0 .../hub/exceptions.php | 0 .../hub/exceptions/.htaccess | 0 .../hub/exceptions/class_HubException.php | 0 .../hub/exceptions/client/.htaccess | 0 .../client/class_HubHelloException.php | 0 .../class_HubPeerAuthorizationException.php | 0 .../client/class_HubPeerTimeoutException.php | 0 .../hub/exceptions/commands/.htaccess | 0 .../class_UnexpectedAwaitCommandException.php | 0 .../hub/exceptions/master/.htaccess | 0 .../class_HubMasterDisconnectedException.php | 0 .../hub/exceptions/socket/.htaccess | 0 .../socket/class_SocketException.php | 0 .../hub/exceptions/socket/connector/.htaccess | 0 .../connector/class_SocketAcceptException.php | 0 .../class_SocketSelectorException.php | 0 .../hub/exceptions/socket/init/.htaccess | 0 .../socket/init/class_SocketBindException.php | 0 .../init/class_SocketConnectException.php | 0 .../init/class_SocketCreationException.php | 0 .../init/class_SocketListeningException.php | 0 .../init/class_SocketSetupException.php | 0 .../hub/exceptions/socket/peer/.htaccess | 0 .../socket/peer/class_BrokenPipeException.php | 0 .../socket/peer/class_IPSpoofingException.php | 0 .../socket/peer/class_PeerSocketException.php | 0 .../application => application}/hub/init.php | 0 .../hub/interfaces/.htaccess | 0 .../hub/loader.php | 0 .../hub/main/.htaccess | 0 .../hub/main/class_HubCommandProcessor.php | 0 .../hub/main/class_HubConnector.php | 0 .../hub/main/class_HubCoreLoop.php | 0 .../hub/main/class_HubPeer.php | 0 .../hub/middleware/.htaccess | 0 .../hub/starter.php | 0 ship-simu/chat-server.php => chat-server.php | 0 {ship-simu/devel => db}/.htaccess | 0 ...29292aeca3f6bf78c16e25fc4f75c98.serialized | 34 + {ship-simu/inc => devel}/.htaccess | 0 {ship-simu/devel => devel}/class_Debug.php | 0 {ship-simu/docs => docs}/COPYING | 0 {ship-simu/docs => docs}/NEWS | 0 {ship-simu/docs => docs}/README | 0 {ship-simu/docs => docs}/THANKS | 0 {ship-simu/inc/classes => inc}/.htaccess | 0 {ship-simu/inc => inc}/classes.php | 2 +- .../exceptions => inc/classes}/.htaccess | 0 .../classes/exceptions}/.htaccess | 0 .../exceptions/class_FrameworkException.php | 5 +- .../classes/exceptions/compressor}/.htaccess | 0 .../class_MismatchingCompressorsException.php | 5 +- .../classes/exceptions/container}/.htaccess | 0 .../class_ContainerItemIsNoArrayException.php | 7 +- .../class_ContainerItemIsNullException.php | 7 +- .../class_ContainerMaybeDamagedException.php | 7 +- .../classes/exceptions/database}/.htaccess | 0 .../exceptions/database/local_file}/.htaccess | 0 .../class_SavePathIsEmptyException.php | 7 +- .../class_SavePathIsNoDirectoryException.php | 7 +- .../class_SavePathReadProtectedException.php | 7 +- .../class_SavePathWriteProtectedException.php | 7 +- .../classes/exceptions/io}/.htaccess | 0 .../io/class_DirPointerNotOpenedException.php | 7 +- .../class_FilePointerNotOpenedException.php | 7 +- .../io/class_InvalidDataLengthException.php | 7 +- ...lass_InvalidDirectoryResourceException.php | 7 +- .../io/class_InvalidMD5ChecksumException.php | 7 +- .../io/class_PathIsEmptyException.php | 7 +- .../io/class_PathIsNoDirectoryException.php | 7 +- .../io/class_PathReadProtectedException.php | 7 +- .../classes/exceptions/language}/.htaccess | 0 ...ass_InvalidLanguagePathStringException.php | 7 +- .../class_LanguagePathIsEmptyException.php | 7 +- ...ass_LanguagePathIsNoDirectoryException.php | 7 +- ...ass_LanguagePathReadProtectedException.php | 7 +- .../classes/exceptions/main}/.htaccess | 0 .../main/class_ClassMismatchException.php | 7 +- .../main/class_ClassNotFoundException.php | 7 +- .../class_ConfigEntryIsEmptyException.php | 7 +- .../class_ConfigEntryNotFoundException.php | 7 +- .../class_DimNotFoundInArrayException.php | 7 +- .../class_ExceptionNotChangedException.php | 5 +- .../main/class_ExceptionNotFoundException.php | 7 +- .../main/class_GetterNotFoundException.php | 7 +- .../main/class_InvalidArrayCountException.php | 7 +- .../main/class_InvalidObjectException.php | 7 +- .../class_MissingArrayElementsException.php | 7 +- ...ingDecimalsThousandsSeperatorException.php | 8 +- .../main/class_MissingMethodException.php | 7 +- .../main/class_NoArrayCreatedException.php | 7 +- .../main/class_NoArrayException.php | 7 +- .../main/class_NoObjectException.php | 5 +- .../main/class_NullPointerException.php | 7 +- .../main/class_VariableIsNotSetException.php | 7 +- .../classes/exceptions/template}/.htaccess | 0 .../class_BasePathIsEmptyException.php | 7 +- .../class_BasePathIsNoDirectoryException.php | 7 +- .../class_BasePathReadProtectedException.php | 7 +- .../class_InvalidBasePathStringException.php | 7 +- ...s_InvalidTemplateVariableNameException.php | 7 +- .../class_UnexpectedTemplateTypeException.php | 7 +- .../classes/interfaces}/.htaccess | 0 .../classes/interfaces/application}/.htaccess | 0 .../class_ManageableApplication.php | 5 +- .../interfaces/class_FrameworkInterface.php | 5 +- .../classes/interfaces/compressor}/.htaccess | 0 .../compressor/class_Compressor.php | 9 +- .../classes/interfaces/database}/.htaccess | 0 .../class_FrameworkDatabaseInterface.php | 5 +- .../interfaces/database/frontend}/.htaccess | 0 .../class_DatabaseFrontendInterface.php | 5 +- .../interfaces/database/middleware}/.htaccess | 0 .../middleware/class_DatabaseConnector.php | 5 +- .../classes/interfaces/debug}/.htaccess | 0 .../interfaces/debug/class_Debugger.php | 5 +- .../classes/interfaces/extended}/.htaccess | 0 .../extended/class_LimitableObject.php | 5 +- .../classes/interfaces/io}/.htaccess | 0 .../interfaces/io/class_Streamable.php | 5 +- .../classes/interfaces/io/file}/.htaccess | 0 .../io/file/class_FileInputStreamer.php | 5 +- .../io/file/class_FileOutputStreamer.php | 5 +- .../classes/interfaces/io/output}/.htaccess | 0 .../io/output/class_OutputStreamer.php | 9 +- .../classes/interfaces/language}/.htaccess | 0 .../language/class_ManageableLanguage.php | 5 +- .../classes/interfaces/template}/.htaccess | 0 .../template/class_CompileableTemplate.php | 5 +- .../compressor => inc/classes/main}/.htaccess | 0 .../main/class_BaseFrameworkSystem.php | 3 +- .../main/class_FrameworkArrayObject.php | 5 +- .../classes/main/compressor}/.htaccess | 0 .../main/compressor/class_Bzip2Compressor.php | 3 +- .../main/compressor/class_GzipCompressor.php | 3 +- .../main/compressor/class_NullCompressor.php | 3 +- .../classes/main/console}/.htaccess | 0 .../main/console/class_ConsoleTools.php | 5 +- .../classes/main/database}/.htaccess | 0 .../database/class_BaseDatabaseFrontend.php | 7 +- .../classes/main/database/classes}/.htaccess | 0 .../classes/class_LocalFileDatabase.php | 6 +- .../classes/main/debug}/.htaccess | 0 .../main/debug/class_DebugConsoleOutput.php | 33 +- .../main/debug/class_DebugErrorLogOutput.php | 32 +- .../main/debug/class_DebugWebOutput.php | 5 +- .../classes/main/extended}/.htaccess | 0 .../main/extended/class_ObjectLimits.php | 7 +- .../extended/class_SerializationContainer.php | 5 +- .../classes/main/io}/.htaccess | 0 .../classes/main/io/class_FileIOStream.php | 5 +- .../io/class_FrameworkDirectoryPointer.php | 5 +- .../io/class_FrameworkFileInputPointer.php | 5 +- .../io/class_FrameworkFileOutputPointer.php | 5 +- .../classes/main/language}/.htaccess | 0 .../main/language/class_LanguageSystem.php | 5 +- .../classes/main/output}/.htaccess | 0 .../main/output/class_ConsoleOutput.php | 9 +- .../classes/main/output/class_WebOutput.php | 5 +- .../classes/main/template}/.htaccess | 0 .../main/template/class_TemplateEngine.php | 5 +- .../classes/middleware}/.htaccess | 0 .../middleware/class_BaseMiddleware.php | 7 +- .../classes/middleware/compressor}/.htaccess | 0 .../compressor/class_CompressorChannel.php | 8 +- .../classes/middleware/database}/.htaccess | 0 .../database/class_DatabaseConnection.php | 5 +- .../classes/middleware/debug}/.htaccess | 0 .../debug/class_DebugMiddleware.php | 5 +- .../classes/middleware/io}/.htaccess | 0 .../middleware/io/class_FileIOHandler.php | 5 +- {ship-simu/inc => inc}/config-local.php | 7 +- {ship-simu/inc => inc}/config.php | 10 +- .../inc/database => inc/config}/.htaccess | 0 .../config/class_FrameworkConfiguration.php | 14 +- {ship-simu/inc => inc}/database.php | 7 +- .../inc/language => inc/database}/.htaccess | 0 {ship-simu/inc => inc}/database/lib-local.php | 9 +- {ship-simu/inc => inc}/file_io.php | 7 +- {ship-simu/inc => inc}/includes.php | 14 +- {ship-simu/inc => inc}/language.php | 8 +- .../inc/loader => inc/language}/.htaccess | 0 {ship-simu/templates => inc/loader}/.htaccess | 0 .../inc => inc}/loader/class_ClassLoader.php | 19 +- {ship-simu/inc => inc}/output.php | 9 +- {ship-simu/inc => inc}/selector.php | 5 +- ship-simu/index.php => index.php | 7 +- ship-simu/rebuild_doc.sh => rebuild_doc.sh | 0 ship-simu/tests/contract-test.php | 601 ------------------ ship-simu/tests/loader-test.php | 158 ----- ship-simu/tests/personell-test.php | 159 ----- .../_compiled => templates}/.htaccess | 0 .../de => templates/_compiled}/.htaccess | 0 .../de/code => templates/de}/.htaccess | 0 .../de/html => templates/de/code}/.htaccess | 0 .../de/code/emergency_exit.ctp | 0 .../de/code/footer_msg.ctp | 0 .../de/code/header.ctp | 0 templates/de/html/.htaccess | 1 + 207 files changed, 608 insertions(+), 1446 deletions(-) rename ship-simu/Doxyfile => Doxyfile (100%) rename {ship-simu/application => application}/.htaccess (100%) rename {ship-simu/application => application}/hub/.htaccess (100%) rename {ship-simu/application => application}/hub/class_ApplicationHelper.php (100%) rename {ship-simu/application => application}/hub/config.php (100%) rename {ship-simu/application => application}/hub/debug.php (100%) rename {ship-simu/application => application}/hub/exceptions.php (100%) rename {ship-simu/application => application}/hub/exceptions/.htaccess (100%) rename {ship-simu/application => application}/hub/exceptions/class_HubException.php (100%) rename {ship-simu/application => application}/hub/exceptions/client/.htaccess (100%) rename {ship-simu/application => application}/hub/exceptions/client/class_HubHelloException.php (100%) rename {ship-simu/application => application}/hub/exceptions/client/class_HubPeerAuthorizationException.php (100%) rename {ship-simu/application => application}/hub/exceptions/client/class_HubPeerTimeoutException.php (100%) rename {ship-simu/application => application}/hub/exceptions/commands/.htaccess (100%) rename {ship-simu/application => application}/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php (100%) rename {ship-simu/application => application}/hub/exceptions/master/.htaccess (100%) rename {ship-simu/application => application}/hub/exceptions/master/class_HubMasterDisconnectedException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/.htaccess (100%) rename {ship-simu/application => application}/hub/exceptions/socket/class_SocketException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/connector/.htaccess (100%) rename {ship-simu/application => application}/hub/exceptions/socket/connector/class_SocketAcceptException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/connector/class_SocketSelectorException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/init/.htaccess (100%) rename {ship-simu/application => application}/hub/exceptions/socket/init/class_SocketBindException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/init/class_SocketConnectException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/init/class_SocketCreationException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/init/class_SocketListeningException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/init/class_SocketSetupException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/peer/.htaccess (100%) rename {ship-simu/application => application}/hub/exceptions/socket/peer/class_BrokenPipeException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/peer/class_IPSpoofingException.php (100%) rename {ship-simu/application => application}/hub/exceptions/socket/peer/class_PeerSocketException.php (100%) rename {ship-simu/application => application}/hub/init.php (100%) rename {ship-simu/application => application}/hub/interfaces/.htaccess (100%) rename {ship-simu/application => application}/hub/loader.php (100%) rename {ship-simu/application => application}/hub/main/.htaccess (100%) rename {ship-simu/application => application}/hub/main/class_HubCommandProcessor.php (100%) rename {ship-simu/application => application}/hub/main/class_HubConnector.php (100%) rename {ship-simu/application => application}/hub/main/class_HubCoreLoop.php (100%) rename {ship-simu/application => application}/hub/main/class_HubPeer.php (100%) rename {ship-simu/application => application}/hub/middleware/.htaccess (100%) rename {ship-simu/application => application}/hub/starter.php (100%) rename ship-simu/chat-server.php => chat-server.php (100%) rename {ship-simu/devel => db}/.htaccess (100%) create mode 100644 db/SimulatorPersonell/829292aeca3f6bf78c16e25fc4f75c98.serialized rename {ship-simu/inc => devel}/.htaccess (100%) rename {ship-simu/devel => devel}/class_Debug.php (100%) rename {ship-simu/docs => docs}/COPYING (100%) rename {ship-simu/docs => docs}/NEWS (100%) rename {ship-simu/docs => docs}/README (100%) rename {ship-simu/docs => docs}/THANKS (100%) rename {ship-simu/inc/classes => inc}/.htaccess (100%) rename {ship-simu/inc => inc}/classes.php (98%) rename {ship-simu/inc/classes/exceptions => inc/classes}/.htaccess (100%) rename {ship-simu/inc/classes/exceptions/compressor => inc/classes/exceptions}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/exceptions/class_FrameworkException.php (95%) rename {ship-simu/inc/classes/exceptions/container => inc/classes/exceptions/compressor}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/exceptions/compressor/class_MismatchingCompressorsException.php (94%) rename {ship-simu/inc/classes/exceptions/database => inc/classes/exceptions/container}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/exceptions/container/class_ContainerItemIsNoArrayException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/container/class_ContainerItemIsNullException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/container/class_ContainerMaybeDamagedException.php (92%) rename {ship-simu/inc/classes/exceptions/database/local_file => inc/classes/exceptions/database}/.htaccess (100%) rename {ship-simu/inc/classes/exceptions/io => inc/classes/exceptions/database/local_file}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php (92%) rename {ship-simu/inc/classes/exceptions/language => inc/classes/exceptions/io}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/exceptions/io/class_DirPointerNotOpenedException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/io/class_FilePointerNotOpenedException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/io/class_InvalidDataLengthException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/io/class_InvalidDirectoryResourceException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/io/class_InvalidMD5ChecksumException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/io/class_PathIsEmptyException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/io/class_PathIsNoDirectoryException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/io/class_PathReadProtectedException.php (92%) rename {ship-simu/inc/classes/exceptions/main => inc/classes/exceptions/language}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/exceptions/language/class_InvalidLanguagePathStringException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/language/class_LanguagePathIsEmptyException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/language/class_LanguagePathReadProtectedException.php (92%) rename {ship-simu/inc/classes/exceptions/template => inc/classes/exceptions/main}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_ClassMismatchException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_ClassNotFoundException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_ConfigEntryIsEmptyException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_ConfigEntryNotFoundException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_DimNotFoundInArrayException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_ExceptionNotChangedException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_ExceptionNotFoundException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_GetterNotFoundException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_InvalidArrayCountException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_InvalidObjectException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_MissingArrayElementsException.php (94%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_MissingMethodException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_NoArrayCreatedException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_NoArrayException.php (90%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_NoObjectException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_NullPointerException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/main/class_VariableIsNotSetException.php (93%) rename {ship-simu/inc/classes/interfaces => inc/classes/exceptions/template}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/exceptions/template/class_BasePathIsEmptyException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/template/class_BasePathIsNoDirectoryException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/template/class_BasePathReadProtectedException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/template/class_InvalidBasePathStringException.php (92%) rename {ship-simu/inc => inc}/classes/exceptions/template/class_InvalidTemplateVariableNameException.php (93%) rename {ship-simu/inc => inc}/classes/exceptions/template/class_UnexpectedTemplateTypeException.php (93%) rename {ship-simu/inc/classes/interfaces/application => inc/classes/interfaces}/.htaccess (100%) rename {ship-simu/inc/classes/interfaces/compressor => inc/classes/interfaces/application}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/application/class_ManageableApplication.php (95%) rename {ship-simu/inc => inc}/classes/interfaces/class_FrameworkInterface.php (90%) rename {ship-simu/inc/classes/interfaces/database => inc/classes/interfaces/compressor}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/compressor/class_Compressor.php (87%) rename {ship-simu/inc/classes/interfaces/database/frontend => inc/classes/interfaces/database}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/database/class_FrameworkDatabaseInterface.php (96%) rename {ship-simu/inc/classes/interfaces/database/middleware => inc/classes/interfaces/database/frontend}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php (93%) rename {ship-simu/inc/classes/interfaces/debug => inc/classes/interfaces/database/middleware}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/database/middleware/class_DatabaseConnector.php (89%) rename {ship-simu/inc/classes/interfaces/extended => inc/classes/interfaces/debug}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/debug/class_Debugger.php (90%) rename {ship-simu/inc/classes/interfaces/io => inc/classes/interfaces/extended}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/extended/class_LimitableObject.php (92%) rename {ship-simu/inc/classes/interfaces/io/file => inc/classes/interfaces/io}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/io/class_Streamable.php (89%) rename {ship-simu/inc/classes/interfaces/io/output => inc/classes/interfaces/io/file}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/io/file/class_FileInputStreamer.php (93%) rename {ship-simu/inc => inc}/classes/interfaces/io/file/class_FileOutputStreamer.php (93%) rename {ship-simu/inc/classes/interfaces/language => inc/classes/interfaces/io/output}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/io/output/class_OutputStreamer.php (85%) rename {ship-simu/inc/classes/interfaces/template => inc/classes/interfaces/language}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/language/class_ManageableLanguage.php (90%) rename {ship-simu/inc/classes/main => inc/classes/interfaces/template}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/interfaces/template/class_CompileableTemplate.php (96%) rename {ship-simu/inc/classes/main/compressor => inc/classes/main}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/class_BaseFrameworkSystem.php (99%) rename {ship-simu/inc => inc}/classes/main/class_FrameworkArrayObject.php (92%) rename {ship-simu/inc/classes/main/console => inc/classes/main/compressor}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/compressor/class_Bzip2Compressor.php (98%) rename {ship-simu/inc => inc}/classes/main/compressor/class_GzipCompressor.php (98%) rename {ship-simu/inc => inc}/classes/main/compressor/class_NullCompressor.php (98%) rename {ship-simu/inc/classes/main/database => inc/classes/main/console}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/console/class_ConsoleTools.php (95%) rename {ship-simu/inc/classes/main/database/classes => inc/classes/main/database}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/database/class_BaseDatabaseFrontend.php (93%) rename {ship-simu/inc/classes/main/debug => inc/classes/main/database/classes}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/database/classes/class_LocalFileDatabase.php (99%) rename {ship-simu/inc/classes/main/extended => inc/classes/main/debug}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/debug/class_DebugConsoleOutput.php (72%) rename {ship-simu/inc => inc}/classes/main/debug/class_DebugErrorLogOutput.php (77%) rename {ship-simu/inc => inc}/classes/main/debug/class_DebugWebOutput.php (94%) rename {ship-simu/inc/classes/main/io => inc/classes/main/extended}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/extended/class_ObjectLimits.php (95%) rename {ship-simu/inc => inc}/classes/main/extended/class_SerializationContainer.php (96%) rename {ship-simu/inc/classes/main/language => inc/classes/main/io}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/io/class_FileIOStream.php (98%) rename {ship-simu/inc => inc}/classes/main/io/class_FrameworkDirectoryPointer.php (98%) rename {ship-simu/inc => inc}/classes/main/io/class_FrameworkFileInputPointer.php (98%) rename {ship-simu/inc => inc}/classes/main/io/class_FrameworkFileOutputPointer.php (98%) rename {ship-simu/inc/classes/main/output => inc/classes/main/language}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/language/class_LanguageSystem.php (97%) rename {ship-simu/inc/classes/main/template => inc/classes/main/output}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/output/class_ConsoleOutput.php (93%) rename {ship-simu/inc => inc}/classes/main/output/class_WebOutput.php (95%) rename {ship-simu/inc/classes/middleware => inc/classes/main/template}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/main/template/class_TemplateEngine.php (99%) rename {ship-simu/inc/classes/middleware/compressor => inc/classes/middleware}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/middleware/class_BaseMiddleware.php (92%) rename {ship-simu/inc/classes/middleware/database => inc/classes/middleware/compressor}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/middleware/compressor/class_CompressorChannel.php (96%) rename {ship-simu/inc/classes/middleware/debug => inc/classes/middleware/database}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/middleware/database/class_DatabaseConnection.php (98%) rename {ship-simu/inc/classes/middleware/io => inc/classes/middleware/debug}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/middleware/debug/class_DebugMiddleware.php (97%) rename {ship-simu/inc/config => inc/classes/middleware/io}/.htaccess (100%) rename {ship-simu/inc => inc}/classes/middleware/io/class_FileIOHandler.php (97%) rename {ship-simu/inc => inc}/config-local.php (85%) rename {ship-simu/inc => inc}/config.php (94%) rename {ship-simu/inc/database => inc/config}/.htaccess (100%) rename {ship-simu/inc => inc}/config/class_FrameworkConfiguration.php (96%) rename {ship-simu/inc => inc}/database.php (96%) rename {ship-simu/inc/language => inc/database}/.htaccess (100%) rename {ship-simu/inc => inc}/database/lib-local.php (90%) rename {ship-simu/inc => inc}/file_io.php (89%) rename {ship-simu/inc => inc}/includes.php (82%) rename {ship-simu/inc => inc}/language.php (93%) rename {ship-simu/inc/loader => inc/language}/.htaccess (100%) rename {ship-simu/templates => inc/loader}/.htaccess (100%) rename {ship-simu/inc => inc}/loader/class_ClassLoader.php (98%) rename {ship-simu/inc => inc}/output.php (85%) rename {ship-simu/inc => inc}/selector.php (96%) rename ship-simu/index.php => index.php (95%) rename ship-simu/rebuild_doc.sh => rebuild_doc.sh (100%) delete mode 100644 ship-simu/tests/contract-test.php delete mode 100644 ship-simu/tests/loader-test.php delete mode 100644 ship-simu/tests/personell-test.php rename {ship-simu/templates/_compiled => templates}/.htaccess (100%) rename {ship-simu/templates/de => templates/_compiled}/.htaccess (100%) rename {ship-simu/templates/de/code => templates/de}/.htaccess (100%) rename {ship-simu/templates/de/html => templates/de/code}/.htaccess (100%) rename {ship-simu/templates => templates}/de/code/emergency_exit.ctp (100%) rename {ship-simu/templates => templates}/de/code/footer_msg.ctp (100%) rename {ship-simu/templates => templates}/de/code/header.ctp (100%) create mode 100644 templates/de/html/.htaccess diff --git a/.gitattributes b/.gitattributes index d1a5f5f86..809d1641f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,204 +1,203 @@ * text=auto !eol -ship-simu/Doxyfile -text -ship-simu/application/.htaccess -text -ship-simu/application/hub/.htaccess -text -ship-simu/application/hub/class_ApplicationHelper.php -text -ship-simu/application/hub/config.php -text -ship-simu/application/hub/debug.php -text -ship-simu/application/hub/exceptions.php -text -ship-simu/application/hub/exceptions/.htaccess -text -ship-simu/application/hub/exceptions/class_HubException.php -text -ship-simu/application/hub/exceptions/client/.htaccess -text -ship-simu/application/hub/exceptions/client/class_HubHelloException.php -text -ship-simu/application/hub/exceptions/client/class_HubPeerAuthorizationException.php -text -ship-simu/application/hub/exceptions/client/class_HubPeerTimeoutException.php -text -ship-simu/application/hub/exceptions/commands/.htaccess -text -ship-simu/application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php -text -ship-simu/application/hub/exceptions/master/.htaccess -text -ship-simu/application/hub/exceptions/master/class_HubMasterDisconnectedException.php -text -ship-simu/application/hub/exceptions/socket/.htaccess -text -ship-simu/application/hub/exceptions/socket/class_SocketException.php -text -ship-simu/application/hub/exceptions/socket/connector/.htaccess -text -ship-simu/application/hub/exceptions/socket/connector/class_SocketAcceptException.php -text -ship-simu/application/hub/exceptions/socket/connector/class_SocketSelectorException.php -text -ship-simu/application/hub/exceptions/socket/init/.htaccess -text -ship-simu/application/hub/exceptions/socket/init/class_SocketBindException.php -text -ship-simu/application/hub/exceptions/socket/init/class_SocketConnectException.php -text -ship-simu/application/hub/exceptions/socket/init/class_SocketCreationException.php -text -ship-simu/application/hub/exceptions/socket/init/class_SocketListeningException.php -text -ship-simu/application/hub/exceptions/socket/init/class_SocketSetupException.php -text -ship-simu/application/hub/exceptions/socket/peer/.htaccess -text -ship-simu/application/hub/exceptions/socket/peer/class_BrokenPipeException.php -text -ship-simu/application/hub/exceptions/socket/peer/class_IPSpoofingException.php -text -ship-simu/application/hub/exceptions/socket/peer/class_PeerSocketException.php -text -ship-simu/application/hub/init.php -text -ship-simu/application/hub/interfaces/.htaccess -text -ship-simu/application/hub/loader.php -text -ship-simu/application/hub/main/.htaccess -text -ship-simu/application/hub/main/class_HubCommandProcessor.php -text -ship-simu/application/hub/main/class_HubConnector.php -text -ship-simu/application/hub/main/class_HubCoreLoop.php -text -ship-simu/application/hub/main/class_HubPeer.php -text -ship-simu/application/hub/middleware/.htaccess -text -ship-simu/application/hub/starter.php -text -ship-simu/chat-server.php -text -ship-simu/devel/.htaccess -text -ship-simu/devel/class_Debug.php -text -ship-simu/docs/COPYING -text -ship-simu/docs/NEWS -text -ship-simu/docs/README -text -ship-simu/docs/THANKS -text -ship-simu/inc/.htaccess -text -ship-simu/inc/classes.php -text -ship-simu/inc/classes/.htaccess -text -ship-simu/inc/classes/exceptions/.htaccess -text -ship-simu/inc/classes/exceptions/class_FrameworkException.php -text -ship-simu/inc/classes/exceptions/compressor/.htaccess -text -ship-simu/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php -text -ship-simu/inc/classes/exceptions/container/.htaccess -text -ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php -text -ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNullException.php -text -ship-simu/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php -text -ship-simu/inc/classes/exceptions/database/.htaccess -text -ship-simu/inc/classes/exceptions/database/local_file/.htaccess -text -ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php -text -ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php -text -ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php -text -ship-simu/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php -text -ship-simu/inc/classes/exceptions/io/.htaccess -text -ship-simu/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php -text -ship-simu/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php -text -ship-simu/inc/classes/exceptions/io/class_InvalidDataLengthException.php -text -ship-simu/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php -text -ship-simu/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php -text -ship-simu/inc/classes/exceptions/io/class_PathIsEmptyException.php -text -ship-simu/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php -text -ship-simu/inc/classes/exceptions/io/class_PathReadProtectedException.php -text -ship-simu/inc/classes/exceptions/language/.htaccess -text -ship-simu/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php -text -ship-simu/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php -text -ship-simu/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php -text -ship-simu/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php -text -ship-simu/inc/classes/exceptions/main/.htaccess -text -ship-simu/inc/classes/exceptions/main/class_ClassMismatchException.php -text -ship-simu/inc/classes/exceptions/main/class_ClassNotFoundException.php -text -ship-simu/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php -text -ship-simu/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php -text -ship-simu/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php -text -ship-simu/inc/classes/exceptions/main/class_ExceptionNotChangedException.php -text -ship-simu/inc/classes/exceptions/main/class_ExceptionNotFoundException.php -text -ship-simu/inc/classes/exceptions/main/class_GetterNotFoundException.php -text -ship-simu/inc/classes/exceptions/main/class_InvalidArrayCountException.php -text -ship-simu/inc/classes/exceptions/main/class_InvalidObjectException.php -text -ship-simu/inc/classes/exceptions/main/class_MissingArrayElementsException.php -text -ship-simu/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php -text -ship-simu/inc/classes/exceptions/main/class_MissingMethodException.php -text -ship-simu/inc/classes/exceptions/main/class_NoArrayCreatedException.php -text -ship-simu/inc/classes/exceptions/main/class_NoArrayException.php -text -ship-simu/inc/classes/exceptions/main/class_NoObjectException.php -text -ship-simu/inc/classes/exceptions/main/class_NullPointerException.php -text -ship-simu/inc/classes/exceptions/main/class_VariableIsNotSetException.php -text -ship-simu/inc/classes/exceptions/template/.htaccess -text -ship-simu/inc/classes/exceptions/template/class_BasePathIsEmptyException.php -text -ship-simu/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php -text -ship-simu/inc/classes/exceptions/template/class_BasePathReadProtectedException.php -text -ship-simu/inc/classes/exceptions/template/class_InvalidBasePathStringException.php -text -ship-simu/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php -text -ship-simu/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php -text -ship-simu/inc/classes/interfaces/.htaccess -text -ship-simu/inc/classes/interfaces/application/.htaccess -text -ship-simu/inc/classes/interfaces/application/class_ManageableApplication.php -text -ship-simu/inc/classes/interfaces/class_FrameworkInterface.php -text -ship-simu/inc/classes/interfaces/compressor/.htaccess -text -ship-simu/inc/classes/interfaces/compressor/class_Compressor.php -text -ship-simu/inc/classes/interfaces/database/.htaccess -text -ship-simu/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php -text -ship-simu/inc/classes/interfaces/database/frontend/.htaccess -text -ship-simu/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php -text -ship-simu/inc/classes/interfaces/database/middleware/.htaccess -text -ship-simu/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php -text -ship-simu/inc/classes/interfaces/debug/.htaccess -text -ship-simu/inc/classes/interfaces/debug/class_Debugger.php -text -ship-simu/inc/classes/interfaces/extended/.htaccess -text -ship-simu/inc/classes/interfaces/extended/class_LimitableObject.php -text -ship-simu/inc/classes/interfaces/io/.htaccess -text -ship-simu/inc/classes/interfaces/io/class_Streamable.php -text -ship-simu/inc/classes/interfaces/io/file/.htaccess -text -ship-simu/inc/classes/interfaces/io/file/class_FileInputStreamer.php -text -ship-simu/inc/classes/interfaces/io/file/class_FileOutputStreamer.php -text -ship-simu/inc/classes/interfaces/io/output/.htaccess -text -ship-simu/inc/classes/interfaces/io/output/class_OutputStreamer.php -text -ship-simu/inc/classes/interfaces/language/.htaccess -text -ship-simu/inc/classes/interfaces/language/class_ManageableLanguage.php -text -ship-simu/inc/classes/interfaces/template/.htaccess -text -ship-simu/inc/classes/interfaces/template/class_CompileableTemplate.php -text -ship-simu/inc/classes/main/.htaccess -text -ship-simu/inc/classes/main/class_BaseFrameworkSystem.php -text -ship-simu/inc/classes/main/class_FrameworkArrayObject.php -text -ship-simu/inc/classes/main/compressor/.htaccess -text -ship-simu/inc/classes/main/compressor/class_Bzip2Compressor.php -text -ship-simu/inc/classes/main/compressor/class_GzipCompressor.php -text -ship-simu/inc/classes/main/compressor/class_NullCompressor.php -text -ship-simu/inc/classes/main/console/.htaccess -text -ship-simu/inc/classes/main/console/class_ConsoleTools.php -text -ship-simu/inc/classes/main/database/.htaccess -text -ship-simu/inc/classes/main/database/class_BaseDatabaseFrontend.php -text -ship-simu/inc/classes/main/database/classes/.htaccess -text -ship-simu/inc/classes/main/database/classes/class_LocalFileDatabase.php -text -ship-simu/inc/classes/main/debug/.htaccess -text -ship-simu/inc/classes/main/debug/class_DebugConsoleOutput.php -text -ship-simu/inc/classes/main/debug/class_DebugErrorLogOutput.php -text -ship-simu/inc/classes/main/debug/class_DebugWebOutput.php -text -ship-simu/inc/classes/main/extended/.htaccess -text -ship-simu/inc/classes/main/extended/class_ObjectLimits.php -text -ship-simu/inc/classes/main/extended/class_SerializationContainer.php -text -ship-simu/inc/classes/main/io/.htaccess -text -ship-simu/inc/classes/main/io/class_FileIOStream.php -text -ship-simu/inc/classes/main/io/class_FrameworkDirectoryPointer.php -text -ship-simu/inc/classes/main/io/class_FrameworkFileInputPointer.php -text -ship-simu/inc/classes/main/io/class_FrameworkFileOutputPointer.php -text -ship-simu/inc/classes/main/language/.htaccess -text -ship-simu/inc/classes/main/language/class_LanguageSystem.php -text -ship-simu/inc/classes/main/output/.htaccess -text -ship-simu/inc/classes/main/output/class_ConsoleOutput.php -text -ship-simu/inc/classes/main/output/class_WebOutput.php -text -ship-simu/inc/classes/main/template/.htaccess -text -ship-simu/inc/classes/main/template/class_TemplateEngine.php -text -ship-simu/inc/classes/middleware/.htaccess -text -ship-simu/inc/classes/middleware/class_BaseMiddleware.php -text -ship-simu/inc/classes/middleware/compressor/.htaccess -text -ship-simu/inc/classes/middleware/compressor/class_CompressorChannel.php -text -ship-simu/inc/classes/middleware/database/.htaccess -text -ship-simu/inc/classes/middleware/database/class_DatabaseConnection.php -text -ship-simu/inc/classes/middleware/debug/.htaccess -text -ship-simu/inc/classes/middleware/debug/class_DebugMiddleware.php -text -ship-simu/inc/classes/middleware/io/.htaccess -text -ship-simu/inc/classes/middleware/io/class_FileIOHandler.php -text -ship-simu/inc/config-local.php -text -ship-simu/inc/config.php -text -ship-simu/inc/config/.htaccess -text -ship-simu/inc/config/class_FrameworkConfiguration.php -text -ship-simu/inc/database.php -text -ship-simu/inc/database/.htaccess -text -ship-simu/inc/database/lib-local.php -text -ship-simu/inc/file_io.php -text -ship-simu/inc/includes.php -text -ship-simu/inc/language.php -text -ship-simu/inc/language/.htaccess -text -ship-simu/inc/loader/.htaccess -text -ship-simu/inc/loader/class_ClassLoader.php -text -ship-simu/inc/output.php -text -ship-simu/inc/selector.php -text -ship-simu/index.php -text -ship-simu/rebuild_doc.sh -text -ship-simu/templates/.htaccess -text -ship-simu/templates/_compiled/.htaccess -text -ship-simu/templates/de/.htaccess -text -ship-simu/templates/de/code/.htaccess -text -ship-simu/templates/de/code/emergency_exit.ctp -text -ship-simu/templates/de/code/footer_msg.ctp -text -ship-simu/templates/de/code/header.ctp -text -ship-simu/templates/de/html/.htaccess -text -ship-simu/tests/contract-test.php -text -ship-simu/tests/loader-test.php -text -ship-simu/tests/personell-test.php -text +/Doxyfile -text +application/.htaccess -text +application/hub/.htaccess -text +application/hub/class_ApplicationHelper.php -text +application/hub/config.php -text +application/hub/debug.php -text +application/hub/exceptions.php -text +application/hub/exceptions/.htaccess -text +application/hub/exceptions/class_HubException.php -text +application/hub/exceptions/client/.htaccess -text +application/hub/exceptions/client/class_HubHelloException.php -text +application/hub/exceptions/client/class_HubPeerAuthorizationException.php -text +application/hub/exceptions/client/class_HubPeerTimeoutException.php -text +application/hub/exceptions/commands/.htaccess -text +application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php -text +application/hub/exceptions/master/.htaccess -text +application/hub/exceptions/master/class_HubMasterDisconnectedException.php -text +application/hub/exceptions/socket/.htaccess -text +application/hub/exceptions/socket/class_SocketException.php -text +application/hub/exceptions/socket/connector/.htaccess -text +application/hub/exceptions/socket/connector/class_SocketAcceptException.php -text +application/hub/exceptions/socket/connector/class_SocketSelectorException.php -text +application/hub/exceptions/socket/init/.htaccess -text +application/hub/exceptions/socket/init/class_SocketBindException.php -text +application/hub/exceptions/socket/init/class_SocketConnectException.php -text +application/hub/exceptions/socket/init/class_SocketCreationException.php -text +application/hub/exceptions/socket/init/class_SocketListeningException.php -text +application/hub/exceptions/socket/init/class_SocketSetupException.php -text +application/hub/exceptions/socket/peer/.htaccess -text +application/hub/exceptions/socket/peer/class_BrokenPipeException.php -text +application/hub/exceptions/socket/peer/class_IPSpoofingException.php -text +application/hub/exceptions/socket/peer/class_PeerSocketException.php -text +application/hub/init.php -text +application/hub/interfaces/.htaccess -text +application/hub/loader.php -text +application/hub/main/.htaccess -text +application/hub/main/class_HubCommandProcessor.php -text +application/hub/main/class_HubConnector.php -text +application/hub/main/class_HubCoreLoop.php -text +application/hub/main/class_HubPeer.php -text +application/hub/middleware/.htaccess -text +application/hub/starter.php -text +/chat-server.php -text +db/.htaccess -text +db/SimulatorPersonell/829292aeca3f6bf78c16e25fc4f75c98.serialized -text +devel/.htaccess -text +devel/class_Debug.php -text +docs/COPYING -text +docs/NEWS -text +docs/README -text +docs/THANKS -text +inc/.htaccess -text +inc/classes.php -text +inc/classes/.htaccess -text +inc/classes/exceptions/.htaccess -text +inc/classes/exceptions/class_FrameworkException.php -text +inc/classes/exceptions/compressor/.htaccess -text +inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php -text +inc/classes/exceptions/container/.htaccess -text +inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php -text +inc/classes/exceptions/container/class_ContainerItemIsNullException.php -text +inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php -text +inc/classes/exceptions/database/.htaccess -text +inc/classes/exceptions/database/local_file/.htaccess -text +inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php -text +inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php -text +inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php -text +inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php -text +inc/classes/exceptions/io/.htaccess -text +inc/classes/exceptions/io/class_DirPointerNotOpenedException.php -text +inc/classes/exceptions/io/class_FilePointerNotOpenedException.php -text +inc/classes/exceptions/io/class_InvalidDataLengthException.php -text +inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php -text +inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php -text +inc/classes/exceptions/io/class_PathIsEmptyException.php -text +inc/classes/exceptions/io/class_PathIsNoDirectoryException.php -text +inc/classes/exceptions/io/class_PathReadProtectedException.php -text +inc/classes/exceptions/language/.htaccess -text +inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php -text +inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php -text +inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php -text +inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php -text +inc/classes/exceptions/main/.htaccess -text +inc/classes/exceptions/main/class_ClassMismatchException.php -text +inc/classes/exceptions/main/class_ClassNotFoundException.php -text +inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php -text +inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php -text +inc/classes/exceptions/main/class_DimNotFoundInArrayException.php -text +inc/classes/exceptions/main/class_ExceptionNotChangedException.php -text +inc/classes/exceptions/main/class_ExceptionNotFoundException.php -text +inc/classes/exceptions/main/class_GetterNotFoundException.php -text +inc/classes/exceptions/main/class_InvalidArrayCountException.php -text +inc/classes/exceptions/main/class_InvalidObjectException.php -text +inc/classes/exceptions/main/class_MissingArrayElementsException.php -text +inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php -text +inc/classes/exceptions/main/class_MissingMethodException.php -text +inc/classes/exceptions/main/class_NoArrayCreatedException.php -text +inc/classes/exceptions/main/class_NoArrayException.php -text +inc/classes/exceptions/main/class_NoObjectException.php -text +inc/classes/exceptions/main/class_NullPointerException.php -text +inc/classes/exceptions/main/class_VariableIsNotSetException.php -text +inc/classes/exceptions/template/.htaccess -text +inc/classes/exceptions/template/class_BasePathIsEmptyException.php -text +inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php -text +inc/classes/exceptions/template/class_BasePathReadProtectedException.php -text +inc/classes/exceptions/template/class_InvalidBasePathStringException.php -text +inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php -text +inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php -text +inc/classes/interfaces/.htaccess -text +inc/classes/interfaces/application/.htaccess -text +inc/classes/interfaces/application/class_ManageableApplication.php -text +inc/classes/interfaces/class_FrameworkInterface.php -text +inc/classes/interfaces/compressor/.htaccess -text +inc/classes/interfaces/compressor/class_Compressor.php -text +inc/classes/interfaces/database/.htaccess -text +inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php -text +inc/classes/interfaces/database/frontend/.htaccess -text +inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php -text +inc/classes/interfaces/database/middleware/.htaccess -text +inc/classes/interfaces/database/middleware/class_DatabaseConnector.php -text +inc/classes/interfaces/debug/.htaccess -text +inc/classes/interfaces/debug/class_Debugger.php -text +inc/classes/interfaces/extended/.htaccess -text +inc/classes/interfaces/extended/class_LimitableObject.php -text +inc/classes/interfaces/io/.htaccess -text +inc/classes/interfaces/io/class_Streamable.php -text +inc/classes/interfaces/io/file/.htaccess -text +inc/classes/interfaces/io/file/class_FileInputStreamer.php -text +inc/classes/interfaces/io/file/class_FileOutputStreamer.php -text +inc/classes/interfaces/io/output/.htaccess -text +inc/classes/interfaces/io/output/class_OutputStreamer.php -text +inc/classes/interfaces/language/.htaccess -text +inc/classes/interfaces/language/class_ManageableLanguage.php -text +inc/classes/interfaces/template/.htaccess -text +inc/classes/interfaces/template/class_CompileableTemplate.php -text +inc/classes/main/.htaccess -text +inc/classes/main/class_BaseFrameworkSystem.php -text +inc/classes/main/class_FrameworkArrayObject.php -text +inc/classes/main/compressor/.htaccess -text +inc/classes/main/compressor/class_Bzip2Compressor.php -text +inc/classes/main/compressor/class_GzipCompressor.php -text +inc/classes/main/compressor/class_NullCompressor.php -text +inc/classes/main/console/.htaccess -text +inc/classes/main/console/class_ConsoleTools.php -text +inc/classes/main/database/.htaccess -text +inc/classes/main/database/class_BaseDatabaseFrontend.php -text +inc/classes/main/database/classes/.htaccess -text +inc/classes/main/database/classes/class_LocalFileDatabase.php -text +inc/classes/main/debug/.htaccess -text +inc/classes/main/debug/class_DebugConsoleOutput.php -text +inc/classes/main/debug/class_DebugErrorLogOutput.php -text +inc/classes/main/debug/class_DebugWebOutput.php -text +inc/classes/main/extended/.htaccess -text +inc/classes/main/extended/class_ObjectLimits.php -text +inc/classes/main/extended/class_SerializationContainer.php -text +inc/classes/main/io/.htaccess -text +inc/classes/main/io/class_FileIOStream.php -text +inc/classes/main/io/class_FrameworkDirectoryPointer.php -text +inc/classes/main/io/class_FrameworkFileInputPointer.php -text +inc/classes/main/io/class_FrameworkFileOutputPointer.php -text +inc/classes/main/language/.htaccess -text +inc/classes/main/language/class_LanguageSystem.php -text +inc/classes/main/output/.htaccess -text +inc/classes/main/output/class_ConsoleOutput.php -text +inc/classes/main/output/class_WebOutput.php -text +inc/classes/main/template/.htaccess -text +inc/classes/main/template/class_TemplateEngine.php -text +inc/classes/middleware/.htaccess -text +inc/classes/middleware/class_BaseMiddleware.php -text +inc/classes/middleware/compressor/.htaccess -text +inc/classes/middleware/compressor/class_CompressorChannel.php -text +inc/classes/middleware/database/.htaccess -text +inc/classes/middleware/database/class_DatabaseConnection.php -text +inc/classes/middleware/debug/.htaccess -text +inc/classes/middleware/debug/class_DebugMiddleware.php -text +inc/classes/middleware/io/.htaccess -text +inc/classes/middleware/io/class_FileIOHandler.php -text +inc/config-local.php -text +inc/config.php -text +inc/config/.htaccess -text +inc/config/class_FrameworkConfiguration.php -text +inc/database.php -text +inc/database/.htaccess -text +inc/database/lib-local.php -text +inc/file_io.php -text +inc/includes.php -text +inc/language.php -text +inc/language/.htaccess -text +inc/loader/.htaccess -text +inc/loader/class_ClassLoader.php -text +inc/output.php -text +inc/selector.php -text +/index.php -text +/rebuild_doc.sh -text +templates/.htaccess -text +templates/_compiled/.htaccess -text +templates/de/.htaccess -text +templates/de/code/.htaccess -text +templates/de/code/emergency_exit.ctp -text +templates/de/code/footer_msg.ctp -text +templates/de/code/header.ctp -text +templates/de/html/.htaccess -text diff --git a/.gitignore b/.gitignore index 274b35163..5e4afd2d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ /.cache /.project /.settings -ship-simu/db diff --git a/ship-simu/Doxyfile b/Doxyfile similarity index 100% rename from ship-simu/Doxyfile rename to Doxyfile diff --git a/ship-simu/application/.htaccess b/application/.htaccess similarity index 100% rename from ship-simu/application/.htaccess rename to application/.htaccess diff --git a/ship-simu/application/hub/.htaccess b/application/hub/.htaccess similarity index 100% rename from ship-simu/application/hub/.htaccess rename to application/hub/.htaccess diff --git a/ship-simu/application/hub/class_ApplicationHelper.php b/application/hub/class_ApplicationHelper.php similarity index 100% rename from ship-simu/application/hub/class_ApplicationHelper.php rename to application/hub/class_ApplicationHelper.php diff --git a/ship-simu/application/hub/config.php b/application/hub/config.php similarity index 100% rename from ship-simu/application/hub/config.php rename to application/hub/config.php diff --git a/ship-simu/application/hub/debug.php b/application/hub/debug.php similarity index 100% rename from ship-simu/application/hub/debug.php rename to application/hub/debug.php diff --git a/ship-simu/application/hub/exceptions.php b/application/hub/exceptions.php similarity index 100% rename from ship-simu/application/hub/exceptions.php rename to application/hub/exceptions.php diff --git a/ship-simu/application/hub/exceptions/.htaccess b/application/hub/exceptions/.htaccess similarity index 100% rename from ship-simu/application/hub/exceptions/.htaccess rename to application/hub/exceptions/.htaccess diff --git a/ship-simu/application/hub/exceptions/class_HubException.php b/application/hub/exceptions/class_HubException.php similarity index 100% rename from ship-simu/application/hub/exceptions/class_HubException.php rename to application/hub/exceptions/class_HubException.php diff --git a/ship-simu/application/hub/exceptions/client/.htaccess b/application/hub/exceptions/client/.htaccess similarity index 100% rename from ship-simu/application/hub/exceptions/client/.htaccess rename to application/hub/exceptions/client/.htaccess diff --git a/ship-simu/application/hub/exceptions/client/class_HubHelloException.php b/application/hub/exceptions/client/class_HubHelloException.php similarity index 100% rename from ship-simu/application/hub/exceptions/client/class_HubHelloException.php rename to application/hub/exceptions/client/class_HubHelloException.php diff --git a/ship-simu/application/hub/exceptions/client/class_HubPeerAuthorizationException.php b/application/hub/exceptions/client/class_HubPeerAuthorizationException.php similarity index 100% rename from ship-simu/application/hub/exceptions/client/class_HubPeerAuthorizationException.php rename to application/hub/exceptions/client/class_HubPeerAuthorizationException.php diff --git a/ship-simu/application/hub/exceptions/client/class_HubPeerTimeoutException.php b/application/hub/exceptions/client/class_HubPeerTimeoutException.php similarity index 100% rename from ship-simu/application/hub/exceptions/client/class_HubPeerTimeoutException.php rename to application/hub/exceptions/client/class_HubPeerTimeoutException.php diff --git a/ship-simu/application/hub/exceptions/commands/.htaccess b/application/hub/exceptions/commands/.htaccess similarity index 100% rename from ship-simu/application/hub/exceptions/commands/.htaccess rename to application/hub/exceptions/commands/.htaccess diff --git a/ship-simu/application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php b/application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php similarity index 100% rename from ship-simu/application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php rename to application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php diff --git a/ship-simu/application/hub/exceptions/master/.htaccess b/application/hub/exceptions/master/.htaccess similarity index 100% rename from ship-simu/application/hub/exceptions/master/.htaccess rename to application/hub/exceptions/master/.htaccess diff --git a/ship-simu/application/hub/exceptions/master/class_HubMasterDisconnectedException.php b/application/hub/exceptions/master/class_HubMasterDisconnectedException.php similarity index 100% rename from ship-simu/application/hub/exceptions/master/class_HubMasterDisconnectedException.php rename to application/hub/exceptions/master/class_HubMasterDisconnectedException.php diff --git a/ship-simu/application/hub/exceptions/socket/.htaccess b/application/hub/exceptions/socket/.htaccess similarity index 100% rename from ship-simu/application/hub/exceptions/socket/.htaccess rename to application/hub/exceptions/socket/.htaccess diff --git a/ship-simu/application/hub/exceptions/socket/class_SocketException.php b/application/hub/exceptions/socket/class_SocketException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/class_SocketException.php rename to application/hub/exceptions/socket/class_SocketException.php diff --git a/ship-simu/application/hub/exceptions/socket/connector/.htaccess b/application/hub/exceptions/socket/connector/.htaccess similarity index 100% rename from ship-simu/application/hub/exceptions/socket/connector/.htaccess rename to application/hub/exceptions/socket/connector/.htaccess diff --git a/ship-simu/application/hub/exceptions/socket/connector/class_SocketAcceptException.php b/application/hub/exceptions/socket/connector/class_SocketAcceptException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/connector/class_SocketAcceptException.php rename to application/hub/exceptions/socket/connector/class_SocketAcceptException.php diff --git a/ship-simu/application/hub/exceptions/socket/connector/class_SocketSelectorException.php b/application/hub/exceptions/socket/connector/class_SocketSelectorException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/connector/class_SocketSelectorException.php rename to application/hub/exceptions/socket/connector/class_SocketSelectorException.php diff --git a/ship-simu/application/hub/exceptions/socket/init/.htaccess b/application/hub/exceptions/socket/init/.htaccess similarity index 100% rename from ship-simu/application/hub/exceptions/socket/init/.htaccess rename to application/hub/exceptions/socket/init/.htaccess diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketBindException.php b/application/hub/exceptions/socket/init/class_SocketBindException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/init/class_SocketBindException.php rename to application/hub/exceptions/socket/init/class_SocketBindException.php diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketConnectException.php b/application/hub/exceptions/socket/init/class_SocketConnectException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/init/class_SocketConnectException.php rename to application/hub/exceptions/socket/init/class_SocketConnectException.php diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketCreationException.php b/application/hub/exceptions/socket/init/class_SocketCreationException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/init/class_SocketCreationException.php rename to application/hub/exceptions/socket/init/class_SocketCreationException.php diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketListeningException.php b/application/hub/exceptions/socket/init/class_SocketListeningException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/init/class_SocketListeningException.php rename to application/hub/exceptions/socket/init/class_SocketListeningException.php diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketSetupException.php b/application/hub/exceptions/socket/init/class_SocketSetupException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/init/class_SocketSetupException.php rename to application/hub/exceptions/socket/init/class_SocketSetupException.php diff --git a/ship-simu/application/hub/exceptions/socket/peer/.htaccess b/application/hub/exceptions/socket/peer/.htaccess similarity index 100% rename from ship-simu/application/hub/exceptions/socket/peer/.htaccess rename to application/hub/exceptions/socket/peer/.htaccess diff --git a/ship-simu/application/hub/exceptions/socket/peer/class_BrokenPipeException.php b/application/hub/exceptions/socket/peer/class_BrokenPipeException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/peer/class_BrokenPipeException.php rename to application/hub/exceptions/socket/peer/class_BrokenPipeException.php diff --git a/ship-simu/application/hub/exceptions/socket/peer/class_IPSpoofingException.php b/application/hub/exceptions/socket/peer/class_IPSpoofingException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/peer/class_IPSpoofingException.php rename to application/hub/exceptions/socket/peer/class_IPSpoofingException.php diff --git a/ship-simu/application/hub/exceptions/socket/peer/class_PeerSocketException.php b/application/hub/exceptions/socket/peer/class_PeerSocketException.php similarity index 100% rename from ship-simu/application/hub/exceptions/socket/peer/class_PeerSocketException.php rename to application/hub/exceptions/socket/peer/class_PeerSocketException.php diff --git a/ship-simu/application/hub/init.php b/application/hub/init.php similarity index 100% rename from ship-simu/application/hub/init.php rename to application/hub/init.php diff --git a/ship-simu/application/hub/interfaces/.htaccess b/application/hub/interfaces/.htaccess similarity index 100% rename from ship-simu/application/hub/interfaces/.htaccess rename to application/hub/interfaces/.htaccess diff --git a/ship-simu/application/hub/loader.php b/application/hub/loader.php similarity index 100% rename from ship-simu/application/hub/loader.php rename to application/hub/loader.php diff --git a/ship-simu/application/hub/main/.htaccess b/application/hub/main/.htaccess similarity index 100% rename from ship-simu/application/hub/main/.htaccess rename to application/hub/main/.htaccess diff --git a/ship-simu/application/hub/main/class_HubCommandProcessor.php b/application/hub/main/class_HubCommandProcessor.php similarity index 100% rename from ship-simu/application/hub/main/class_HubCommandProcessor.php rename to application/hub/main/class_HubCommandProcessor.php diff --git a/ship-simu/application/hub/main/class_HubConnector.php b/application/hub/main/class_HubConnector.php similarity index 100% rename from ship-simu/application/hub/main/class_HubConnector.php rename to application/hub/main/class_HubConnector.php diff --git a/ship-simu/application/hub/main/class_HubCoreLoop.php b/application/hub/main/class_HubCoreLoop.php similarity index 100% rename from ship-simu/application/hub/main/class_HubCoreLoop.php rename to application/hub/main/class_HubCoreLoop.php diff --git a/ship-simu/application/hub/main/class_HubPeer.php b/application/hub/main/class_HubPeer.php similarity index 100% rename from ship-simu/application/hub/main/class_HubPeer.php rename to application/hub/main/class_HubPeer.php diff --git a/ship-simu/application/hub/middleware/.htaccess b/application/hub/middleware/.htaccess similarity index 100% rename from ship-simu/application/hub/middleware/.htaccess rename to application/hub/middleware/.htaccess diff --git a/ship-simu/application/hub/starter.php b/application/hub/starter.php similarity index 100% rename from ship-simu/application/hub/starter.php rename to application/hub/starter.php diff --git a/ship-simu/chat-server.php b/chat-server.php similarity index 100% rename from ship-simu/chat-server.php rename to chat-server.php diff --git a/ship-simu/devel/.htaccess b/db/.htaccess similarity index 100% rename from ship-simu/devel/.htaccess rename to db/.htaccess diff --git a/db/SimulatorPersonell/829292aeca3f6bf78c16e25fc4f75c98.serialized b/db/SimulatorPersonell/829292aeca3f6bf78c16e25fc4f75c98.serialized new file mode 100644 index 000000000..d85d24448 --- /dev/null +++ b/db/SimulatorPersonell/829292aeca3f6bf78c16e25fc4f75c98.serialized @@ -0,0 +1,34 @@ +@head^bz2:1178796141:1228:3bebdff2daf556f5af817a497d493f34 +@data^QlpoMTFBWSZTWZgImj4ACrVfgEAAEAV/+H0myAA///+6YAZ/E2:5581c6b3b029958dae7cbf33fca76967 +@data^ugGFsdJ1Z3sACEpGkGSbFPSaTYggBoAAGRMhoAqo9T1MmIwg0Z:5607b07fa186c7511760cde9d53f3275 +@data^MEYEommptFT9SGhiDIAYmCA0GnqqMhoAMhoDEaaaGjBAwGgNAA:6928989225a72071a456b166db9f6f90 +@data^BpoNANAGgKUoiY1MKaENpqZMQGgDI0wUPp7yfEmEWCYJgmE8BK:bbe0172461a813858519f7afb62d8234 +@data^fEn8/3u/ET/SfEq1JoTP8J3EwTCd4nwPcYzMzMszzE7xMuemLb:b35a8e5c41c5f5d08a5361fc97baa55b +@data^ttTpZZtObRjF6wQ2ZAhtQEEoAhGF3JvDhf48qEp0dg4veAhIBC:1df972fa2c3fec9564a68ac8661a6e0a +@data^sZqYCA1Vi4EMF5ztzLN4umJCMJgXtzLF1UohqhBGt2domt5Ln0:88bef013bf1f36f05b73fb313176e409 +@data^qSnThz1SaiYVciY55Mcubprt16cs4cNRaXZ5uaUzKQ3Fb6vneK:e634054c76ae06816ae3b233c7d28ae1 +@data^Rrdc5M6VkASW7sAjjC4oqmLFe/NjOVZD3hAQikgEIYdgQ572YE:0d84f5e53c203deac2bd44140e48ab63 +@data^JytasASUfOVIJKBkQWFg1qZpbLbTiWrEtZ1SfXzTWLceHveZBJ:1007b2f29136efbee8eaf8771e640208 +@data^5wAhEQjXO9zrGhrk1uzbvXOm0ARyglumIvxrIKPmiUF0QuYSta:01f9da46a20238dd8589aa8ea4bc5b7e +@data^YxGLd3Wz7fHb8WUY6r1XetNN7hMdpLSdhBJrXlxaXWfe5kzVam:e2091b0f8140e70861ddfc7155282762 +@data^pztsZRcYktlGopu7OczRWVLSvDSsh3dA+r55tuxjkc0z8VttOk:2c8174bdf3b35b03ade696125e83a1a2 +@data^YaMUk0clfFpCiTn3Fx3eeSBBHYRVUKqmmmbmXjPa2Zpyq17apV:76c9ed1af8d1f8b82b87b7604395ceaf +@data^2NEALRmQPYitiCS5BGkQ5Ns0TkWDQycAIcAkoTYTiJ2JqTQmhN:2d86f3f20df17c5750842af805e1b3f1 +@data^5ME3BZhbtdxOwm4ndx8hP2dqHgTQa49JMP0JqTSphMYVa6b5u1:20fd20fcc7fcc8fcd700d4d653db1129 +@data^10y3FXXSaCZhKZZiyTCddtidO4V2Rs78K8h2q8UpqyEAkAIAXA:5c70011a8022bab8809cdc4011e1170d +@data^QIhBDstSTMxgzMUiRNxavMhZSidoZyk7ACEUweVl022zN/HXXl:3944662c0c44cb012abb2009e22d4967 +@data^pu22JyJkq8SfAUP40JT3e9k95MrRmMxZlllmNSfz8SfcTlGEXk:466c0587fd6e5275d57d2ceca68ebea3 +@data^TfqX5Sd/LYq4EpvRLgQEnFmvdp0bMaqlxdpuwpxvyHwsqt5LgA:8718e937e6cecd59ceb00f76417fd346 +@data^iAKQ42adenp8Sbiewns/Enz3yc5F2J3E4E7if4T2E/UlMJ/2BP:16f7a8958473e3d7623e2e1d6204a368 +@data^WTlw8dfDy678TbXnjuW7LPe2FmlrNW8BCMZum99yyhNqzYS7PM:bc34356080c9564b0c28f9b46f1f2ed1 +@data^BEApGUeOqWEHTYwvs1sLpunXhRY0ao9jwQzBBjgAkAIACIw9+6:c65c6b1e837ca39220db3a4a471791d3 +@data^fm3xheUpUXfbd6steABE/WBBa7yeuV1teFjq6LAEN4IRfUoIbA:db333ee6a1b294b82c906effda88fec2 +@data^QRD84IIPDx1qwxtn54t+XinH8Fw8nZaC4nEqxfQBCRPygEfeT6:48f89cfe3798de4a75b2efc1c3793ecd +@data^+3Xr1J8vfVwJk8N/bntt9UKvgReonyJr0J8vvJ8oVfuTykX1+3:fe7792babc0222e9c6177d0998642183 +@data^p4dvs93lr5dlNEWwrW0skPjZyq1uzeGQELwsGETcEMoICcVVIC:24c80e453bf3b5a5b0670f83e2af4ac8 +@data^BAMhMyAEgZAgZAgQIExl90npJ5ieoJ24yeJPzKvn+fbaRaE4Ew:c1ef03cb2657421ffd2be85f8837fc8d +@data^qWEzCfMn4BNPXCr2k0k+BNSLCegmqoYTUmoT/ZORP43E7iboVb:61ce41972ca02b064f601cfe3cfd8edb +@data^+JNImn6SBhNvQTwKvpIv7J2J1JxJ3E4k5/UTCdCcyrvFD/pF5t:e137b6eb5c1cea22a1a78f100d8d942d +@data^id2hN8i7E/fiTfIGE2KsJzJ0J5E8YJ5EwKsyTmTYnInElOcgeJ:8d2eac349385494deadebd9bf1be57a0 +@data^NCd/6kXqFDiTz9eJNBQ46kWpVoTcTjCbhQ6/QnpCbybiecnq6y:97f3f499c7d2e6f7dbdbfdcb86280a81 +@data^LYnEnKTgTuJ9pF2+dT2+ijB/F3JFOFCQmAiaPg==:670330f69b80a2f2fec8b8bc882521d1 diff --git a/ship-simu/inc/.htaccess b/devel/.htaccess similarity index 100% rename from ship-simu/inc/.htaccess rename to devel/.htaccess diff --git a/ship-simu/devel/class_Debug.php b/devel/class_Debug.php similarity index 100% rename from ship-simu/devel/class_Debug.php rename to devel/class_Debug.php diff --git a/ship-simu/docs/COPYING b/docs/COPYING similarity index 100% rename from ship-simu/docs/COPYING rename to docs/COPYING diff --git a/ship-simu/docs/NEWS b/docs/NEWS similarity index 100% rename from ship-simu/docs/NEWS rename to docs/NEWS diff --git a/ship-simu/docs/README b/docs/README similarity index 100% rename from ship-simu/docs/README rename to docs/README diff --git a/ship-simu/docs/THANKS b/docs/THANKS similarity index 100% rename from ship-simu/docs/THANKS rename to docs/THANKS diff --git a/ship-simu/inc/classes/.htaccess b/inc/.htaccess similarity index 100% rename from ship-simu/inc/classes/.htaccess rename to inc/.htaccess diff --git a/ship-simu/inc/classes.php b/inc/classes.php similarity index 98% rename from ship-simu/inc/classes.php rename to inc/classes.php index fb00ebf2c..64e2bedc5 100644 --- a/ship-simu/inc/classes.php +++ b/inc/classes.php @@ -1,6 +1,6 @@ * @version 0.0 diff --git a/ship-simu/inc/classes/exceptions/.htaccess b/inc/classes/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/.htaccess rename to inc/classes/.htaccess diff --git a/ship-simu/inc/classes/exceptions/compressor/.htaccess b/inc/classes/exceptions/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/compressor/.htaccess rename to inc/classes/exceptions/.htaccess diff --git a/ship-simu/inc/classes/exceptions/class_FrameworkException.php b/inc/classes/exceptions/class_FrameworkException.php similarity index 95% rename from ship-simu/inc/classes/exceptions/class_FrameworkException.php rename to inc/classes/exceptions/class_FrameworkException.php index 46a034242..aaab83a9c 100644 --- a/ship-simu/inc/classes/exceptions/class_FrameworkException.php +++ b/inc/classes/exceptions/class_FrameworkException.php @@ -4,10 +4,11 @@ * remove the "abstract" key-word. Better you make your own exception and * attach a dedicated message to it. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/container/.htaccess b/inc/classes/exceptions/compressor/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/container/.htaccess rename to inc/classes/exceptions/compressor/.htaccess diff --git a/ship-simu/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php b/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php similarity index 94% rename from ship-simu/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php rename to inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php index f6196019d..4ff32f072 100644 --- a/ship-simu/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php +++ b/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php @@ -2,10 +2,11 @@ /** * An exception thrown when compressors are mismatching * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/database/.htaccess b/inc/classes/exceptions/container/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/database/.htaccess rename to inc/classes/exceptions/container/.htaccess diff --git a/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php b/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php rename to inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php index ae3dfad6d..a5e346815 100644 --- a/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php +++ b/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a container item is not an array * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNullException.php b/inc/classes/exceptions/container/class_ContainerItemIsNullException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNullException.php rename to inc/classes/exceptions/container/class_ContainerItemIsNullException.php index 3d7014477..bffb9b08d 100644 --- a/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNullException.php +++ b/inc/classes/exceptions/container/class_ContainerItemIsNullException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a container item is null * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php b/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php rename to inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php index f5e77acf1..417e49d2e 100644 --- a/ship-simu/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php +++ b/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the container is possibly damaged * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/database/local_file/.htaccess b/inc/classes/exceptions/database/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/database/local_file/.htaccess rename to inc/classes/exceptions/database/.htaccess diff --git a/ship-simu/inc/classes/exceptions/io/.htaccess b/inc/classes/exceptions/database/local_file/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/io/.htaccess rename to inc/classes/exceptions/database/local_file/.htaccess diff --git a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php b/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php rename to inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php index 938edc54f..ddc60e879 100644 --- a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the save path string is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php b/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php rename to inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php index fa59a43ee..0eabf4e52 100644 --- a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the save path is no directory * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php b/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php rename to inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php index 8647da18c..678ecd005 100644 --- a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the save path is read-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php b/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php rename to inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php index 7236f56bc..0e7ca79c9 100644 --- a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the save path is write-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/language/.htaccess b/inc/classes/exceptions/io/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/language/.htaccess rename to inc/classes/exceptions/io/.htaccess diff --git a/ship-simu/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php b/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php rename to inc/classes/exceptions/io/class_DirPointerNotOpenedException.php index a8a616f59..5c415e167 100644 --- a/ship-simu/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php +++ b/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a directory pointer is not opended * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php b/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php rename to inc/classes/exceptions/io/class_FilePointerNotOpenedException.php index da5e8fe57..fd4e54178 100644 --- a/ship-simu/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php +++ b/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a file pointer is not opened * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/io/class_InvalidDataLengthException.php b/inc/classes/exceptions/io/class_InvalidDataLengthException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/io/class_InvalidDataLengthException.php rename to inc/classes/exceptions/io/class_InvalidDataLengthException.php index 7952be81b..630d1cae6 100644 --- a/ship-simu/inc/classes/exceptions/io/class_InvalidDataLengthException.php +++ b/inc/classes/exceptions/io/class_InvalidDataLengthException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the length of the data mismatch * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php b/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php rename to inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php index caabc3240..fc48bebbc 100644 --- a/ship-simu/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php +++ b/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the returned directory resource is invalid * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php b/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php rename to inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php index 349e7132e..1044d254b 100644 --- a/ship-simu/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php +++ b/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a MD5 checksum does not exception * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/io/class_PathIsEmptyException.php b/inc/classes/exceptions/io/class_PathIsEmptyException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/io/class_PathIsEmptyException.php rename to inc/classes/exceptions/io/class_PathIsEmptyException.php index cd6010c44..ffabd5c3d 100644 --- a/ship-simu/inc/classes/exceptions/io/class_PathIsEmptyException.php +++ b/inc/classes/exceptions/io/class_PathIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the path string is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php b/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php rename to inc/classes/exceptions/io/class_PathIsNoDirectoryException.php index b458387ad..6b0a53110 100644 --- a/ship-simu/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php +++ b/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a given path is not a directory * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/io/class_PathReadProtectedException.php b/inc/classes/exceptions/io/class_PathReadProtectedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/io/class_PathReadProtectedException.php rename to inc/classes/exceptions/io/class_PathReadProtectedException.php index d630daf15..530f16fa9 100644 --- a/ship-simu/inc/classes/exceptions/io/class_PathReadProtectedException.php +++ b/inc/classes/exceptions/io/class_PathReadProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a path is read-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/.htaccess b/inc/classes/exceptions/language/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/main/.htaccess rename to inc/classes/exceptions/language/.htaccess diff --git a/ship-simu/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php b/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php rename to inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php index f9656d8b9..24674cd33 100644 --- a/ship-simu/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php +++ b/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the language path string is invalid * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php b/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php rename to inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php index 01068d82d..4e2cbf828 100644 --- a/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php +++ b/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the language path string is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php b/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php rename to inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php index 1761298b8..1f0f53dae 100644 --- a/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php +++ b/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the language path is no directory * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php b/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php rename to inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php index f803c4275..72bf450f8 100644 --- a/ship-simu/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php +++ b/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the language path is read-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/template/.htaccess b/inc/classes/exceptions/main/.htaccess similarity index 100% rename from ship-simu/inc/classes/exceptions/template/.htaccess rename to inc/classes/exceptions/main/.htaccess diff --git a/ship-simu/inc/classes/exceptions/main/class_ClassMismatchException.php b/inc/classes/exceptions/main/class_ClassMismatchException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_ClassMismatchException.php rename to inc/classes/exceptions/main/class_ClassMismatchException.php index 5f73e055a..b8079c1f8 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ClassMismatchException.php +++ b/inc/classes/exceptions/main/class_ClassMismatchException.php @@ -2,11 +2,12 @@ /** * An exception thrown when two classes are not matching * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_ClassNotFoundException.php b/inc/classes/exceptions/main/class_ClassNotFoundException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_ClassNotFoundException.php rename to inc/classes/exceptions/main/class_ClassNotFoundException.php index 0d3918c0d..a91f6e70b 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ClassNotFoundException.php +++ b/inc/classes/exceptions/main/class_ClassNotFoundException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a class was not found * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php b/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php rename to inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php index 497438e6e..2661bf045 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php +++ b/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a configuration entry is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php b/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php rename to inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php index 14244c8bc..b83567f55 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php +++ b/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a configuration entry is not found * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php b/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php rename to inc/classes/exceptions/main/class_DimNotFoundInArrayException.php index 7407c507b..f65a01afb 100644 --- a/ship-simu/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php +++ b/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php @@ -2,11 +2,12 @@ /** * An exception thron when dimension entries are not found in an array * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_ExceptionNotChangedException.php b/inc/classes/exceptions/main/class_ExceptionNotChangedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_ExceptionNotChangedException.php rename to inc/classes/exceptions/main/class_ExceptionNotChangedException.php index d6d0635b0..d8123ebe0 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ExceptionNotChangedException.php +++ b/inc/classes/exceptions/main/class_ExceptionNotChangedException.php @@ -2,10 +2,11 @@ /** * An exception thrown when an exception was not changed * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * @deprecated * * This program is free software: you can redistribute it and/or modify diff --git a/ship-simu/inc/classes/exceptions/main/class_ExceptionNotFoundException.php b/inc/classes/exceptions/main/class_ExceptionNotFoundException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_ExceptionNotFoundException.php rename to inc/classes/exceptions/main/class_ExceptionNotFoundException.php index 04b268506..131e732cb 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ExceptionNotFoundException.php +++ b/inc/classes/exceptions/main/class_ExceptionNotFoundException.php @@ -2,11 +2,12 @@ /** * An exception thrown when an other exception was not found * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_GetterNotFoundException.php b/inc/classes/exceptions/main/class_GetterNotFoundException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/main/class_GetterNotFoundException.php rename to inc/classes/exceptions/main/class_GetterNotFoundException.php index 95ecc95e0..bb25fdb80 100644 --- a/ship-simu/inc/classes/exceptions/main/class_GetterNotFoundException.php +++ b/inc/classes/exceptions/main/class_GetterNotFoundException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a getter for an attribute was not found * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_InvalidArrayCountException.php b/inc/classes/exceptions/main/class_InvalidArrayCountException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/main/class_InvalidArrayCountException.php rename to inc/classes/exceptions/main/class_InvalidArrayCountException.php index 3c1a7e66f..93f4ff81b 100644 --- a/ship-simu/inc/classes/exceptions/main/class_InvalidArrayCountException.php +++ b/inc/classes/exceptions/main/class_InvalidArrayCountException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the number of array elements mismatch * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_InvalidObjectException.php b/inc/classes/exceptions/main/class_InvalidObjectException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_InvalidObjectException.php rename to inc/classes/exceptions/main/class_InvalidObjectException.php index c847c2294..c74eecbc8 100644 --- a/ship-simu/inc/classes/exceptions/main/class_InvalidObjectException.php +++ b/inc/classes/exceptions/main/class_InvalidObjectException.php @@ -2,11 +2,12 @@ /** * An exception thrown when an instance variable instances a non-object * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_MissingArrayElementsException.php b/inc/classes/exceptions/main/class_MissingArrayElementsException.php similarity index 94% rename from ship-simu/inc/classes/exceptions/main/class_MissingArrayElementsException.php rename to inc/classes/exceptions/main/class_MissingArrayElementsException.php index aee6090a0..17e0d05de 100644 --- a/ship-simu/inc/classes/exceptions/main/class_MissingArrayElementsException.php +++ b/inc/classes/exceptions/main/class_MissingArrayElementsException.php @@ -2,11 +2,12 @@ /** * An exception thrown when required array elements are missing * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php b/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php rename to inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php index 392474d23..c5b28a4bc 100644 --- a/ship-simu/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php +++ b/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php @@ -2,12 +2,12 @@ /** * An exception thrown when the decimal and thousands seperators are missing * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * @deprecated - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_MissingMethodException.php b/inc/classes/exceptions/main/class_MissingMethodException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_MissingMethodException.php rename to inc/classes/exceptions/main/class_MissingMethodException.php index f8c5a683f..46670688f 100644 --- a/ship-simu/inc/classes/exceptions/main/class_MissingMethodException.php +++ b/inc/classes/exceptions/main/class_MissingMethodException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a method is missing * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_NoArrayCreatedException.php b/inc/classes/exceptions/main/class_NoArrayCreatedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_NoArrayCreatedException.php rename to inc/classes/exceptions/main/class_NoArrayCreatedException.php index 69e4ad245..b3a68c7c0 100644 --- a/ship-simu/inc/classes/exceptions/main/class_NoArrayCreatedException.php +++ b/inc/classes/exceptions/main/class_NoArrayCreatedException.php @@ -2,11 +2,12 @@ /** * An exception thrown then no array was created in a dynamic environment * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_NoArrayException.php b/inc/classes/exceptions/main/class_NoArrayException.php similarity index 90% rename from ship-simu/inc/classes/exceptions/main/class_NoArrayException.php rename to inc/classes/exceptions/main/class_NoArrayException.php index 490a6c0d6..9e5942b1a 100644 --- a/ship-simu/inc/classes/exceptions/main/class_NoArrayException.php +++ b/inc/classes/exceptions/main/class_NoArrayException.php @@ -1,11 +1,10 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_NoObjectException.php b/inc/classes/exceptions/main/class_NoObjectException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_NoObjectException.php rename to inc/classes/exceptions/main/class_NoObjectException.php index 7c7b519c1..7f3da7725 100644 --- a/ship-simu/inc/classes/exceptions/main/class_NoObjectException.php +++ b/inc/classes/exceptions/main/class_NoObjectException.php @@ -2,10 +2,11 @@ /** * A deprecated exception which should be replaced with InvalidObjectException * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * @deprecated * @see InvalidObjectException * diff --git a/ship-simu/inc/classes/exceptions/main/class_NullPointerException.php b/inc/classes/exceptions/main/class_NullPointerException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/main/class_NullPointerException.php rename to inc/classes/exceptions/main/class_NullPointerException.php index c43f466ec..45487d5d9 100644 --- a/ship-simu/inc/classes/exceptions/main/class_NullPointerException.php +++ b/inc/classes/exceptions/main/class_NullPointerException.php @@ -2,11 +2,12 @@ /** * An exception thrown when an object instance is null * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/main/class_VariableIsNotSetException.php b/inc/classes/exceptions/main/class_VariableIsNotSetException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/main/class_VariableIsNotSetException.php rename to inc/classes/exceptions/main/class_VariableIsNotSetException.php index 821dfb40a..0ec1a4d58 100644 --- a/ship-simu/inc/classes/exceptions/main/class_VariableIsNotSetException.php +++ b/inc/classes/exceptions/main/class_VariableIsNotSetException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a variable is not set * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/.htaccess b/inc/classes/exceptions/template/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/.htaccess rename to inc/classes/exceptions/template/.htaccess diff --git a/ship-simu/inc/classes/exceptions/template/class_BasePathIsEmptyException.php b/inc/classes/exceptions/template/class_BasePathIsEmptyException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/template/class_BasePathIsEmptyException.php rename to inc/classes/exceptions/template/class_BasePathIsEmptyException.php index 4c6cbc541..ed59ac5d7 100644 --- a/ship-simu/inc/classes/exceptions/template/class_BasePathIsEmptyException.php +++ b/inc/classes/exceptions/template/class_BasePathIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception throws when the base path is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php b/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php rename to inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php index 4c6de810a..6d3230124 100644 --- a/ship-simu/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php +++ b/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the base path is no directory * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/template/class_BasePathReadProtectedException.php b/inc/classes/exceptions/template/class_BasePathReadProtectedException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/template/class_BasePathReadProtectedException.php rename to inc/classes/exceptions/template/class_BasePathReadProtectedException.php index ea35cfe10..b95171dbf 100644 --- a/ship-simu/inc/classes/exceptions/template/class_BasePathReadProtectedException.php +++ b/inc/classes/exceptions/template/class_BasePathReadProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the base path is read-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/template/class_InvalidBasePathStringException.php b/inc/classes/exceptions/template/class_InvalidBasePathStringException.php similarity index 92% rename from ship-simu/inc/classes/exceptions/template/class_InvalidBasePathStringException.php rename to inc/classes/exceptions/template/class_InvalidBasePathStringException.php index 36f200260..7236f6e2d 100644 --- a/ship-simu/inc/classes/exceptions/template/class_InvalidBasePathStringException.php +++ b/inc/classes/exceptions/template/class_InvalidBasePathStringException.php @@ -2,11 +2,12 @@ /** * An exception throws hen the base path string is invalid * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php b/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php rename to inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php index 7683d2c34..6dc35afb0 100644 --- a/ship-simu/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php +++ b/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a template variable name is invalid * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php b/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php similarity index 93% rename from ship-simu/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php rename to inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php index 5cbe2bed5..06126039d 100644 --- a/ship-simu/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php +++ b/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php @@ -2,11 +2,12 @@ /** * An exception throws when the template type is not supported * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/application/.htaccess b/inc/classes/interfaces/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/application/.htaccess rename to inc/classes/interfaces/.htaccess diff --git a/ship-simu/inc/classes/interfaces/compressor/.htaccess b/inc/classes/interfaces/application/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/compressor/.htaccess rename to inc/classes/interfaces/application/.htaccess diff --git a/ship-simu/inc/classes/interfaces/application/class_ManageableApplication.php b/inc/classes/interfaces/application/class_ManageableApplication.php similarity index 95% rename from ship-simu/inc/classes/interfaces/application/class_ManageableApplication.php rename to inc/classes/interfaces/application/class_ManageableApplication.php index 60584f833..f342a0a7c 100644 --- a/ship-simu/inc/classes/interfaces/application/class_ManageableApplication.php +++ b/inc/classes/interfaces/application/class_ManageableApplication.php @@ -7,10 +7,11 @@ * - Usage statistics * - And many more... * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/class_FrameworkInterface.php b/inc/classes/interfaces/class_FrameworkInterface.php similarity index 90% rename from ship-simu/inc/classes/interfaces/class_FrameworkInterface.php rename to inc/classes/interfaces/class_FrameworkInterface.php index 3c9d5ff52..733d665a1 100644 --- a/ship-simu/inc/classes/interfaces/class_FrameworkInterface.php +++ b/inc/classes/interfaces/class_FrameworkInterface.php @@ -3,10 +3,11 @@ * This is the top-level interface for all other interfaces and should contain * method stubs which is being used in every class * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/database/.htaccess b/inc/classes/interfaces/compressor/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/database/.htaccess rename to inc/classes/interfaces/compressor/.htaccess diff --git a/ship-simu/inc/classes/interfaces/compressor/class_Compressor.php b/inc/classes/interfaces/compressor/class_Compressor.php similarity index 87% rename from ship-simu/inc/classes/interfaces/compressor/class_Compressor.php rename to inc/classes/interfaces/compressor/class_Compressor.php index 5f42ec323..0e3182a0b 100644 --- a/ship-simu/inc/classes/interfaces/compressor/class_Compressor.php +++ b/inc/classes/interfaces/compressor/class_Compressor.php @@ -2,10 +2,11 @@ /** * An interface for compression classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -25,7 +26,7 @@ interface Compressor extends FrameworkInterface { * A compression stream * * @param $streamData Mixed non-object stream data - * @return $streamData The compressed stream data + * @return $streamData The compressed stream data * @throws InvalidObjectException If the stream is an object */ function compressStream ($streamData); @@ -34,7 +35,7 @@ interface Compressor extends FrameworkInterface { * A decompression stream * * @param $streamData Mixed non-object stream data - * @return $streamData The decompressed stream data + * @return $streamData The decompressed stream data * @throws InvalidObjectException If the stream is an object */ function decompressStream ($streamData); diff --git a/ship-simu/inc/classes/interfaces/database/frontend/.htaccess b/inc/classes/interfaces/database/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/database/frontend/.htaccess rename to inc/classes/interfaces/database/.htaccess diff --git a/ship-simu/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php b/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php similarity index 96% rename from ship-simu/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php rename to inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php index 0b0629800..3031f60f8 100644 --- a/ship-simu/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php +++ b/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php @@ -2,10 +2,11 @@ /** * The general interface for all other database interfaces * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/database/middleware/.htaccess b/inc/classes/interfaces/database/frontend/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/database/middleware/.htaccess rename to inc/classes/interfaces/database/frontend/.htaccess diff --git a/ship-simu/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php b/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php similarity index 93% rename from ship-simu/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php rename to inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php index 839ba634c..b6043b396 100644 --- a/ship-simu/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php +++ b/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php @@ -6,10 +6,11 @@ * file databases the object shall be serialized and (maybe) transparently * compressed before they got saved to a local file. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/debug/.htaccess b/inc/classes/interfaces/database/middleware/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/debug/.htaccess rename to inc/classes/interfaces/database/middleware/.htaccess diff --git a/ship-simu/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php b/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php similarity index 89% rename from ship-simu/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php rename to inc/classes/interfaces/database/middleware/class_DatabaseConnector.php index 0182ef87f..e9f5031d1 100644 --- a/ship-simu/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php +++ b/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php @@ -2,10 +2,11 @@ /** * An interface for middleware database classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/extended/.htaccess b/inc/classes/interfaces/debug/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/extended/.htaccess rename to inc/classes/interfaces/debug/.htaccess diff --git a/ship-simu/inc/classes/interfaces/debug/class_Debugger.php b/inc/classes/interfaces/debug/class_Debugger.php similarity index 90% rename from ship-simu/inc/classes/interfaces/debug/class_Debugger.php rename to inc/classes/interfaces/debug/class_Debugger.php index 46cdeb44a..eeffbf241 100644 --- a/ship-simu/inc/classes/interfaces/debug/class_Debugger.php +++ b/inc/classes/interfaces/debug/class_Debugger.php @@ -2,10 +2,11 @@ /** * An interface for debugger classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/io/.htaccess b/inc/classes/interfaces/extended/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/io/.htaccess rename to inc/classes/interfaces/extended/.htaccess diff --git a/ship-simu/inc/classes/interfaces/extended/class_LimitableObject.php b/inc/classes/interfaces/extended/class_LimitableObject.php similarity index 92% rename from ship-simu/inc/classes/interfaces/extended/class_LimitableObject.php rename to inc/classes/interfaces/extended/class_LimitableObject.php index 8ed5eb955..591a21e82 100644 --- a/ship-simu/inc/classes/interfaces/extended/class_LimitableObject.php +++ b/inc/classes/interfaces/extended/class_LimitableObject.php @@ -3,10 +3,11 @@ * This is an inface for limiting object while saving them with the * DatabaseConnection class. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/io/file/.htaccess b/inc/classes/interfaces/io/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/io/file/.htaccess rename to inc/classes/interfaces/io/.htaccess diff --git a/ship-simu/inc/classes/interfaces/io/class_Streamable.php b/inc/classes/interfaces/io/class_Streamable.php similarity index 89% rename from ship-simu/inc/classes/interfaces/io/class_Streamable.php rename to inc/classes/interfaces/io/class_Streamable.php index 1392564ea..4763acbf5 100644 --- a/ship-simu/inc/classes/interfaces/io/class_Streamable.php +++ b/inc/classes/interfaces/io/class_Streamable.php @@ -2,10 +2,11 @@ /** * An interface for streams * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/io/output/.htaccess b/inc/classes/interfaces/io/file/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/io/output/.htaccess rename to inc/classes/interfaces/io/file/.htaccess diff --git a/ship-simu/inc/classes/interfaces/io/file/class_FileInputStreamer.php b/inc/classes/interfaces/io/file/class_FileInputStreamer.php similarity index 93% rename from ship-simu/inc/classes/interfaces/io/file/class_FileInputStreamer.php rename to inc/classes/interfaces/io/file/class_FileInputStreamer.php index 6204e34c6..e13174aec 100644 --- a/ship-simu/inc/classes/interfaces/io/file/class_FileInputStreamer.php +++ b/inc/classes/interfaces/io/file/class_FileInputStreamer.php @@ -2,10 +2,11 @@ /** * An interface for file input operations. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/io/file/class_FileOutputStreamer.php b/inc/classes/interfaces/io/file/class_FileOutputStreamer.php similarity index 93% rename from ship-simu/inc/classes/interfaces/io/file/class_FileOutputStreamer.php rename to inc/classes/interfaces/io/file/class_FileOutputStreamer.php index 55bc37e59..e0f55e4f5 100644 --- a/ship-simu/inc/classes/interfaces/io/file/class_FileOutputStreamer.php +++ b/inc/classes/interfaces/io/file/class_FileOutputStreamer.php @@ -2,10 +2,11 @@ /** * An interface for file output operations. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/interfaces/language/.htaccess b/inc/classes/interfaces/io/output/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/language/.htaccess rename to inc/classes/interfaces/io/output/.htaccess diff --git a/ship-simu/inc/classes/interfaces/io/output/class_OutputStreamer.php b/inc/classes/interfaces/io/output/class_OutputStreamer.php similarity index 85% rename from ship-simu/inc/classes/interfaces/io/output/class_OutputStreamer.php rename to inc/classes/interfaces/io/output/class_OutputStreamer.php index 6e4431f92..a803a4699 100644 --- a/ship-simu/inc/classes/interfaces/io/output/class_OutputStreamer.php +++ b/inc/classes/interfaces/io/output/class_OutputStreamer.php @@ -2,10 +2,11 @@ /** * An interface for output streams * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -28,14 +29,14 @@ interface OutputStreamer extends Streamable { * @param $value The value to store in the variable * @return void */ - function assignVariable($var, $value); + function assignVariable ($var, $value); /** * Output the code * * @return void */ - function output($outStream=false); + function output ($outStream=false); } // diff --git a/ship-simu/inc/classes/interfaces/template/.htaccess b/inc/classes/interfaces/language/.htaccess similarity index 100% rename from ship-simu/inc/classes/interfaces/template/.htaccess rename to inc/classes/interfaces/language/.htaccess diff --git a/ship-simu/inc/classes/interfaces/language/class_ManageableLanguage.php b/inc/classes/interfaces/language/class_ManageableLanguage.php similarity index 90% rename from ship-simu/inc/classes/interfaces/language/class_ManageableLanguage.php rename to inc/classes/interfaces/language/class_ManageableLanguage.php index 77f3fbc1f..9ffec5201 100644 --- a/ship-simu/inc/classes/interfaces/language/class_ManageableLanguage.php +++ b/inc/classes/interfaces/language/class_ManageableLanguage.php @@ -2,10 +2,11 @@ /** * An interface for language systems * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/.htaccess b/inc/classes/interfaces/template/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/.htaccess rename to inc/classes/interfaces/template/.htaccess diff --git a/ship-simu/inc/classes/interfaces/template/class_CompileableTemplate.php b/inc/classes/interfaces/template/class_CompileableTemplate.php similarity index 96% rename from ship-simu/inc/classes/interfaces/template/class_CompileableTemplate.php rename to inc/classes/interfaces/template/class_CompileableTemplate.php index 1477f74ba..f6dc57717 100644 --- a/ship-simu/inc/classes/interfaces/template/class_CompileableTemplate.php +++ b/inc/classes/interfaces/template/class_CompileableTemplate.php @@ -2,10 +2,11 @@ /** * An interface for template engines * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/compressor/.htaccess b/inc/classes/main/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/compressor/.htaccess rename to inc/classes/main/.htaccess diff --git a/ship-simu/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php similarity index 99% rename from ship-simu/inc/classes/main/class_BaseFrameworkSystem.php rename to inc/classes/main/class_BaseFrameworkSystem.php index 3721f6399..1e536a201 100644 --- a/ship-simu/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -4,9 +4,10 @@ * class handles saving of games etc. * * @author Roland Haeder - * @version 0.0 + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/class_FrameworkArrayObject.php b/inc/classes/main/class_FrameworkArrayObject.php similarity index 92% rename from ship-simu/inc/classes/main/class_FrameworkArrayObject.php rename to inc/classes/main/class_FrameworkArrayObject.php index e73f8a8d8..85397a415 100644 --- a/ship-simu/inc/classes/main/class_FrameworkArrayObject.php +++ b/inc/classes/main/class_FrameworkArrayObject.php @@ -4,10 +4,11 @@ * some common methods used in the whole application. Please see below if you * need more details. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/console/.htaccess b/inc/classes/main/compressor/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/console/.htaccess rename to inc/classes/main/compressor/.htaccess diff --git a/ship-simu/inc/classes/main/compressor/class_Bzip2Compressor.php b/inc/classes/main/compressor/class_Bzip2Compressor.php similarity index 98% rename from ship-simu/inc/classes/main/compressor/class_Bzip2Compressor.php rename to inc/classes/main/compressor/class_Bzip2Compressor.php index 56e704c3d..c0c475f44 100644 --- a/ship-simu/inc/classes/main/compressor/class_Bzip2Compressor.php +++ b/inc/classes/main/compressor/class_Bzip2Compressor.php @@ -3,9 +3,10 @@ * BZIP2 compression and decompression class * * @author Roland Haeder - * @version 0.0 + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/compressor/class_GzipCompressor.php b/inc/classes/main/compressor/class_GzipCompressor.php similarity index 98% rename from ship-simu/inc/classes/main/compressor/class_GzipCompressor.php rename to inc/classes/main/compressor/class_GzipCompressor.php index f00b2d032..0caae9f80 100644 --- a/ship-simu/inc/classes/main/compressor/class_GzipCompressor.php +++ b/inc/classes/main/compressor/class_GzipCompressor.php @@ -3,9 +3,10 @@ * GZIP compression and decompression class * * @author Roland Haeder - * @version 0.0 + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/compressor/class_NullCompressor.php b/inc/classes/main/compressor/class_NullCompressor.php similarity index 98% rename from ship-simu/inc/classes/main/compressor/class_NullCompressor.php rename to inc/classes/main/compressor/class_NullCompressor.php index b4a123637..56b2d5f4f 100644 --- a/ship-simu/inc/classes/main/compressor/class_NullCompressor.php +++ b/inc/classes/main/compressor/class_NullCompressor.php @@ -3,9 +3,10 @@ * Null compression and decompression class * * @author Roland Haeder - * @version 0.0 + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/database/.htaccess b/inc/classes/main/console/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/database/.htaccess rename to inc/classes/main/console/.htaccess diff --git a/ship-simu/inc/classes/main/console/class_ConsoleTools.php b/inc/classes/main/console/class_ConsoleTools.php similarity index 95% rename from ship-simu/inc/classes/main/console/class_ConsoleTools.php rename to inc/classes/main/console/class_ConsoleTools.php index 97f1bc233..5ba9ae642 100644 --- a/ship-simu/inc/classes/main/console/class_ConsoleTools.php +++ b/inc/classes/main/console/class_ConsoleTools.php @@ -2,10 +2,11 @@ /** * This class contains static helper functions for console applications * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/database/classes/.htaccess b/inc/classes/main/database/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/database/classes/.htaccess rename to inc/classes/main/database/.htaccess diff --git a/ship-simu/inc/classes/main/database/class_BaseDatabaseFrontend.php b/inc/classes/main/database/class_BaseDatabaseFrontend.php similarity index 93% rename from ship-simu/inc/classes/main/database/class_BaseDatabaseFrontend.php rename to inc/classes/main/database/class_BaseDatabaseFrontend.php index 7d6f8a0dc..b8f0d4354 100644 --- a/ship-simu/inc/classes/main/database/class_BaseDatabaseFrontend.php +++ b/inc/classes/main/database/class_BaseDatabaseFrontend.php @@ -2,11 +2,12 @@ /** * An abstract database access class for handling database I/O requests * - * @see DatabaseFrontendInterface An interface for database frontends (front-end to the application) - * @author Roland Haeder - * @version 0.0 + * @see DatabaseFrontendInterface - An interface for database frontends (front-end to the application) + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/debug/.htaccess b/inc/classes/main/database/classes/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/debug/.htaccess rename to inc/classes/main/database/classes/.htaccess diff --git a/ship-simu/inc/classes/main/database/classes/class_LocalFileDatabase.php b/inc/classes/main/database/classes/class_LocalFileDatabase.php similarity index 99% rename from ship-simu/inc/classes/main/database/classes/class_LocalFileDatabase.php rename to inc/classes/main/database/classes/class_LocalFileDatabase.php index ff5f1dde0..55875a6de 100644 --- a/ship-simu/inc/classes/main/database/classes/class_LocalFileDatabase.php +++ b/inc/classes/main/database/classes/class_LocalFileDatabase.php @@ -4,11 +4,11 @@ * * This class serializes objects and saves them to local files. * - * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/extended/.htaccess b/inc/classes/main/debug/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/extended/.htaccess rename to inc/classes/main/debug/.htaccess diff --git a/ship-simu/inc/classes/main/debug/class_DebugConsoleOutput.php b/inc/classes/main/debug/class_DebugConsoleOutput.php similarity index 72% rename from ship-simu/inc/classes/main/debug/class_DebugConsoleOutput.php rename to inc/classes/main/debug/class_DebugConsoleOutput.php index d92648eaf..46205f48b 100644 --- a/ship-simu/inc/classes/main/debug/class_DebugConsoleOutput.php +++ b/inc/classes/main/debug/class_DebugConsoleOutput.php @@ -2,10 +2,11 @@ /** * A debug output class for the console (e.g. hub software) * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -20,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer { +class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger { /** * Private constructor * @@ -59,31 +60,7 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output public final function outputStream ($output) { print html_entity_decode(strip_tags($output)); } - - /** - * Outputs the given data without HTML tags - * - * @param $output The HTML'ed output - * @return void - */ - public final function output ($outStream=false) { - // false will be silently ignored - if ($outStream !== false) { - $this->outputStream($outStream); - } - } - - /** - * Assigns a variable for output - * - * @param $var The variable we shall assign - * @param $value The value to store in the variable - * @return void - */ - public final function assignVariable ($var, $value) { - trigger_error(__METHOD__.": Stub!"); - } } -// +// [EOF] ?> diff --git a/ship-simu/inc/classes/main/debug/class_DebugErrorLogOutput.php b/inc/classes/main/debug/class_DebugErrorLogOutput.php similarity index 77% rename from ship-simu/inc/classes/main/debug/class_DebugErrorLogOutput.php rename to inc/classes/main/debug/class_DebugErrorLogOutput.php index 8916b057e..2897e948f 100644 --- a/ship-simu/inc/classes/main/debug/class_DebugErrorLogOutput.php +++ b/inc/classes/main/debug/class_DebugErrorLogOutput.php @@ -2,10 +2,11 @@ /** * A debug output class for PHP's error_log() command * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -20,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer { +class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger { /** * Private constructor * @@ -68,30 +69,7 @@ class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, Outpu } } } - - /** - * Assigns a variable for output - * - * @param $var The variable we shall assign - * @param $value The value to store in the variable - * @return void - */ - public final function assignVariable ($var, $value) { - trigger_error(__METHOD__.": Stub!"); - } - - /** - * Output the code - * - * @return void - */ - public final function output ($outStream=false) { - // false will be silently ignored - if ($outStream !== false) { - $this->outputStream($outStream); - } - } } -// +// [EOF] ?> diff --git a/ship-simu/inc/classes/main/debug/class_DebugWebOutput.php b/inc/classes/main/debug/class_DebugWebOutput.php similarity index 94% rename from ship-simu/inc/classes/main/debug/class_DebugWebOutput.php rename to inc/classes/main/debug/class_DebugWebOutput.php index 062b2ccab..f79bec012 100644 --- a/ship-simu/inc/classes/main/debug/class_DebugWebOutput.php +++ b/inc/classes/main/debug/class_DebugWebOutput.php @@ -2,10 +2,11 @@ /** * A debug output class for the web browser * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/io/.htaccess b/inc/classes/main/extended/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/io/.htaccess rename to inc/classes/main/extended/.htaccess diff --git a/ship-simu/inc/classes/main/extended/class_ObjectLimits.php b/inc/classes/main/extended/class_ObjectLimits.php similarity index 95% rename from ship-simu/inc/classes/main/extended/class_ObjectLimits.php rename to inc/classes/main/extended/class_ObjectLimits.php index 8cfb0ec6c..91dc519f8 100644 --- a/ship-simu/inc/classes/main/extended/class_ObjectLimits.php +++ b/inc/classes/main/extended/class_ObjectLimits.php @@ -3,10 +3,11 @@ * This object limits other objects. This is mostly being used to prepare * objects to the datatabase connection or else a lot heap would be saved. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -102,7 +103,7 @@ class ObjectLimits extends BaseFrameworkSystem { /** * Add a string directly to the limitation list * - * @param $str The string we want to add directly + * @param $str The string we want to add directly * @return void */ private final function addString ($str) { diff --git a/ship-simu/inc/classes/main/extended/class_SerializationContainer.php b/inc/classes/main/extended/class_SerializationContainer.php similarity index 96% rename from ship-simu/inc/classes/main/extended/class_SerializationContainer.php rename to inc/classes/main/extended/class_SerializationContainer.php index b8790ea64..d32551c84 100644 --- a/ship-simu/inc/classes/main/extended/class_SerializationContainer.php +++ b/inc/classes/main/extended/class_SerializationContainer.php @@ -3,10 +3,11 @@ * This class contains object attributes which we can now send together to * other classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/language/.htaccess b/inc/classes/main/io/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/language/.htaccess rename to inc/classes/main/io/.htaccess diff --git a/ship-simu/inc/classes/main/io/class_FileIOStream.php b/inc/classes/main/io/class_FileIOStream.php similarity index 98% rename from ship-simu/inc/classes/main/io/class_FileIOStream.php rename to inc/classes/main/io/class_FileIOStream.php index 0872f9192..2eedf3c6a 100644 --- a/ship-simu/inc/classes/main/io/class_FileIOStream.php +++ b/inc/classes/main/io/class_FileIOStream.php @@ -2,10 +2,11 @@ /** * An universal class for file input/output streams. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/io/class_FrameworkDirectoryPointer.php b/inc/classes/main/io/class_FrameworkDirectoryPointer.php similarity index 98% rename from ship-simu/inc/classes/main/io/class_FrameworkDirectoryPointer.php rename to inc/classes/main/io/class_FrameworkDirectoryPointer.php index 796c97022..e8af81719 100644 --- a/ship-simu/inc/classes/main/io/class_FrameworkDirectoryPointer.php +++ b/inc/classes/main/io/class_FrameworkDirectoryPointer.php @@ -2,10 +2,11 @@ /** * A class for directory reading and getting its contents * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/io/class_FrameworkFileInputPointer.php b/inc/classes/main/io/class_FrameworkFileInputPointer.php similarity index 98% rename from ship-simu/inc/classes/main/io/class_FrameworkFileInputPointer.php rename to inc/classes/main/io/class_FrameworkFileInputPointer.php index 954dffe90..534650ab5 100644 --- a/ship-simu/inc/classes/main/io/class_FrameworkFileInputPointer.php +++ b/inc/classes/main/io/class_FrameworkFileInputPointer.php @@ -2,10 +2,11 @@ /** * A class for reading files * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/io/class_FrameworkFileOutputPointer.php b/inc/classes/main/io/class_FrameworkFileOutputPointer.php similarity index 98% rename from ship-simu/inc/classes/main/io/class_FrameworkFileOutputPointer.php rename to inc/classes/main/io/class_FrameworkFileOutputPointer.php index fba46027c..59de4f663 100644 --- a/ship-simu/inc/classes/main/io/class_FrameworkFileOutputPointer.php +++ b/inc/classes/main/io/class_FrameworkFileOutputPointer.php @@ -2,10 +2,11 @@ /** * A class for writing files * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/output/.htaccess b/inc/classes/main/language/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/output/.htaccess rename to inc/classes/main/language/.htaccess diff --git a/ship-simu/inc/classes/main/language/class_LanguageSystem.php b/inc/classes/main/language/class_LanguageSystem.php similarity index 97% rename from ship-simu/inc/classes/main/language/class_LanguageSystem.php rename to inc/classes/main/language/class_LanguageSystem.php index c9bf64d99..419a85658 100644 --- a/ship-simu/inc/classes/main/language/class_LanguageSystem.php +++ b/inc/classes/main/language/class_LanguageSystem.php @@ -3,10 +3,11 @@ * The language sub-system for handling language strings being used in the * application and whole framework * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/template/.htaccess b/inc/classes/main/output/.htaccess similarity index 100% rename from ship-simu/inc/classes/main/template/.htaccess rename to inc/classes/main/output/.htaccess diff --git a/ship-simu/inc/classes/main/output/class_ConsoleOutput.php b/inc/classes/main/output/class_ConsoleOutput.php similarity index 93% rename from ship-simu/inc/classes/main/output/class_ConsoleOutput.php rename to inc/classes/main/output/class_ConsoleOutput.php index 26dca7806..374c2af4a 100644 --- a/ship-simu/inc/classes/main/output/class_ConsoleOutput.php +++ b/inc/classes/main/output/class_ConsoleOutput.php @@ -1,12 +1,13 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/main/output/class_WebOutput.php b/inc/classes/main/output/class_WebOutput.php similarity index 95% rename from ship-simu/inc/classes/main/output/class_WebOutput.php rename to inc/classes/main/output/class_WebOutput.php index 8ed1c4f92..40d425c70 100644 --- a/ship-simu/inc/classes/main/output/class_WebOutput.php +++ b/inc/classes/main/output/class_WebOutput.php @@ -3,10 +3,11 @@ * This class simply puts HTML code / JavaScript code or CSS code out to the * browser * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/middleware/.htaccess b/inc/classes/main/template/.htaccess similarity index 100% rename from ship-simu/inc/classes/middleware/.htaccess rename to inc/classes/main/template/.htaccess diff --git a/ship-simu/inc/classes/main/template/class_TemplateEngine.php b/inc/classes/main/template/class_TemplateEngine.php similarity index 99% rename from ship-simu/inc/classes/main/template/class_TemplateEngine.php rename to inc/classes/main/template/class_TemplateEngine.php index a3e94b40b..74542634f 100644 --- a/ship-simu/inc/classes/main/template/class_TemplateEngine.php +++ b/inc/classes/main/template/class_TemplateEngine.php @@ -3,10 +3,11 @@ * The own template engine for loading caching and sending out the web pages * and emails. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/middleware/compressor/.htaccess b/inc/classes/middleware/.htaccess similarity index 100% rename from ship-simu/inc/classes/middleware/compressor/.htaccess rename to inc/classes/middleware/.htaccess diff --git a/ship-simu/inc/classes/middleware/class_BaseMiddleware.php b/inc/classes/middleware/class_BaseMiddleware.php similarity index 92% rename from ship-simu/inc/classes/middleware/class_BaseMiddleware.php rename to inc/classes/middleware/class_BaseMiddleware.php index e0a8b6b79..88bc16e12 100644 --- a/ship-simu/inc/classes/middleware/class_BaseMiddleware.php +++ b/inc/classes/middleware/class_BaseMiddleware.php @@ -2,11 +2,12 @@ /** * An abstract middleware class for all other middlware classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/middleware/database/.htaccess b/inc/classes/middleware/compressor/.htaccess similarity index 100% rename from ship-simu/inc/classes/middleware/database/.htaccess rename to inc/classes/middleware/compressor/.htaccess diff --git a/ship-simu/inc/classes/middleware/compressor/class_CompressorChannel.php b/inc/classes/middleware/compressor/class_CompressorChannel.php similarity index 96% rename from ship-simu/inc/classes/middleware/compressor/class_CompressorChannel.php rename to inc/classes/middleware/compressor/class_CompressorChannel.php index 05fbad06b..5d5017c6e 100644 --- a/ship-simu/inc/classes/middleware/compressor/class_CompressorChannel.php +++ b/inc/classes/middleware/compressor/class_CompressorChannel.php @@ -1,12 +1,12 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/middleware/debug/.htaccess b/inc/classes/middleware/database/.htaccess similarity index 100% rename from ship-simu/inc/classes/middleware/debug/.htaccess rename to inc/classes/middleware/database/.htaccess diff --git a/ship-simu/inc/classes/middleware/database/class_DatabaseConnection.php b/inc/classes/middleware/database/class_DatabaseConnection.php similarity index 98% rename from ship-simu/inc/classes/middleware/database/class_DatabaseConnection.php rename to inc/classes/middleware/database/class_DatabaseConnection.php index 8499c0f19..e6adbbe67 100644 --- a/ship-simu/inc/classes/middleware/database/class_DatabaseConnection.php +++ b/inc/classes/middleware/database/class_DatabaseConnection.php @@ -2,10 +2,11 @@ /** * Database selector class * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/classes/middleware/io/.htaccess b/inc/classes/middleware/debug/.htaccess similarity index 100% rename from ship-simu/inc/classes/middleware/io/.htaccess rename to inc/classes/middleware/debug/.htaccess diff --git a/ship-simu/inc/classes/middleware/debug/class_DebugMiddleware.php b/inc/classes/middleware/debug/class_DebugMiddleware.php similarity index 97% rename from ship-simu/inc/classes/middleware/debug/class_DebugMiddleware.php rename to inc/classes/middleware/debug/class_DebugMiddleware.php index e43ce8ba6..5193532e1 100644 --- a/ship-simu/inc/classes/middleware/debug/class_DebugMiddleware.php +++ b/inc/classes/middleware/debug/class_DebugMiddleware.php @@ -4,10 +4,11 @@ * become registered with this middleware because the back-fall class will * become deprecated soon. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/config/.htaccess b/inc/classes/middleware/io/.htaccess similarity index 100% rename from ship-simu/inc/config/.htaccess rename to inc/classes/middleware/io/.htaccess diff --git a/ship-simu/inc/classes/middleware/io/class_FileIOHandler.php b/inc/classes/middleware/io/class_FileIOHandler.php similarity index 97% rename from ship-simu/inc/classes/middleware/io/class_FileIOHandler.php rename to inc/classes/middleware/io/class_FileIOHandler.php index 40b2b3592..7e624cccf 100644 --- a/ship-simu/inc/classes/middleware/io/class_FileIOHandler.php +++ b/inc/classes/middleware/io/class_FileIOHandler.php @@ -3,10 +3,11 @@ * This is a file IO handler. It handles reading from and writing to files. * Missing paths in writing process will be automatically created. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/config-local.php b/inc/config-local.php similarity index 85% rename from ship-simu/inc/config-local.php rename to inc/config-local.php index 84be1ff3e..99b4e6627 100644 --- a/ship-simu/inc/config-local.php +++ b/inc/config-local.php @@ -2,10 +2,11 @@ /** * Local configuration. Do not edit config.php! Better overwrite the configuration here: * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -22,7 +23,7 @@ */ // CFG: DEFAULT-APPLICATION -$cfg->setConfigEntry("default_application", "hub"); +$cfg->setConfigEntry("default_application", "mxchange"); // [EOF] ?> diff --git a/ship-simu/inc/config.php b/inc/config.php similarity index 94% rename from ship-simu/inc/config.php rename to inc/config.php index 62134c1b4..3a14eaa9c 100644 --- a/ship-simu/inc/config.php +++ b/inc/config.php @@ -1,12 +1,14 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/inc/database/.htaccess b/inc/config/.htaccess similarity index 100% rename from ship-simu/inc/database/.htaccess rename to inc/config/.htaccess diff --git a/ship-simu/inc/config/class_FrameworkConfiguration.php b/inc/config/class_FrameworkConfiguration.php similarity index 96% rename from ship-simu/inc/config/class_FrameworkConfiguration.php rename to inc/config/class_FrameworkConfiguration.php index 03237c055..a1ca42a3a 100644 --- a/ship-simu/inc/config/class_FrameworkConfiguration.php +++ b/inc/config/class_FrameworkConfiguration.php @@ -5,12 +5,13 @@ * NOTE: We cannot put this in inc/classes/ because it would be loaded (again) * in the class loader. See inc/loader/class_ClassLoader.php for instance * - * @see ClassLoader - * @author Roland Haeder - * @version 0.0 + * @see ClassLoader + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.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 @@ -207,8 +208,11 @@ class FrameworkConfiguration { // Cast to string $path = (string) $path; + // Replace backslashes with slashes + $path = str_replace("\\", "/", $path); + // Is it defined or not? - if (!is_dir($path)) { + if ((!is_dir($path)) || (!is_readable($path))) { // Is not a valid path ApplicationEntryPoint::app_die(sprintf("[%s:] Invalid path (not found) specified. Please make sure it is created.", __CLASS__ diff --git a/ship-simu/inc/database.php b/inc/database.php similarity index 96% rename from ship-simu/inc/database.php rename to inc/database.php index b429a39bf..a8a9fcf41 100644 --- a/ship-simu/inc/database.php +++ b/inc/database.php @@ -2,10 +2,11 @@ /** * Initializes the database layer * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -21,7 +22,7 @@ * along with this program. If not, see . */ -// Initialize the layer +// Initialize layer $layer = null; // Is the type defined? diff --git a/ship-simu/inc/language/.htaccess b/inc/database/.htaccess similarity index 100% rename from ship-simu/inc/language/.htaccess rename to inc/database/.htaccess diff --git a/ship-simu/inc/database/lib-local.php b/inc/database/lib-local.php similarity index 90% rename from ship-simu/inc/database/lib-local.php rename to inc/database/lib-local.php index 18d59108e..90b1c0733 100644 --- a/ship-simu/inc/database/lib-local.php +++ b/inc/database/lib-local.php @@ -1,11 +1,12 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -20,6 +21,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +// Zum Testen speichern wir in lokale Dateien (LocalFileDatabase) try { $layer = LocalFileDatabase::createLocalFileDatabase(PATH . "db/", FileIOHandler::getInstance()); } catch (SavePathIsEmptyException $e) { diff --git a/ship-simu/inc/file_io.php b/inc/file_io.php similarity index 89% rename from ship-simu/inc/file_io.php rename to inc/file_io.php index d63a9a35f..92c96b6c4 100644 --- a/ship-simu/inc/file_io.php +++ b/inc/file_io.php @@ -4,10 +4,11 @@ * the initialization was successfull or not because only some class * instances will we generated. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -22,6 +23,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +// Get the instance $io = FileIOHandler::createFileIOHandler(); // [EOF] diff --git a/ship-simu/inc/includes.php b/inc/includes.php similarity index 82% rename from ship-simu/inc/includes.php rename to inc/includes.php index 28a56100f..b2533f852 100644 --- a/ship-simu/inc/includes.php +++ b/inc/includes.php @@ -1,11 +1,12 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -21,11 +22,8 @@ * along with this program. If not, see . */ -// Load the class loader first -require(sprintf("%sinc/loader/class_ClassLoader%s", - PATH, - FrameworkConfiguration::getInstance()->readConfig("php_extension")) -); +// Include the class loader function +require(sprintf("%sinc/loader/class_ClassLoader%s", PATH, FrameworkConfiguration::getInstance()->readConfig("php_extension"))); /** * Is the devel package included? diff --git a/ship-simu/inc/language.php b/inc/language.php similarity index 93% rename from ship-simu/inc/language.php rename to inc/language.php index e9132cfbd..c80654539 100644 --- a/ship-simu/inc/language.php +++ b/inc/language.php @@ -1,9 +1,9 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version * @@ -20,8 +20,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - -// Try it here... try { $lang = LanguageSystem::createLanguageSystem(sprintf("%s%s", PATH, diff --git a/ship-simu/inc/loader/.htaccess b/inc/language/.htaccess similarity index 100% rename from ship-simu/inc/loader/.htaccess rename to inc/language/.htaccess diff --git a/ship-simu/templates/.htaccess b/inc/loader/.htaccess similarity index 100% rename from ship-simu/templates/.htaccess rename to inc/loader/.htaccess diff --git a/ship-simu/inc/loader/class_ClassLoader.php b/inc/loader/class_ClassLoader.php similarity index 98% rename from ship-simu/inc/loader/class_ClassLoader.php rename to inc/loader/class_ClassLoader.php index 38bfcd48c..cd065629b 100644 --- a/ship-simu/inc/loader/class_ClassLoader.php +++ b/inc/loader/class_ClassLoader.php @@ -2,17 +2,11 @@ /** * This class loads class include files with a specific prefix and suffix * - * ---------------------------------- - * 1.1 - * - loadClasses rewritten to fix some notices - * 1.0 - * - Initial release - * ---------------------------------- - * - * @author Roland Haeder - * @version 1.1 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -26,6 +20,13 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . + * + * ---------------------------------- + * 1.1 + * - loadClasses rewritten to fix some notices + * 1.0 + * - Initial release + * ---------------------------------- */ class ClassLoader { /** diff --git a/ship-simu/inc/output.php b/inc/output.php similarity index 85% rename from ship-simu/inc/output.php rename to inc/output.php index f2dfcbe00..275f13927 100644 --- a/ship-simu/inc/output.php +++ b/inc/output.php @@ -1,11 +1,12 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -21,7 +22,7 @@ * along with this program. If not, see . */ -// Prepare debug outout middleware +// Debug-Ausgabe vorbereiten $debug = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getInstance()->readConfig("debug_engine")); // Leere Strings werden ignoriert und sollten zum Testen der Middleware genommen werden diff --git a/ship-simu/inc/selector.php b/inc/selector.php similarity index 96% rename from ship-simu/inc/selector.php rename to inc/selector.php index 62f0e68b4..23acabec7 100644 --- a/ship-simu/inc/selector.php +++ b/inc/selector.php @@ -2,10 +2,11 @@ /** * The application selector main include file * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 diff --git a/ship-simu/index.php b/index.php similarity index 95% rename from ship-simu/index.php rename to index.php index 2671e2ae5..86b8c446e 100644 --- a/ship-simu/index.php +++ b/index.php @@ -7,10 +7,11 @@ * * But good little boys and girls would always initialize their variables... ;-) * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.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 @@ -64,7 +65,7 @@ class ApplicationEntryPoint { if ((class_exists($tpl)) && (is_object($lang)) && (is_object($io))) { // Use the template engine for putting out (nicer look) the message try { - $eval = sprintf("$tplEngine = %s::create%s(\"%s%s\", LanguageSystem::getInstance(), FileIOHandler::getInstance());", + $eval = sprintf("\$tplEngine = %s::create%s(\"%s%s\", LanguageSystem::getInstance(), FileIOHandler::getInstance());", FrameworkConfiguration::getInstance()->readConfig("tpl_engine"), FrameworkConfiguration::getInstance()->readConfig("tpl_engine"), PATH, diff --git a/ship-simu/rebuild_doc.sh b/rebuild_doc.sh similarity index 100% rename from ship-simu/rebuild_doc.sh rename to rebuild_doc.sh diff --git a/ship-simu/tests/contract-test.php b/ship-simu/tests/contract-test.php deleted file mode 100644 index 326d10427..000000000 --- a/ship-simu/tests/contract-test.php +++ /dev/null @@ -1,601 +0,0 @@ -%s
\n", - $e->getMessage() - )); -} catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (FileIsEmptyException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (FilePointerNotOpenedException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidMD5ChecksumException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidDataLengthException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidSimulatorIDException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (MismatchingCompressorsException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerItemIsNullException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerItemIsNoArrayException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerMaybeDamagedException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} - -// Personal-Objekt debuggen -if (defined('DEBUG_PERSONELL_OBJ')) { - DebugMiddleware::getInstance()->output(sprintf("Das Personal-Objekt sieht wie folgt aus:
-
%s
\n", - print_r($personell, true) - )); -} - -// Hafen bauen -$harbor = Harbor::createHarbor("Hamburger Hafen"); - -// Name ausgeben -DebugMiddleware::getInstance()->output(sprintf("Der %s ist gegründet worden.
\n", - $harbor->getHarborName() -)); - -// Hafen-Objekt debuggen -if (defined('DEBUG_HARBOR_OBJ')) { - DebugMiddleware::getInstance()->output(sprintf("Der %s sieht wie folgt aus:
-
%s
\n", - $harbor->getHarborName(), - print_r($harbor, true) - )); -} - -// Haendler gruenden -$merchant = Merchant::createMerchant("Namenlos", $harbor); - -// Array mit Einbauten erstellen -$einbauten = array( - 'parts' => array( // *** Die zu einbauenden Schiffsteile *** - 'Motor' => array( // --- Maschinenraum mit Motor --- - "Ocean-Power 2000", // Bezeichnung - 20000, // Pferdestaerken - 6, // Anzahl Nocken - 2.5, 2, 3.5 // Abmasse (Breite/Hoehe/Laenge) - ), - 'Bridge' => array( // --- Kommandobruecke --- - 26, 2.5, 15 // Abmasse (Breite/Hoehe/Laenge) - ), - 'CarDeck' => array( // --- Autodecks --- - 'amount' => 8, // Anzahl Autodecks (einige liegen hintereinander im selben Deck!) - 'dim' => array( // Abmessung (Breite/Hoehe/Laenge) - 6, 3, 16 - ) - ), - 'TruckDeck' => array( // --- Decks fuer LKW/Busse haben vielleicht ein anderes Belueftgungssystem, etc. --- - 'amount' => 1, // Anzahl der Decks - 'dim' => array( // Abmessung (Breite/Hoehe/Laenge) - 8, 5, 195 // Geht durchs gesamte Schiff! - ) - ), - 'TrainDeck' => array( // --- Decks fuer Zuege haben Schienen... --- - 'amount' => 1, // Anzahl der Decks - 'dim' => array( // Abmessung (Breite/Hoehe/Laenge) - 8, 4, 195 // Geht durchs gesamte Schiff! - ) - ), - 'LuxuryCabin' => array( // --- Luxuskabinen --- - 'amount' => 20, // Anzahl Luxuskabinen im Schiff - 'rooms' => 4, // Raeume: 2 Schlafzimmer, 1 Auffenthaltszimmer, 1 Bad mit Dusche/Toilette/Waschbecken - 'bed' => 3, // Anzahl Betten (1 Doppelbett 2 Einzelbetten, Doppel-/Einzelbetten in getrennte Raeume) - 'dim' => array( // Abmessung der Luxuskabine (Breite/Hoehe/Laenge) - 4, 3, 5 - ), - ), - 'PremierCabin' => array( // --- Mittlere Kabinen --- - 'amount' => 40, // Anzahl - 'rooms' => 2, // Raeume: Schlafzimmer, Bad mit Toilette/Waschbecken - 'bed' => 2, // Anzahl Betten (1 Doppelbett, 1 Einzelbett; gemeinsamer Raum) - 'dim' => array( // Abmessungen der Kabine (Breite/Hoehe/Laenge) - 4, 2.5, 4 - ) - ), - 'LowCabin' => array( // --- Untere Kabinen (befinden sich in den Unterbauten) --- - 'amount' => 90, // Anzahl - 'rooms' => 1, // Raeume: Schlafzimmer, Waschbecken - 'bed' => 2, // Anzahl Betten (2 Etagenbetten) - 'dim' => array( // Abmessungen der Kabine (Breite/Hoehe/Laenge) - 3, 2.5, 4 - ) - ), - 'EconomyCabin' => array( // --- Unterste Kabinen (befinden sich tief unten im Schiffsbauch) --- - 'amount' => 140, // Anzahl - 'rooms' => 1, // Raeume: Schlafzimmer, Waschbecken - 'bed' => 1, // Anzahl Betten (1 Etagenbett) - 'dim' => array( // Abmessungen der Kabine (Breite/Hoehe/Laenge) - 2, 2.5, 2 - ) - ) - ), - 'builds' => array( // *** Welche Oberklasse verwendet werden sollen *** - 'Motor' => "MaschineRoom", - 'Bridge' => "BaseUpperStructure", - 'LuxuryCabin' => "BaseCabin", - 'PremierCabin' => "BaseCabin", - 'LowCabin' => "BaseCabin", - 'EconomyCabin' => "BaseCabin", - 'CarDeck' => "BaseDeck", - 'TrainDeck' => "BaseDeck", - 'TruckDeck' => "BaseDeck" - ) -); - -// Preisliste auffuellen -foreach ($einbauten['parts'] as $key=>$part) { - // Create item array string - $item = ""; - foreach ($part as $idx=>$itemPart) { - if (is_string($itemPart)) { - // String found - $item .= sprintf("\"%s\", ", $itemPart); - } elseif (is_int($itemPart)) { - // Integer found - $item .= sprintf("%d, ", $itemPart); - } elseif (is_float($itemPart)) { - // Float found - $item .= sprintf("%f, ", $itemPart); - } elseif (is_array($itemPart)) { - // Sub-array found - $item .= "array("; - - // Go all items through - foreach ($itemPart as $idx2=>$subPart) { - if (is_int($subPart)) { - // Integer again found - $item .= sprintf("%d, ", $subPart); - } elseif (is_float($subPart)) { - // Float found - $item .= sprintf("%f, ", $subPart); - } else { - // Unsupport part found - die(sprintf("[Main:] Unsupported sub-array element on pos %d in array %s found: %s", $idx2, $idx, $subPart)); - } - } - - // Remove trailing comma - $item = substr($item, 0, -2); - - // Add closing bracket - $item .= "), "; - } else { - // Unsupport part found - die(sprintf("[Main:] Unsupported array element on pos %d: %s", $idx, $itemPart)); - } - } - - // Remove trailing comma - $item = substr($item, 0, -2); - - // Random price - $price = mt_rand(5, 12) * 10000; - - // Give it a try... - try { - // Generate command for adding objects to a price list - $eval = sprintf("\$merchant->addItemToPriceList(%s::create%s(%s), %d);", - $key, - $key, - $item, - $price - ); - - // Debug message - if ((defined('DEBUG_EVAL')) || (defined('DEBUG_ALL'))) DebugMiddleware::getInstance()->output(sprintf("[Main:] Konstruierte PHP-Anweisung:
%s

\n", - htmlentities($eval) - )); - - // Run the constructed command - eval($eval); - } catch (ItemNotTradeableException $e) { - die(sprintf("[Main:] Die Preisliste des Händlers %s kann nicht befüllt werden. Grund: %s
\n", - $merchant->getMerchantName(), - $e->getMessage() - )); - } -} - -// Haendler-Objekt debuggen -if (defined('DEBUG_MERCHANT_OBJ')) { - DebugMiddleware::getInstance()->output(sprintf("Der Händler %s sieht wie folgt aus:
-
%s
\n", - $merchant->getMerchantName(), - print_r($merchant, true) - )); -} - -// Reederei gruenden -$shipping = ShippingCompany::createShippingCompany("Hanseatic Travel Company", $harbor); - -// Firmenschef setzen -try { - $shipping->setCompanyFounder(CompanyEmployee::createCompanyEmployee("Roland", "Häder", "M", 1977, 9, 26, true, 2000)); -} catch (BirthdayInvalidException $e) { - die(sprintf("[Main:] Reederei-Gründer konnte nicht gesetzt werden. Grund: %s
\n", - $e->getMessage() - )); -} - -// Dann mal ausgeben... -DebugMiddleware::getInstance()->output(sprintf("Die Reederei %s ist von %s %s gegründet worden.
\n", - $shipping->getCompanyName(), - $shipping->getFounderInstance()->getSurname(), - $shipping->getFounderInstance()->getFamily() -)); - -// Die Reederei stellt Personal ein und bedient sich an der $personell-Instanz -try { - $shipping->recruitRandomEmployees(10, $personell); -} catch (ToMuchEmployeesException $e) { - die(sprintf("[Main:] Die Reederei %s konnte kein Personal einstellen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (OutOfBoundsException $e) { - die(sprintf("[Main:] Die Reederei %s konnte kein Personal einstellen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} - -// Anzahl Personal ausgeben -DebugMiddleware::getInstance()->output(sprintf("Die Reederei %s hat nun %d weitere Mitarbeiter.
\n", - $shipping->getCompanyName(), - $shipping->getTotalEmployee() -)); - -// Dann die ersten 3 Werften in den Hafen einbauen und Personal zuweisen -$shipping->createShipyardInHarbor("Werft 1", $harbor); -$shipping->createShipyardInHarbor("Werft 2", $harbor); -$shipping->createShipyardInHarbor("Werft 3", $harbor); - -// In alle Werften sollen Passagierschiffe gebaut werden koennen -try { - $shipping->addShipTypeToAllShipyards("PassengerShip"); -} catch (ClassNotFoundException $e) { - die(sprintf("[Main:] Die Reederei %s kann ihre Werften nicht beschäftigen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (ClassMismatchException $e) { - die(sprintf("[Main:] Die Reederei %s kann ihre Werften nicht beschäftigen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Die Reederei %s kann ihre Werften nicht beschäftigen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} - -// Personal auf die Werften verteilen -try { - $shipping->distributeAllPersonellOnShipyards(); -} catch (NoShipyardsConstructedException $e) { - die(sprintf("[Main:] Die Reederei %s konnte kein Personal den Werften zuteilen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (ClassMismatchException $e) { - die(sprintf("[Main:] Die Reederei %s konnte kein Personal den Werften zuteilen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Die Reederei %s konnte kein Personal den Werften zuteilen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Die Reederei %s konnte kein Personal den Werften zuteilen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} - -// Normale Meldung ausgeben -DebugMiddleware::getInstance()->output(sprintf("Die Reederei %s beschäftigt nun ihre %d Mitarbeiter in %d Werft(en):
\n", - $shipping->getCompanyName(), - $shipping->getTotalEmployee(), - $shipping->getTotalShipyards() -)); - -// Dann nimmt die Reederei ihren ersten Bauauftrag entgegen. -// Sie muss auch sich selber Bauauftraege erteilen! -try { - $shipping->addNewWorksContract(WorksContract::createWorksContract("PassengerShip", "M/S Poseidon", $shipping)); -} catch (ClassNotFoundException $e) { - die(sprintf("[Main:] Der Bauauftrag konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Der Bauauftrag konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Der Bauauftrag konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Der Bauauftrag konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (EmptyStructuresListException $e) { - die(sprintf("[Main:] Der Bauauftrag konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} - -// Auftrag-Instanz holen -$contract = $shipping->getLastContractInstance(); - -// Die Reederei hat einen Haendler gewaehlt -try { - $shipping->setMerchantInstance($merchant); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Der Händler %s konnte nicht ausgewählt werden. Grund: %s
\n", - $merchant->getMerchantName(), - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Der Händler %s konnte nicht ausgewählt werden. Grund: %s
\n", - $merchant->getMerchantName(), - $e->getMessage() - )); -} catch (ClassMismatchException $e) { - die(sprintf("[Main:] Der Händler %s konnte nicht ausgewählt werden. Grund: %s
\n", - $merchant->getMerchantName(), - $e->getMessage() - )); -} - -// Den Bauauftrag mit der Reederei abgleichen, ob sie den Schiffstyp bauen koennen -try { - $typeValid = $shipping->validateWorksContractShipType($contract); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Die Reederei %s konnte den Bauauftrag nicht validieren. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Die Reederei %s konnte den Bauauftrag nicht validieren. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} - -// Kann gebaut werden? -if ($typeValid) { - DebugMiddleware::getInstance()->output(sprintf("Die Reederei %s kann Schiffe vom Typ %s bauen.
\n", - $shipping->getCompanyName(), - $contract->getShipInstance()->getPartDescr() - )); -} else { - DebugMiddleware::getInstance()->output(sprintf("Die Reederei %s kann keine Schiffe vom Typ %s bauen!
\n", - $shipping->getCompanyName(), - $contract->getShipInstance()->getPartDescr() - )); - exit; -} - -// Dann den Bauauftrag verfeinern -foreach ($einbauten['parts'] as $key=>$part) { - try { - $contract->addContractDetails($key, $einbauten['builds'][$key], $part); - } catch (ShipPartNotConstructableException $e) { - // Output message - die($e->getMessage()); - } catch (ShipNotConstructedException $e) { - // Output message - die($e->getMessage()); - } catch (ItemNotInPriceListException $e) { - die(sprintf("[Main:] Der Artikel %s konnte nicht in der Preisliste gefunden werden. Grund: %s
\n", - $key, - $e->getMessage() - )); - } catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Der Artikel %s konnte nicht in der Preisliste gefunden werden. Grund: %s
\n", - $key, - $e->getMessage() - )); - } -} - -// Reederei-Objekt ausgeben -if (defined('DEBUG_COMPANY_OBJ')) { - DebugMiddleware::getInstance()->output(sprintf("Die Reederei %s sieht wie folgt aus:
-
%s
\n", - $shipping->getCompanyName(), - print_r($shipping, true) - )); -} - -// Etwas aufraeumen -unset($einbauten); -unset($part); -unset($eval); -unset($item); -unset($key); -unset($typeValid); - -// Gesamtwert ausgeben -try { - $totalValue = $contract->getTotalPrice(); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Gesamtbestellwert nicht ermittelbar. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Gesamtbestellwert nicht ermittelbar. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Gesamtbestellwert nicht ermittelbar. Grund: %s
\n", - $e->getMessage() - )); -} catch (EmptyStructuresListException $e) { - die(sprintf("[Main:] Gesamtbestellwert nicht ermittelbar. Grund: %s
\n", - $e->getMessage() - )); -} catch (TotalPriceNotCalculatedException $e) { - die(sprintf("[Main:] Gesamtbestellwert nicht ermittelbar. Grund: %s
\n", - $e->getMessage() - )); -} - -// Wert ausgeben -DebugMiddleware::getInstance()->output(sprintf("Der Bau der %s wird der Reederei %s voraussichtlich %s kosten.
\n", - $contract->getShipInstance()->getShipName(), - $shipping->getCompanyName(), - $contract->formatCurrency($totalValue) -)); - -// Etwas aufraeumen -unset($totalValue); - -// Den Bauvertrag unterschreiben (damit wird er in den Bau-Queue aufgenommen) -try { - $shipping->signContract($contract, $shipping); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Die Reederei %s konnte den Bauauftrag nicht unterzeichnen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Die Reederei %s konnte den Bauauftrag nicht unterzeichnen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Die Reederei %s konnte den Bauauftrag nicht unterzeichnen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (InvalidContractPartnerException $e) { - die(sprintf("[Main:] Die Reederei %s konnte den Bauauftrag nicht unterzeichnen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (ContractAllreadySignedException $e) { - die(sprintf("[Main:] Die Reederei %s konnte den Bauauftrag nicht unterzeichnen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} catch (WrongContractPartnerException $e) { - die(sprintf("[Main:] Die Reederei %s konnte den Bauauftrag nicht unterzeichnen. Grund: %s
\n", - $shipping->getCompanyName(), - $e->getMessage() - )); -} - -// Meldung ausgeben -if ($contract->isSigned()) { - DebugMiddleware::getInstance()->output(sprintf("Die Reederei %s hat den Bau der %s zugestimmt.
\n", - $shipping->getCompanyName(), - $contract->getShipInstance()->getShipName() - )); -} else { - DebugMiddleware::getInstance()->output(sprintf("Die Reederei %s hat den Bau der %s abgelehnt.
\n", - $shipping->getCompanyName(), - $contract->getShipInstance()->getShipName() - )); - exit; -} - -// Auftrag-Objekt ausgeben -if (defined('DEBUG_CONTRACT_OBJ')) { - DebugMiddleware::getInstance()->output(sprintf("Der Bauauftrag sieht wie folgt aus:
-
%s
\n", - print_r($contract, true) - )); -} - -// Erstmal bis hier hin... -//exit(); - -// Anzahl Betten ermitteln -try { - $totalBeds = $contract->getShipInstance()->calcTotalBeds(); -} catch (StructuresOutOfBoundsException $e) { - die(sprintf("[Main:] Anzahl Betten konnten nicht ermittelt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (EmptyStructuresListException $e) { - die(sprintf("[Main:] Anzahl Betten konnten nicht ermittelt werden. Grund: %s
\n", - $e->getMessage() - )); -} - -// Bettenanzahl ausgeben -DebugMiddleware::getInstance()->output(sprintf("Es stehen %d Betten zur Verfügung.", - $totalBeds -)); - -// -?> diff --git a/ship-simu/tests/loader-test.php b/ship-simu/tests/loader-test.php deleted file mode 100644 index 668e61225..000000000 --- a/ship-simu/tests/loader-test.php +++ /dev/null @@ -1,158 +0,0 @@ -%s
\n", - $e->getMessage() - )); -} catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (FileIsEmptyException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (FilePointerNotOpenedException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidMD5ChecksumException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidDataLengthException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidSimulatorIDException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (MismatchingCompressorsException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerItemIsNullException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerItemIsNoArrayException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerMaybeDamagedException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} - -// Personal-Objekt debuggen -if (defined('DEBUG_PERSONELL_OBJ')) { - DebugMiddleware::getInstance()->output(sprintf("Das Personal-Objekt sieht wie folgt aus:
-
%s
\n", - print_r($test, true) - )); -} - -// Erstmal bis hier hin -exit(); - -// Etwas zum Testen... -try { - $test = SimulatorPersonell::createSimulatorPersonell(20); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Personenliste nicht angelegt. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Personenliste nicht angelegt. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Personenliste nicht angelegt. Grund: %s
\n", - $e->getMessage() - )); -} - -// Personal-Objekt debuggen -if (defined('DEBUG_PERSONELL_OBJ')) { - DebugMiddleware::getInstance()->output(sprintf("Das Personal-Objekt sieht wie folgt aus:
-
%s
\n", - print_r($test, true) - )); -} - -// Try to save the object (for testing purposes) -try { - $test->saveObjectToDatabase(); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidObjectException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (UnsupportedLimitationPartException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (GetterNotFoundException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoArrayCreatedException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} - -// -?> diff --git a/ship-simu/tests/personell-test.php b/ship-simu/tests/personell-test.php deleted file mode 100644 index e6acd10a4..000000000 --- a/ship-simu/tests/personell-test.php +++ /dev/null @@ -1,159 +0,0 @@ -%s
\n", - $e->getMessage() - )); -} catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (FileIsEmptyException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (FilePointerNotOpenedException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidMD5ChecksumException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidDataLengthException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidSimulatorIDException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (MismatchingCompressorsException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerItemIsNullException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerItemIsNoArrayException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} catch (ContainerMaybeDamagedException $e) { - die(sprintf("[Main:] Die Personenliste konnte nicht erstellt werden. Grund: %s
\n", - $e->getMessage() - )); -} - -// Personal-Objekt debuggen -if (defined('DEBUG_PERSONELL_OBJ')) { - echo sprintf("Das Personal-Objekt sieht wie folgt aus:
-
%s
\n", - print_r($test, true) - ); -} - -// Erstmal bis hier hin -exit(); - -// Etwas zum Testen... -try { - $test = SimulatorPersonell::createSimulatorPersonell(20); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Personenliste nicht angelegt. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Personenliste nicht angelegt. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Personenliste nicht angelegt. Grund: %s
\n", - $e->getMessage() - )); -} - -// Personal-Objekt debuggen -if (defined('DEBUG_PERSONELL_OBJ')) { - echo sprintf("Das Personal-Objekt sieht wie folgt aus:
-
%s
\n", - print_r($test, true) - ); -} - -// Try to save the object (for testing purposes) -try { - $test->saveObjectToDatabase(); -} catch (NullPointerException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoObjectException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidObjectException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (MissingMethodException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (UnsupportedLimitationPartException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (GetterNotFoundException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (NoArrayCreatedException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} catch (InvalidArrayCountException $e) { - die(sprintf("[Main:] Objekt nicht gespeichert. Grund: %s
\n", - $e->getMessage() - )); -} - -// -?> diff --git a/ship-simu/templates/_compiled/.htaccess b/templates/.htaccess similarity index 100% rename from ship-simu/templates/_compiled/.htaccess rename to templates/.htaccess diff --git a/ship-simu/templates/de/.htaccess b/templates/_compiled/.htaccess similarity index 100% rename from ship-simu/templates/de/.htaccess rename to templates/_compiled/.htaccess diff --git a/ship-simu/templates/de/code/.htaccess b/templates/de/.htaccess similarity index 100% rename from ship-simu/templates/de/code/.htaccess rename to templates/de/.htaccess diff --git a/ship-simu/templates/de/html/.htaccess b/templates/de/code/.htaccess similarity index 100% rename from ship-simu/templates/de/html/.htaccess rename to templates/de/code/.htaccess diff --git a/ship-simu/templates/de/code/emergency_exit.ctp b/templates/de/code/emergency_exit.ctp similarity index 100% rename from ship-simu/templates/de/code/emergency_exit.ctp rename to templates/de/code/emergency_exit.ctp diff --git a/ship-simu/templates/de/code/footer_msg.ctp b/templates/de/code/footer_msg.ctp similarity index 100% rename from ship-simu/templates/de/code/footer_msg.ctp rename to templates/de/code/footer_msg.ctp diff --git a/ship-simu/templates/de/code/header.ctp b/templates/de/code/header.ctp similarity index 100% rename from ship-simu/templates/de/code/header.ctp rename to templates/de/code/header.ctp diff --git a/templates/de/html/.htaccess b/templates/de/html/.htaccess new file mode 100644 index 000000000..3a4288278 --- /dev/null +++ b/templates/de/html/.htaccess @@ -0,0 +1 @@ +Deny from all -- 2.39.2