From: Roland Häder Date: Sat, 26 Jan 2008 16:46:44 +0000 (+0000) Subject: Class headers added with copyright X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3312f6e46b26477cd96d4f7a0f05775de95655ae;p=hub.git Class headers added with copyright --- diff --git a/.gitattributes b/.gitattributes index e8416f3ac..055889d9d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -106,6 +106,7 @@ 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 @@ -180,6 +181,7 @@ 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 diff --git a/ship-simu/application/hub/class_ApplicationHelper.php b/ship-simu/application/hub/class_ApplicationHelper.php index a626a0b21..60409b70c 100644 --- a/ship-simu/application/hub/class_ApplicationHelper.php +++ b/ship-simu/application/hub/class_ApplicationHelper.php @@ -20,8 +20,23 @@ * Please remember that this include file is being loaded *before* the class * loader is loading classes from "exceptions", "interfaces" and "main"! * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplication { /** diff --git a/ship-simu/application/hub/config.php b/ship-simu/application/hub/config.php index 87d3f4e0f..926ab2e18 100644 --- a/ship-simu/application/hub/config.php +++ b/ship-simu/application/hub/config.php @@ -1,4 +1,26 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Some hub-specific configuration like port hostname where we will listen, etc. $cfg = FrameworkConfiguration::getInstance(); diff --git a/ship-simu/application/hub/debug.php b/ship-simu/application/hub/debug.php index 081aa2185..393601cdb 100644 --- a/ship-simu/application/hub/debug.php +++ b/ship-simu/application/hub/debug.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ // Hub main loop debugging define('HUB_DEBUG_MAIN', true); diff --git a/ship-simu/application/hub/exceptions.php b/ship-simu/application/hub/exceptions.php index 3da7b0499..7b569dc18 100644 --- a/ship-simu/application/hub/exceptions.php +++ b/ship-simu/application/hub/exceptions.php @@ -1,4 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // The hub's own exception handler function hub_exception_handler ($exceptionInstance) { // Is it an object and a valid instance? diff --git a/ship-simu/application/hub/exceptions/class_HubException.php b/ship-simu/application/hub/exceptions/class_HubException.php index 8c15c18b5..b665355bb 100644 --- a/ship-simu/application/hub/exceptions/class_HubException.php +++ b/ship-simu/application/hub/exceptions/class_HubException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ abstract class HubException extends FrameworkException { /** * The constructor diff --git a/ship-simu/application/hub/exceptions/client/class_HubHelloException.php b/ship-simu/application/hub/exceptions/client/class_HubHelloException.php index 500652c75..597af222a 100644 --- a/ship-simu/application/hub/exceptions/client/class_HubHelloException.php +++ b/ship-simu/application/hub/exceptions/client/class_HubHelloException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class HubHelloException extends HubException { /** * The constructor @@ -10,7 +30,7 @@ class HubHelloException extends HubException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] Peer %s has not replyed our %s request within %d retries.
\n", + $message = sprintf("[%s:%d] Peer %s has not replyed our %s request within %d retries.
\n", $msgArray['this']->__toString(), $this->getLine(), $msgArray['peer']->getValidatedIP(), diff --git a/ship-simu/application/hub/exceptions/client/class_HubPeerAuthorizationException.php b/ship-simu/application/hub/exceptions/client/class_HubPeerAuthorizationException.php index a3fd005da..9018eb290 100644 --- a/ship-simu/application/hub/exceptions/client/class_HubPeerAuthorizationException.php +++ b/ship-simu/application/hub/exceptions/client/class_HubPeerAuthorizationException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class HubPeerAuthorizationException extends HubException { /** * The constructor @@ -10,7 +30,7 @@ class HubPeerAuthorizationException extends HubException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] Peer %s has reached the maximum of %d authorization tries. Disconnecting peer....
\n", + $message = sprintf("[%s:%d] Peer %s has reached the maximum of %d authorization tries. Disconnecting peer....
\n", $msgArray['this']->__toString(), $this->getLine(), $msgArray['peer']->getValidatedIP(), diff --git a/ship-simu/application/hub/exceptions/client/class_HubPeerTimeoutException.php b/ship-simu/application/hub/exceptions/client/class_HubPeerTimeoutException.php index 439758bc4..ead9caa6f 100644 --- a/ship-simu/application/hub/exceptions/client/class_HubPeerTimeoutException.php +++ b/ship-simu/application/hub/exceptions/client/class_HubPeerTimeoutException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class HubPeerTimeoutException extends HubException { /** * The constructor @@ -10,7 +30,7 @@ class HubPeerTimeoutException extends HubException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] Peer %s is no longer responding. Trying to disconnect the peer...
\n", + $message = sprintf("[%s:%d] Peer %s is no longer responding. Trying to disconnect the peer...
\n", $msgArray['this']->__toString(), $this->getLine(), $msgArray['peer']->getValidatedIP() diff --git a/ship-simu/application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php b/ship-simu/application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php index c3d369ce6..df47f36ed 100644 --- a/ship-simu/application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php +++ b/ship-simu/application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class UnexpectedAwaitCommandException extends HubException { /** * The constructor @@ -10,7 +30,7 @@ class UnexpectedAwaitCommandException extends HubException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] Not awaiting command %s from peer %s
\n", + $message = sprintf("[%s:%d] Not awaiting command %s from peer %s
\n", $msgArray['this']->__toString(), $this->getLine(), $msgArray['msg'], diff --git a/ship-simu/application/hub/exceptions/master/class_HubMasterDisconnectedException.php b/ship-simu/application/hub/exceptions/master/class_HubMasterDisconnectedException.php index 28b40e739..9164b5651 100644 --- a/ship-simu/application/hub/exceptions/master/class_HubMasterDisconnectedException.php +++ b/ship-simu/application/hub/exceptions/master/class_HubMasterDisconnectedException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class HubMasterDisconnectedException extends HubException { /** * The constructor @@ -10,7 +30,7 @@ class HubMasterDisconnectedException extends HubException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] Raw message received: %s
\n", + $message = sprintf("[%s:%d] Raw message received: %s
\n", $msgArray['this']->__toString(), $this->getLine(), $msgArray['msg'] diff --git a/ship-simu/application/hub/exceptions/socket/class_SocketException.php b/ship-simu/application/hub/exceptions/socket/class_SocketException.php index 547d12e16..867c84ca3 100644 --- a/ship-simu/application/hub/exceptions/socket/class_SocketException.php +++ b/ship-simu/application/hub/exceptions/socket/class_SocketException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ abstract class SocketException extends HubException { /** * The constructor diff --git a/ship-simu/application/hub/exceptions/socket/connector/class_SocketAcceptException.php b/ship-simu/application/hub/exceptions/socket/connector/class_SocketAcceptException.php index 79aff75d0..70b1b7ebc 100644 --- a/ship-simu/application/hub/exceptions/socket/connector/class_SocketAcceptException.php +++ b/ship-simu/application/hub/exceptions/socket/connector/class_SocketAcceptException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SocketAcceptException extends SocketException { /** * The constructor @@ -10,7 +30,7 @@ class SocketAcceptException extends SocketException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] socket_accept() has failed. Reason: %s (Code: %d)", + $message = sprintf("[%s:%d] socket_accept() has failed. Reason: %s (Code: %d)", $msgArray['this']->__toString(), $this->getLine(), socket_strerror($msgArray['code']), diff --git a/ship-simu/application/hub/exceptions/socket/connector/class_SocketSelectorException.php b/ship-simu/application/hub/exceptions/socket/connector/class_SocketSelectorException.php index ef38e77a8..38234ae3a 100644 --- a/ship-simu/application/hub/exceptions/socket/connector/class_SocketSelectorException.php +++ b/ship-simu/application/hub/exceptions/socket/connector/class_SocketSelectorException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SocketSelectorException extends SocketException { /** * The constructor @@ -10,7 +30,7 @@ class SocketSelectorException extends SocketException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] socket_select() has failed. Reason: %s (Code: %d)", + $message = sprintf("[%s:%d] socket_select() has failed. Reason: %s (Code: %d)", $msgArray['this']->__toString(), $this->getLine(), socket_strerror($msgArray['code']), diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketBindException.php b/ship-simu/application/hub/exceptions/socket/init/class_SocketBindException.php index b9b1f14f4..caef6f3f9 100644 --- a/ship-simu/application/hub/exceptions/socket/init/class_SocketBindException.php +++ b/ship-simu/application/hub/exceptions/socket/init/class_SocketBindException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SocketBindException extends SocketException { /** * The constructor diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketConnectException.php b/ship-simu/application/hub/exceptions/socket/init/class_SocketConnectException.php index 91fd51a9d..3059677e5 100644 --- a/ship-simu/application/hub/exceptions/socket/init/class_SocketConnectException.php +++ b/ship-simu/application/hub/exceptions/socket/init/class_SocketConnectException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SocketConnectException extends SocketException { /** * The constructor @@ -10,7 +30,7 @@ class SocketConnectException extends SocketException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] socket_connect() has failed. Reason: %s (Code: %d)", + $message = sprintf("[%s:%d] socket_connect() has failed. Reason: %s (Code: %d)", $msgArray['this']->__toString(), $this->getLine(), socket_strerror($msgArray['code']), diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketCreationException.php b/ship-simu/application/hub/exceptions/socket/init/class_SocketCreationException.php index 64c8cc80a..2991fc06e 100644 --- a/ship-simu/application/hub/exceptions/socket/init/class_SocketCreationException.php +++ b/ship-simu/application/hub/exceptions/socket/init/class_SocketCreationException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SocketCreationException extends SocketException { /** * The constructor diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketListeningException.php b/ship-simu/application/hub/exceptions/socket/init/class_SocketListeningException.php index 22db5ef12..979b1b1dd 100644 --- a/ship-simu/application/hub/exceptions/socket/init/class_SocketListeningException.php +++ b/ship-simu/application/hub/exceptions/socket/init/class_SocketListeningException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SocketListeningException extends SocketException { /** * The constructor @@ -10,7 +30,7 @@ class SocketListeningException extends SocketException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] socket_listen() has failed. Reason: %s (Code: %d)", + $message = sprintf("[%s:%d] socket_listen() has failed. Reason: %s (Code: %d)", $msgArray['this']->__toString(), $this->getLine(), socket_strerror($msgArray['code']), diff --git a/ship-simu/application/hub/exceptions/socket/init/class_SocketSetupException.php b/ship-simu/application/hub/exceptions/socket/init/class_SocketSetupException.php index 3ce93fd79..3f3f9141c 100644 --- a/ship-simu/application/hub/exceptions/socket/init/class_SocketSetupException.php +++ b/ship-simu/application/hub/exceptions/socket/init/class_SocketSetupException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SocketSetupException extends SocketException { /** * The constructor @@ -10,7 +30,7 @@ class SocketSetupException extends SocketException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] Socket konnte nicht konfiguriert werden. Reason: %s (Code: %d)", + $message = sprintf("[%s:%d] Socket konnte nicht konfiguriert werden. Reason: %s (Code: %d)", $msgArray['this']->__toString(), $this->getLine(), socket_strerror($msgArray['code']), diff --git a/ship-simu/application/hub/exceptions/socket/peer/class_BrokenPipeException.php b/ship-simu/application/hub/exceptions/socket/peer/class_BrokenPipeException.php index bdcd96340..8f7d1a88f 100644 --- a/ship-simu/application/hub/exceptions/socket/peer/class_BrokenPipeException.php +++ b/ship-simu/application/hub/exceptions/socket/peer/class_BrokenPipeException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class BrokenPipeException extends SocketException { /** * The constructor @@ -10,7 +30,7 @@ class BrokenPipeException extends SocketException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] Connection lost to peer %s. Error message: %s (Code: %d)
\n", + $message = sprintf("[%s:%d] Connection lost to peer %s. Error message: %s (Code: %d)
\n", $msgArray['this']->__toString(), $this->getLine(), $msgArray['this']->getValidatedIP(), diff --git a/ship-simu/application/hub/exceptions/socket/peer/class_IPSpoofingException.php b/ship-simu/application/hub/exceptions/socket/peer/class_IPSpoofingException.php index ff340e38e..85516133f 100644 --- a/ship-simu/application/hub/exceptions/socket/peer/class_IPSpoofingException.php +++ b/ship-simu/application/hub/exceptions/socket/peer/class_IPSpoofingException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class IPSpoofingException extends SocketException { /** * The constructor diff --git a/ship-simu/application/hub/exceptions/socket/peer/class_PeerSocketException.php b/ship-simu/application/hub/exceptions/socket/peer/class_PeerSocketException.php index 43b37b6d0..9d1278d2f 100644 --- a/ship-simu/application/hub/exceptions/socket/peer/class_PeerSocketException.php +++ b/ship-simu/application/hub/exceptions/socket/peer/class_PeerSocketException.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class PeerSocketException extends SocketException { /** * The constructor @@ -10,7 +30,7 @@ class PeerSocketException extends SocketException { */ public final function __construct ($msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] Peer-Socket ist ungültig. Datentyp: %s
\n", + $message = sprintf("[%s:%d] Peer-Socket ist ungültig. Datentyp: %s
\n", $msgArray['this']->__toString(), $this->getLine(), $msgArray['type'] diff --git a/ship-simu/application/hub/init.php b/ship-simu/application/hub/init.php index 10cdf728c..4ac89d331 100644 --- a/ship-simu/application/hub/init.php +++ b/ship-simu/application/hub/init.php @@ -1,17 +1,37 @@ isClass("ApplicationSelector"))) { return; } -// -// isset() is required to prevent a warning and is_object() is highly required -// when the application itself is requested in URL (hint: index.php?app=your_app) -// +/** + * Application initializer + * + * Please remember that this include file is being loaded *before* the class + * loader is loading classes from "exceptions", "interfaces" and "main"! + * + * You can prevent adding this application to the selector by uncommenting the + * following line: + * + * if ((isset($this)) && (is_object($this)) && ($this->isClass("ApplicationSelector"))) { return; } + * + * isset() is required to prevent a warning and is_object() is highly required + * when the application itself is requested in URL (hint: index.php?app=your_app) + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Get an instance of the helper $eval = sprintf("\$app = %s::getInstance();", FrameworkConfiguration::getInstance()->readConfig("app_helper_class") diff --git a/ship-simu/application/hub/loader.php b/ship-simu/application/hub/loader.php index aed2d3995..8464a8a93 100644 --- a/ship-simu/application/hub/loader.php +++ b/ship-simu/application/hub/loader.php @@ -1,5 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +// Is the instance variable set? if (!isset($application)) { // We need this! ApplicationEntryPoint::app_die("[Main:] Interne Variable application nicht gefunden!"); diff --git a/ship-simu/application/hub/main/class_HubCommandProcessor.php b/ship-simu/application/hub/main/class_HubCommandProcessor.php index d7f064276..c325928eb 100644 --- a/ship-simu/application/hub/main/class_HubCommandProcessor.php +++ b/ship-simu/application/hub/main/class_HubCommandProcessor.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class HubCommandProcessor extends BaseFrameworkSystem { /** diff --git a/ship-simu/application/hub/main/class_HubConnector.php b/ship-simu/application/hub/main/class_HubConnector.php index ac9f2d8a3..2b775c031 100644 --- a/ship-simu/application/hub/main/class_HubConnector.php +++ b/ship-simu/application/hub/main/class_HubConnector.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class HubConnector extends BaseFrameworkSystem { /** diff --git a/ship-simu/application/hub/main/class_HubCoreLoop.php b/ship-simu/application/hub/main/class_HubCoreLoop.php index cb08e0c39..86f496f5d 100644 --- a/ship-simu/application/hub/main/class_HubCoreLoop.php +++ b/ship-simu/application/hub/main/class_HubCoreLoop.php @@ -3,8 +3,23 @@ * The hub's main loop. The hub will wait and listen for incoming requests in * this loop. * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class HubCoreLoop extends BaseFrameworkSystem { /** @@ -469,8 +484,8 @@ class HubCoreLoop extends BaseFrameworkSystem { ApplicationHelper::getInstance()->getAppVersion() )); $this->getOutputInstance()->output(""); - $this->getOutputInstance()->output("This software is free software licensed under the GNU LGPL. In telnet session enter "/license" to read the license."); - $this->getOutputInstance()->output("This software uses the MXChange Framework, Copyright (c) 2007, 2008 by Roland Häder which is licensed under the GNU LGPL."); + $this->getOutputInstance()->output("This software is free software licensed under the GNU GPL. In telnet session enter "/license" to read the license."); + $this->getOutputInstance()->output("This software uses the MXChange Framework, Copyright (c) 2007, 2008 by Roland Häder which is licensed under the GNU GPL."); $this->getOutputInstance()->output("Enter "/framework" in telnet session to read that license."); $this->getOutputInstance()->output(""); $this->getOutputInstance()->output("All core systems are initialized. Input on *this* console will currently be ignored!"); @@ -608,7 +623,7 @@ class HubCoreLoop extends BaseFrameworkSystem { * Tries to contact the master server or simply reports that we are the master server * * @return void - */ + */ public function contactMasterHub () { // Checks wether we are the master hub if ($_SERVER['SERVER_ADDR'] == $this->getConfigInstance()->readConfig("hub_master_ip")) { diff --git a/ship-simu/application/hub/main/class_HubPeer.php b/ship-simu/application/hub/main/class_HubPeer.php index 568bbdddd..a457b1e1a 100644 --- a/ship-simu/application/hub/main/class_HubPeer.php +++ b/ship-simu/application/hub/main/class_HubPeer.php @@ -1,9 +1,24 @@ - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class HubPeer extends BaseFrameworkSystem { /** diff --git a/ship-simu/application/hub/starter.php b/ship-simu/application/hub/starter.php index e10f33a97..286e2b881 100644 --- a/ship-simu/application/hub/starter.php +++ b/ship-simu/application/hub/starter.php @@ -1,4 +1,26 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Is there an application helper instance? We need the method main() for // maining the application $app = ApplicationHelper::getInstance(); diff --git a/ship-simu/devel/class_Debug.php b/ship-simu/devel/class_Debug.php index 30976614e..1adbe5a70 100644 --- a/ship-simu/devel/class_Debug.php +++ b/ship-simu/devel/class_Debug.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class Debug { // Constructor diff --git a/ship-simu/inc/classes.php b/ship-simu/inc/classes.php index 3830e40ef..fb00ebf2c 100644 --- a/ship-simu/inc/classes.php +++ b/ship-simu/inc/classes.php @@ -1,9 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ + +// Lower framework classes $lowerClasses = array( 0 => "exceptions", // Exceptions 1 => "interfaces", // Interfaces diff --git a/ship-simu/inc/classes/exceptions/class_FrameworkException.php b/ship-simu/inc/classes/exceptions/class_FrameworkException.php index 23e635373..46a034242 100644 --- a/ship-simu/inc/classes/exceptions/class_FrameworkException.php +++ b/ship-simu/inc/classes/exceptions/class_FrameworkException.php @@ -4,8 +4,23 @@ * remove the "abstract" key-word. Better you make your own exception and * attach a dedicated message to it. * - * @author Roland Haeder - * @version 1.0 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ abstract class FrameworkException extends ReflectionException { /** diff --git a/ship-simu/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php b/ship-simu/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php index 2eb0b1008..f6196019d 100644 --- a/ship-simu/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php +++ b/ship-simu/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class MismatchingCompressorsException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php b/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php index c983c1716..ae3dfad6d 100644 --- a/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php +++ b/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ContainerItemIsNoArrayException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNullException.php b/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNullException.php index d712ab9d9..3d7014477 100644 --- a/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNullException.php +++ b/ship-simu/inc/classes/exceptions/container/class_ContainerItemIsNullException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ContainerItemIsNullException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php b/ship-simu/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php index 793828cad..f5e77acf1 100644 --- a/ship-simu/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php +++ b/ship-simu/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ContainerMaybeDamagedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php b/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php index 6d9c9c29d..938edc54f 100644 --- a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php +++ b/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SavePathIsEmptyException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php b/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php index 575233137..fa59a43ee 100644 --- a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php +++ b/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SavePathIsNoDirectoryException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php b/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php index f39a2e1fc..8647da18c 100644 --- a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php +++ b/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SavePathReadProtectedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php b/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php index af9e11d53..7236f56bc 100644 --- a/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php +++ b/ship-simu/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SavePathWriteProtectedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php b/ship-simu/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php index 237ff9f23..a8a616f59 100644 --- a/ship-simu/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php +++ b/ship-simu/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class DirPointerNotOpenedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php b/ship-simu/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php index 422a22ff0..da5e8fe57 100644 --- a/ship-simu/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php +++ b/ship-simu/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class FilePointerNotOpenedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/io/class_InvalidDataLengthException.php b/ship-simu/inc/classes/exceptions/io/class_InvalidDataLengthException.php index 7ba98216d..7952be81b 100644 --- a/ship-simu/inc/classes/exceptions/io/class_InvalidDataLengthException.php +++ b/ship-simu/inc/classes/exceptions/io/class_InvalidDataLengthException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class InvalidDataLengthException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php b/ship-simu/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php index 673709b85..caabc3240 100644 --- a/ship-simu/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php +++ b/ship-simu/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class InvalidDirectoryResourceException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php b/ship-simu/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php index ede53b505..349e7132e 100644 --- a/ship-simu/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php +++ b/ship-simu/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class InvalidMD5ChecksumException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/io/class_PathIsEmptyException.php b/ship-simu/inc/classes/exceptions/io/class_PathIsEmptyException.php index 6088d31c5..cd6010c44 100644 --- a/ship-simu/inc/classes/exceptions/io/class_PathIsEmptyException.php +++ b/ship-simu/inc/classes/exceptions/io/class_PathIsEmptyException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class PathIsEmptyException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php b/ship-simu/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php index 0a797f97f..b458387ad 100644 --- a/ship-simu/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php +++ b/ship-simu/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class PathIsNoDirectoryException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/io/class_PathReadProtectedException.php b/ship-simu/inc/classes/exceptions/io/class_PathReadProtectedException.php index aa82807ad..d630daf15 100644 --- a/ship-simu/inc/classes/exceptions/io/class_PathReadProtectedException.php +++ b/ship-simu/inc/classes/exceptions/io/class_PathReadProtectedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class PathReadProtectedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php b/ship-simu/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php index a5922bdec..f9656d8b9 100644 --- a/ship-simu/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php +++ b/ship-simu/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class InvalidLanguagePathStringException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php b/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php index be3ded751..01068d82d 100644 --- a/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php +++ b/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class LanguagePathIsEmptyException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php b/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php index 3f1aeb7be..1761298b8 100644 --- a/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php +++ b/ship-simu/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class LanguagePathIsNoDirectoryException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php b/ship-simu/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php index 4ee1d3f0f..f803c4275 100644 --- a/ship-simu/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php +++ b/ship-simu/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class LanguagePathReadProtectedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_ClassMismatchException.php b/ship-simu/inc/classes/exceptions/main/class_ClassMismatchException.php index df39d4d0b..5f73e055a 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ClassMismatchException.php +++ b/ship-simu/inc/classes/exceptions/main/class_ClassMismatchException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ClassMismatchException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_ClassNotFoundException.php b/ship-simu/inc/classes/exceptions/main/class_ClassNotFoundException.php index 200f796ce..0d3918c0d 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ClassNotFoundException.php +++ b/ship-simu/inc/classes/exceptions/main/class_ClassNotFoundException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ClassNotFoundException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php b/ship-simu/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php index 7497b7dbe..497438e6e 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php +++ b/ship-simu/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ConfigEntryIsEmptyException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php b/ship-simu/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php index 7dcf00a75..14244c8bc 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php +++ b/ship-simu/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ConfigEntryNotFoundException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php b/ship-simu/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php index 46959d722..7407c507b 100644 --- a/ship-simu/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php +++ b/ship-simu/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class DimNotFoundInArrayException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_ExceptionNotChangedException.php b/ship-simu/inc/classes/exceptions/main/class_ExceptionNotChangedException.php index 49587a319..d6d0635b0 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ExceptionNotChangedException.php +++ b/ship-simu/inc/classes/exceptions/main/class_ExceptionNotChangedException.php @@ -1,6 +1,26 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * @deprecated + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ExceptionNotChangedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_ExceptionNotFoundException.php b/ship-simu/inc/classes/exceptions/main/class_ExceptionNotFoundException.php index e611f4a38..04b268506 100644 --- a/ship-simu/inc/classes/exceptions/main/class_ExceptionNotFoundException.php +++ b/ship-simu/inc/classes/exceptions/main/class_ExceptionNotFoundException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ExceptionNotFoundException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_GetterNotFoundException.php b/ship-simu/inc/classes/exceptions/main/class_GetterNotFoundException.php index 89cf8a256..95ecc95e0 100644 --- a/ship-simu/inc/classes/exceptions/main/class_GetterNotFoundException.php +++ b/ship-simu/inc/classes/exceptions/main/class_GetterNotFoundException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class GetterNotFoundException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_InvalidArrayCountException.php b/ship-simu/inc/classes/exceptions/main/class_InvalidArrayCountException.php index 58a911066..3c1a7e66f 100644 --- a/ship-simu/inc/classes/exceptions/main/class_InvalidArrayCountException.php +++ b/ship-simu/inc/classes/exceptions/main/class_InvalidArrayCountException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class InvalidArrayCountException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_InvalidObjectException.php b/ship-simu/inc/classes/exceptions/main/class_InvalidObjectException.php index 1f2acbb71..c847c2294 100644 --- a/ship-simu/inc/classes/exceptions/main/class_InvalidObjectException.php +++ b/ship-simu/inc/classes/exceptions/main/class_InvalidObjectException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class InvalidObjectException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_MissingArrayElementsException.php b/ship-simu/inc/classes/exceptions/main/class_MissingArrayElementsException.php index f3928462e..aee6090a0 100644 --- a/ship-simu/inc/classes/exceptions/main/class_MissingArrayElementsException.php +++ b/ship-simu/inc/classes/exceptions/main/class_MissingArrayElementsException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class MissingArrayElementsException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php b/ship-simu/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php index ca5c1eccf..392474d23 100644 --- a/ship-simu/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php +++ b/ship-simu/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php @@ -1,6 +1,26 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * @deprecated + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class MissingDecimalsThousandsSeperatorException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_MissingMethodException.php b/ship-simu/inc/classes/exceptions/main/class_MissingMethodException.php index 05c5fc4e6..f8c5a683f 100644 --- a/ship-simu/inc/classes/exceptions/main/class_MissingMethodException.php +++ b/ship-simu/inc/classes/exceptions/main/class_MissingMethodException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class MissingMethodException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_NoArrayCreatedException.php b/ship-simu/inc/classes/exceptions/main/class_NoArrayCreatedException.php index 0a2e9e1d9..69e4ad245 100644 --- a/ship-simu/inc/classes/exceptions/main/class_NoArrayCreatedException.php +++ b/ship-simu/inc/classes/exceptions/main/class_NoArrayCreatedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class NoArrayCreatedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_NoArrayException.php b/ship-simu/inc/classes/exceptions/main/class_NoArrayException.php index dbe5e7f8b..490a6c0d6 100644 --- a/ship-simu/inc/classes/exceptions/main/class_NoArrayException.php +++ b/ship-simu/inc/classes/exceptions/main/class_NoArrayException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class NoArrayException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_NoObjectException.php b/ship-simu/inc/classes/exceptions/main/class_NoObjectException.php index 18ec09644..7c7b519c1 100644 --- a/ship-simu/inc/classes/exceptions/main/class_NoObjectException.php +++ b/ship-simu/inc/classes/exceptions/main/class_NoObjectException.php @@ -1,6 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * @deprecated + * @see InvalidObjectException + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class NoObjectException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_NullPointerException.php b/ship-simu/inc/classes/exceptions/main/class_NullPointerException.php index 03cfe8aa2..c43f466ec 100644 --- a/ship-simu/inc/classes/exceptions/main/class_NullPointerException.php +++ b/ship-simu/inc/classes/exceptions/main/class_NullPointerException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class NullPointerException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/main/class_VariableIsNotSetException.php b/ship-simu/inc/classes/exceptions/main/class_VariableIsNotSetException.php index be381106d..821dfb40a 100644 --- a/ship-simu/inc/classes/exceptions/main/class_VariableIsNotSetException.php +++ b/ship-simu/inc/classes/exceptions/main/class_VariableIsNotSetException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class VariableIsNotSetException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/template/class_BasePathIsEmptyException.php b/ship-simu/inc/classes/exceptions/template/class_BasePathIsEmptyException.php index 4316f3391..4c6cbc541 100644 --- a/ship-simu/inc/classes/exceptions/template/class_BasePathIsEmptyException.php +++ b/ship-simu/inc/classes/exceptions/template/class_BasePathIsEmptyException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class BasePathIsEmptyException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php b/ship-simu/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php index 6e84bdb25..4c6de810a 100644 --- a/ship-simu/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php +++ b/ship-simu/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class BasePathIsNoDirectoryException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/template/class_BasePathReadProtectedException.php b/ship-simu/inc/classes/exceptions/template/class_BasePathReadProtectedException.php index 354598772..ea35cfe10 100644 --- a/ship-simu/inc/classes/exceptions/template/class_BasePathReadProtectedException.php +++ b/ship-simu/inc/classes/exceptions/template/class_BasePathReadProtectedException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class BasePathReadProtectedException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/template/class_InvalidBasePathStringException.php b/ship-simu/inc/classes/exceptions/template/class_InvalidBasePathStringException.php index 9dfe897ca..36f200260 100644 --- a/ship-simu/inc/classes/exceptions/template/class_InvalidBasePathStringException.php +++ b/ship-simu/inc/classes/exceptions/template/class_InvalidBasePathStringException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class InvalidBasePathStringException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php b/ship-simu/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php index dd075ab51..7683d2c34 100644 --- a/ship-simu/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php +++ b/ship-simu/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class InvalidTemplateVariableNameException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php b/ship-simu/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php index 7021f37cb..5cbe2bed5 100644 --- a/ship-simu/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php +++ b/ship-simu/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class UnexpectedTemplateTypeException extends FrameworkException { /** * The constructor diff --git a/ship-simu/inc/classes/interfaces/application/class_ManageableApplication.php b/ship-simu/inc/classes/interfaces/application/class_ManageableApplication.php index e6712aa18..60584f833 100644 --- a/ship-simu/inc/classes/interfaces/application/class_ManageableApplication.php +++ b/ship-simu/inc/classes/interfaces/application/class_ManageableApplication.php @@ -7,8 +7,23 @@ * - Usage statistics * - And many more... * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface ManageableApplication extends FrameworkInterface { /** diff --git a/ship-simu/inc/classes/interfaces/class_FrameworkInterface.php b/ship-simu/inc/classes/interfaces/class_FrameworkInterface.php index 29c0df042..3c9d5ff52 100644 --- a/ship-simu/inc/classes/interfaces/class_FrameworkInterface.php +++ b/ship-simu/inc/classes/interfaces/class_FrameworkInterface.php @@ -3,8 +3,23 @@ * 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.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface FrameworkInterface { } diff --git a/ship-simu/inc/classes/interfaces/compressor/.htaccess b/ship-simu/inc/classes/interfaces/compressor/.htaccess new file mode 100644 index 000000000..3a4288278 --- /dev/null +++ b/ship-simu/inc/classes/interfaces/compressor/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/ship-simu/inc/classes/interfaces/compressor/class_Compressor.php b/ship-simu/inc/classes/interfaces/compressor/class_Compressor.php index b8d62b048..5f42ec323 100644 --- a/ship-simu/inc/classes/interfaces/compressor/class_Compressor.php +++ b/ship-simu/inc/classes/interfaces/compressor/class_Compressor.php @@ -2,8 +2,23 @@ /** * An interface for compression classes * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface Compressor extends FrameworkInterface { /** diff --git a/ship-simu/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php b/ship-simu/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php index 6550eca55..0b0629800 100644 --- a/ship-simu/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php +++ b/ship-simu/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php @@ -2,8 +2,23 @@ /** * The general interface for all other database interfaces * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface FrameworkDatabaseInterface extends FrameworkInterface { /** diff --git a/ship-simu/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php b/ship-simu/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php index 35c13b58a..839ba634c 100644 --- a/ship-simu/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php +++ b/ship-simu/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php @@ -6,8 +6,23 @@ * file databases the object shall be serialized and (maybe) transparently * compressed before they got saved to a local file. * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface DatabaseFrontendInterface extends FrameworkDatabaseInterface { /** diff --git a/ship-simu/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php b/ship-simu/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php index 5964420b0..0182ef87f 100644 --- a/ship-simu/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php +++ b/ship-simu/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php @@ -2,8 +2,23 @@ /** * An interface for middleware database classes * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface DatabaseConnector extends FrameworkDatabaseInterface { } diff --git a/ship-simu/inc/classes/interfaces/debug/class_Debugger.php b/ship-simu/inc/classes/interfaces/debug/class_Debugger.php index 8ba621d36..46cdeb44a 100644 --- a/ship-simu/inc/classes/interfaces/debug/class_Debugger.php +++ b/ship-simu/inc/classes/interfaces/debug/class_Debugger.php @@ -2,8 +2,23 @@ /** * An interface for debugger classes * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface Debugger extends FrameworkInterface { /** diff --git a/ship-simu/inc/classes/interfaces/extended/class_LimitableObject.php b/ship-simu/inc/classes/interfaces/extended/class_LimitableObject.php index f1fa6af03..8ed5eb955 100644 --- a/ship-simu/inc/classes/interfaces/extended/class_LimitableObject.php +++ b/ship-simu/inc/classes/interfaces/extended/class_LimitableObject.php @@ -3,8 +3,23 @@ * This is an inface for limiting object while saving them with the * DatabaseConnection class. * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface LimitableObject extends FrameworkInterface { /** diff --git a/ship-simu/inc/classes/interfaces/io/class_Streamable.php b/ship-simu/inc/classes/interfaces/io/class_Streamable.php index aaa697d20..1392564ea 100644 --- a/ship-simu/inc/classes/interfaces/io/class_Streamable.php +++ b/ship-simu/inc/classes/interfaces/io/class_Streamable.php @@ -1,10 +1,24 @@ - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface Streamable extends FrameworkInterface { } diff --git a/ship-simu/inc/classes/interfaces/io/file/class_FileInputStreamer.php b/ship-simu/inc/classes/interfaces/io/file/class_FileInputStreamer.php index 891c65816..6204e34c6 100644 --- a/ship-simu/inc/classes/interfaces/io/file/class_FileInputStreamer.php +++ b/ship-simu/inc/classes/interfaces/io/file/class_FileInputStreamer.php @@ -1,10 +1,24 @@ - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface FileInputStreamer extends Streamable { /** diff --git a/ship-simu/inc/classes/interfaces/io/file/class_FileOutputStreamer.php b/ship-simu/inc/classes/interfaces/io/file/class_FileOutputStreamer.php index 2b866f4fc..55bc37e59 100644 --- a/ship-simu/inc/classes/interfaces/io/file/class_FileOutputStreamer.php +++ b/ship-simu/inc/classes/interfaces/io/file/class_FileOutputStreamer.php @@ -2,8 +2,23 @@ /** * An interface for file output operations. * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface FileOutputStreamer extends Streamable { /** diff --git a/ship-simu/inc/classes/interfaces/io/output/class_OutputStreamer.php b/ship-simu/inc/classes/interfaces/io/output/class_OutputStreamer.php index 9d64bc7bf..6e4431f92 100644 --- a/ship-simu/inc/classes/interfaces/io/output/class_OutputStreamer.php +++ b/ship-simu/inc/classes/interfaces/io/output/class_OutputStreamer.php @@ -1,10 +1,24 @@ - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface OutputStreamer extends Streamable { /** diff --git a/ship-simu/inc/classes/interfaces/language/class_ManageableLanguage.php b/ship-simu/inc/classes/interfaces/language/class_ManageableLanguage.php index 0649c5e83..77f3fbc1f 100644 --- a/ship-simu/inc/classes/interfaces/language/class_ManageableLanguage.php +++ b/ship-simu/inc/classes/interfaces/language/class_ManageableLanguage.php @@ -2,8 +2,23 @@ /** * An interface for language systems * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface ManageableLanguage extends FrameworkInterface { /** diff --git a/ship-simu/inc/classes/interfaces/template/class_CompileableTemplate.php b/ship-simu/inc/classes/interfaces/template/class_CompileableTemplate.php index 8df39d833..1477f74ba 100644 --- a/ship-simu/inc/classes/interfaces/template/class_CompileableTemplate.php +++ b/ship-simu/inc/classes/interfaces/template/class_CompileableTemplate.php @@ -2,8 +2,23 @@ /** * An interface for template engines * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ interface CompileableTemplate extends FrameworkInterface { /** diff --git a/ship-simu/inc/classes/main/class_BaseFrameworkSystem.php b/ship-simu/inc/classes/main/class_BaseFrameworkSystem.php index 767694953..3721f6399 100644 --- a/ship-simu/inc/classes/main/class_BaseFrameworkSystem.php +++ b/ship-simu/inc/classes/main/class_BaseFrameworkSystem.php @@ -2,6 +2,24 @@ /** * The simulator system class is the super class of all other classes. This * class handles saving of games etc. + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { /** @@ -128,7 +146,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { "GzipCompressor", // GZIP compressor "WebOutput", // Web output sub-system ); - + /** * Private super constructor * @@ -179,7 +197,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { $this->getDebugInstance()->output(sprintf("[%s::%s] Stub! Args: %s", $this->__toString(), $methodName, - $argsString + $argsString )); // Return nothing @@ -455,7 +473,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { private final function generateIdNumber () { return sprintf("%s@%s", $this->__toString(), - md5(sprintf("%s:%s:%s:%s:%s:%s", + md5(sprintf("%s:%s:%s:%s:%s:%s", $this->__toString(), $this->getPartDescr(), time(), diff --git a/ship-simu/inc/classes/main/class_FrameworkArrayObject.php b/ship-simu/inc/classes/main/class_FrameworkArrayObject.php index 89f6b7e58..e73f8a8d8 100644 --- a/ship-simu/inc/classes/main/class_FrameworkArrayObject.php +++ b/ship-simu/inc/classes/main/class_FrameworkArrayObject.php @@ -3,6 +3,24 @@ * Class for saving arrays as an object. We need this little extension for * some common methods used in the whole application. Please see below if you * need more details. + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class FrameworkArrayObject extends ArrayObject { /** diff --git a/ship-simu/inc/classes/main/compressor/class_Bzip2Compressor.php b/ship-simu/inc/classes/main/compressor/class_Bzip2Compressor.php index 78c25714c..56e704c3d 100644 --- a/ship-simu/inc/classes/main/compressor/class_Bzip2Compressor.php +++ b/ship-simu/inc/classes/main/compressor/class_Bzip2Compressor.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class Bzip2Compressor extends BaseFrameworkSystem implements Compressor { /** diff --git a/ship-simu/inc/classes/main/compressor/class_GzipCompressor.php b/ship-simu/inc/classes/main/compressor/class_GzipCompressor.php index d3ed86a9d..f00b2d032 100644 --- a/ship-simu/inc/classes/main/compressor/class_GzipCompressor.php +++ b/ship-simu/inc/classes/main/compressor/class_GzipCompressor.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class GzipCompressor extends BaseFrameworkSystem implements Compressor { /** diff --git a/ship-simu/inc/classes/main/compressor/class_NullCompressor.php b/ship-simu/inc/classes/main/compressor/class_NullCompressor.php index 4762cb864..b4a123637 100644 --- a/ship-simu/inc/classes/main/compressor/class_NullCompressor.php +++ b/ship-simu/inc/classes/main/compressor/class_NullCompressor.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class NullCompressor extends BaseFrameworkSystem implements Compressor { /** diff --git a/ship-simu/inc/classes/main/console/class_ConsoleTools.php b/ship-simu/inc/classes/main/console/class_ConsoleTools.php index c57070d27..97f1bc233 100644 --- a/ship-simu/inc/classes/main/console/class_ConsoleTools.php +++ b/ship-simu/inc/classes/main/console/class_ConsoleTools.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class ConsoleTools extends BaseFrameworkSystem { /** diff --git a/ship-simu/inc/classes/main/database/class_BaseDatabaseFrontend.php b/ship-simu/inc/classes/main/database/class_BaseDatabaseFrontend.php index 601c04259..7d6f8a0dc 100644 --- a/ship-simu/inc/classes/main/database/class_BaseDatabaseFrontend.php +++ b/ship-simu/inc/classes/main/database/class_BaseDatabaseFrontend.php @@ -2,8 +2,24 @@ /** * An abstract database access class for handling database I/O requests * - * @see DatabaseFrontendInterface An interface for database frontends - * (front-end to the application) + * @see DatabaseFrontendInterface An interface for database frontends (front-end to the application) + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ abstract class BaseDatabaseFrontend extends BaseFrameworkSystem implements DatabaseFrontendInterface, LimitableObject { /** diff --git a/ship-simu/inc/classes/main/database/classes/class_LocalFileDatabase.php b/ship-simu/inc/classes/main/database/classes/class_LocalFileDatabase.php index 5a8374276..ff5f1dde0 100644 --- a/ship-simu/inc/classes/main/database/classes/class_LocalFileDatabase.php +++ b/ship-simu/inc/classes/main/database/classes/class_LocalFileDatabase.php @@ -4,8 +4,24 @@ * * This class serializes objects and saves them to local files. * - * @author Roland Haeder - * @version 0.1 + * + * @author Roland Haeder + * @version 0.1 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontendInterface { /** @@ -311,7 +327,7 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend /** * Getter for the file IO instance * - * @return $ioInstance An instance for IO operations + *�@return $ioInstance An instance for IO operations * @see FileIOHandler The concrete handler for IO operations */ public final function getIOInstance () { @@ -379,7 +395,7 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend * serialized data * @throws MismatchingCompressorsException If the compressor from * the loaded file - * mismatches with the + * mismatches with the * current used one. * @throws NullPointerException If the restored object * is null diff --git a/ship-simu/inc/classes/main/debug/class_DebugConsoleOutput.php b/ship-simu/inc/classes/main/debug/class_DebugConsoleOutput.php index f81b01944..d92648eaf 100644 --- a/ship-simu/inc/classes/main/debug/class_DebugConsoleOutput.php +++ b/ship-simu/inc/classes/main/debug/class_DebugConsoleOutput.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer { /** diff --git a/ship-simu/inc/classes/main/debug/class_DebugErrorLogOutput.php b/ship-simu/inc/classes/main/debug/class_DebugErrorLogOutput.php index f618e1edf..8916b057e 100644 --- a/ship-simu/inc/classes/main/debug/class_DebugErrorLogOutput.php +++ b/ship-simu/inc/classes/main/debug/class_DebugErrorLogOutput.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer { /** diff --git a/ship-simu/inc/classes/main/debug/class_DebugWebOutput.php b/ship-simu/inc/classes/main/debug/class_DebugWebOutput.php index f48a053ba..062b2ccab 100644 --- a/ship-simu/inc/classes/main/debug/class_DebugWebOutput.php +++ b/ship-simu/inc/classes/main/debug/class_DebugWebOutput.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class DebugWebOutput extends BaseFrameworkSystem implements Debugger { /** diff --git a/ship-simu/inc/classes/main/extended/class_ObjectLimits.php b/ship-simu/inc/classes/main/extended/class_ObjectLimits.php index 017b6d1ca..8cfb0ec6c 100644 --- a/ship-simu/inc/classes/main/extended/class_ObjectLimits.php +++ b/ship-simu/inc/classes/main/extended/class_ObjectLimits.php @@ -2,6 +2,24 @@ /** * 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 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class ObjectLimits extends BaseFrameworkSystem { /** diff --git a/ship-simu/inc/classes/main/extended/class_SerializationContainer.php b/ship-simu/inc/classes/main/extended/class_SerializationContainer.php index 834647719..b8790ea64 100644 --- a/ship-simu/inc/classes/main/extended/class_SerializationContainer.php +++ b/ship-simu/inc/classes/main/extended/class_SerializationContainer.php @@ -2,6 +2,24 @@ /** * This class contains object attributes which we can now send together to * other classes + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class SerializationContainer extends FrameworkArrayObject { /** diff --git a/ship-simu/inc/classes/main/io/class_FileIOStream.php b/ship-simu/inc/classes/main/io/class_FileIOStream.php index a83bd26ba..0872f9192 100644 --- a/ship-simu/inc/classes/main/io/class_FileIOStream.php +++ b/ship-simu/inc/classes/main/io/class_FileIOStream.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class FileIOStream extends BaseFrameworkSystem implements FileInputStreamer, FileOutputStreamer { /** diff --git a/ship-simu/inc/classes/main/io/class_FrameworkDirectoryPointer.php b/ship-simu/inc/classes/main/io/class_FrameworkDirectoryPointer.php index dbd485aba..796c97022 100644 --- a/ship-simu/inc/classes/main/io/class_FrameworkDirectoryPointer.php +++ b/ship-simu/inc/classes/main/io/class_FrameworkDirectoryPointer.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class FrameworkDirectoryPointer extends BaseFrameworkSystem { /** diff --git a/ship-simu/inc/classes/main/io/class_FrameworkFileInputPointer.php b/ship-simu/inc/classes/main/io/class_FrameworkFileInputPointer.php index 62e0d3324..954dffe90 100644 --- a/ship-simu/inc/classes/main/io/class_FrameworkFileInputPointer.php +++ b/ship-simu/inc/classes/main/io/class_FrameworkFileInputPointer.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class FrameworkFileInputPointer extends BaseFrameworkSystem { /** diff --git a/ship-simu/inc/classes/main/io/class_FrameworkFileOutputPointer.php b/ship-simu/inc/classes/main/io/class_FrameworkFileOutputPointer.php index 439b12327..fba46027c 100644 --- a/ship-simu/inc/classes/main/io/class_FrameworkFileOutputPointer.php +++ b/ship-simu/inc/classes/main/io/class_FrameworkFileOutputPointer.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class FrameworkFileOutputPointer extends BaseFrameworkSystem { /** diff --git a/ship-simu/inc/classes/main/language/class_LanguageSystem.php b/ship-simu/inc/classes/main/language/class_LanguageSystem.php index e2bb71f45..c9bf64d99 100644 --- a/ship-simu/inc/classes/main/language/class_LanguageSystem.php +++ b/ship-simu/inc/classes/main/language/class_LanguageSystem.php @@ -2,6 +2,24 @@ /** * The language sub-system for handling language strings being used in the * application and whole framework + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class LanguageSystem extends BaseFrameworkSystem implements ManageableLanguage { /** diff --git a/ship-simu/inc/classes/main/output/class_ConsoleOutput.php b/ship-simu/inc/classes/main/output/class_ConsoleOutput.php index e3dd7ee62..26dca7806 100644 --- a/ship-simu/inc/classes/main/output/class_ConsoleOutput.php +++ b/ship-simu/inc/classes/main/output/class_ConsoleOutput.php @@ -2,6 +2,24 @@ /** * This class simply puts HTML code / JavaScript code or CSS code out to the * browser + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class ConsoleOutput extends BaseFrameworkSystem implements OutputStreamer { /** diff --git a/ship-simu/inc/classes/main/output/class_WebOutput.php b/ship-simu/inc/classes/main/output/class_WebOutput.php index 13d3571c4..8ed1c4f92 100644 --- a/ship-simu/inc/classes/main/output/class_WebOutput.php +++ b/ship-simu/inc/classes/main/output/class_WebOutput.php @@ -2,6 +2,24 @@ /** * This class simply puts HTML code / JavaScript code or CSS code out to the * browser + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class WebOutput extends BaseFrameworkSystem implements OutputStreamer { /** diff --git a/ship-simu/inc/classes/main/template/class_TemplateEngine.php b/ship-simu/inc/classes/main/template/class_TemplateEngine.php index 253cc86e2..a3e94b40b 100644 --- a/ship-simu/inc/classes/main/template/class_TemplateEngine.php +++ b/ship-simu/inc/classes/main/template/class_TemplateEngine.php @@ -2,6 +2,24 @@ /** * The own template engine for loading caching and sending out the web pages * and emails. + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate { /** @@ -88,7 +106,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate * E.g.: {?template:variable=value;var2=value2;[...]?} */ private $regExpCodeTags = '/\{\?([a-z_]+)(:("[^"]+"|[^?}]+)+)?\?\}/'; - + // Exception codes for the template engine const EXCEPTION_TEMPLATE_TYPE_IS_UNEXPECTED = 0xa00; const TEMPLATE_CONTAINS_INVALID_VAR_EXCEPTION = 0xa01; @@ -245,7 +263,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate public final function initVariableStack () { $this->varStack = new FrameworkArrayObject(); } - + /** * Setter for language instance which should be LanguageSystem * @@ -255,7 +273,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate public final function setLanguageInstance (ManageableLanguage $langInstance) { $this->langInstance = $langInstance; } - + /** * Setter for file I/O instance which should be FileIOHandler * @@ -265,7 +283,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate public final function setIOInstance (FileIOHandler $ioInstance) { $this->ioInstance = $ioInstance; } - + /** * Getter for file I/O instance which should be FileIOHandler * @@ -389,7 +407,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate public final function getTemplateType () { return $this->templateType; } - + /** * Setter for the last loaded template's FQFN * @@ -401,7 +419,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate $template = (string) $template; $this->lastTemplate = $template; } - + /** * Getter for the last loaded template's FQFN * @@ -410,7 +428,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate private final function getLastTemplate () { return $this->lastTemplate; } - + /** * Assign (add) a given variable with a value * @@ -431,7 +449,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate $this->modifyVariable($var, $value); } } - + /** * Assign a given congfiguration variable with a value * @@ -443,7 +461,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate // Sweet and simple... $this->configVariables[$var] = $value; } - + /** * Removes a given variable * @@ -930,7 +948,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate // Run the constructed command. This will "compile" all variables in eval($eval); } - + /** * Compile all required templates into the current loaded one * diff --git a/ship-simu/inc/classes/middleware/class_BaseMiddleware.php b/ship-simu/inc/classes/middleware/class_BaseMiddleware.php index e6ae48e12..e0a8b6b79 100644 --- a/ship-simu/inc/classes/middleware/class_BaseMiddleware.php +++ b/ship-simu/inc/classes/middleware/class_BaseMiddleware.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class BaseMiddleware extends BaseFrameworkSystem { /** diff --git a/ship-simu/inc/classes/middleware/compressor/class_CompressorChannel.php b/ship-simu/inc/classes/middleware/compressor/class_CompressorChannel.php index 858401fb3..05fbad06b 100644 --- a/ship-simu/inc/classes/middleware/compressor/class_CompressorChannel.php +++ b/ship-simu/inc/classes/middleware/compressor/class_CompressorChannel.php @@ -1,5 +1,26 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class CompressorChannel extends BaseMiddleware { // Output handler instance private $compressor = null; @@ -80,7 +101,7 @@ class CompressorChannel extends BaseMiddleware { // Set the null compressor handler $cInstance->setCompressor(NullCompressor::createNullCompressor()); } - + // Return the compressor instance return $cInstance; } diff --git a/ship-simu/inc/classes/middleware/database/class_DatabaseConnection.php b/ship-simu/inc/classes/middleware/database/class_DatabaseConnection.php index bb67ebc8e..8499c0f19 100644 --- a/ship-simu/inc/classes/middleware/database/class_DatabaseConnection.php +++ b/ship-simu/inc/classes/middleware/database/class_DatabaseConnection.php @@ -1,6 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class DatabaseConnection extends BaseMiddleware implements DatabaseConnector, LimitableObject { // Array for connection data private $connectData = array(); @@ -148,7 +167,7 @@ class DatabaseConnection extends BaseMiddleware implements DatabaseConnector, Li // Pass the returning result through return $this->dbLayer->isUniqueIdUsed($uniqueID, $inConstructor); - } + } /** * Gets cached data from the database layer and if not found fetch it from diff --git a/ship-simu/inc/classes/middleware/debug/class_DebugMiddleware.php b/ship-simu/inc/classes/middleware/debug/class_DebugMiddleware.php index 1835ac87f..e43ce8ba6 100644 --- a/ship-simu/inc/classes/middleware/debug/class_DebugMiddleware.php +++ b/ship-simu/inc/classes/middleware/debug/class_DebugMiddleware.php @@ -3,6 +3,24 @@ * The middlware debug output system. A *real* or concrete output class shall * become registered with this middleware because the back-fall class will * become deprecated soon. + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class DebugMiddleware extends BaseMiddleware { /** @@ -40,7 +58,7 @@ class DebugMiddleware extends BaseMiddleware { * This fall-back mechanism will become deprecated very soon. * * @param $debuggerClass The class name which we shall use for - * registering the *real* debug output + * registering the *real* debug output * @return $debugInstance An instance of this middleware class */ public final static function createDebugMiddleware ($debuggerClass) { diff --git a/ship-simu/inc/classes/middleware/io/class_FileIOHandler.php b/ship-simu/inc/classes/middleware/io/class_FileIOHandler.php index 18147427c..40b2b3592 100644 --- a/ship-simu/inc/classes/middleware/io/class_FileIOHandler.php +++ b/ship-simu/inc/classes/middleware/io/class_FileIOHandler.php @@ -2,6 +2,24 @@ /** * 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 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class FileIOHandler extends BaseMiddleware { /** @@ -68,7 +86,7 @@ class FileIOHandler extends BaseMiddleware { public final static function getInstance () { return self::$thisInstance; } - + /** * Setter for the *real* file input instance * diff --git a/ship-simu/inc/config-local.php b/ship-simu/inc/config-local.php index 707e73904..84be1ff3e 100644 --- a/ship-simu/inc/config-local.php +++ b/ship-simu/inc/config-local.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ // CFG: DEFAULT-APPLICATION $cfg->setConfigEntry("default_application", "hub"); diff --git a/ship-simu/inc/config.php b/ship-simu/inc/config.php index dda5ca013..62134c1b4 100644 --- a/ship-simu/inc/config.php +++ b/ship-simu/inc/config.php @@ -1,4 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Load the class from inc/config direktory @require_once(dirname(__FILE__) . "/config/class_FrameworkConfiguration.php"); diff --git a/ship-simu/inc/config/class_FrameworkConfiguration.php b/ship-simu/inc/config/class_FrameworkConfiguration.php index 510bd0749..03237c055 100644 --- a/ship-simu/inc/config/class_FrameworkConfiguration.php +++ b/ship-simu/inc/config/class_FrameworkConfiguration.php @@ -5,7 +5,24 @@ * 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 + * @see ClassLoader + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class FrameworkConfiguration { /** diff --git a/ship-simu/inc/database.php b/ship-simu/inc/database.php index 5cae6dc88..b429a39bf 100644 --- a/ship-simu/inc/database.php +++ b/ship-simu/inc/database.php @@ -1,5 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +// Initialize the layer $layer = null; // Is the type defined? diff --git a/ship-simu/inc/database/lib-local.php b/ship-simu/inc/database/lib-local.php index 9d52dcd53..18d59108e 100644 --- a/ship-simu/inc/database/lib-local.php +++ b/ship-simu/inc/database/lib-local.php @@ -1,5 +1,25 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ try { $layer = LocalFileDatabase::createLocalFileDatabase(PATH . "db/", FileIOHandler::getInstance()); } catch (SavePathIsEmptyException $e) { diff --git a/ship-simu/inc/file_io.php b/ship-simu/inc/file_io.php index ba8fed914..d63a9a35f 100644 --- a/ship-simu/inc/file_io.php +++ b/ship-simu/inc/file_io.php @@ -1,7 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ $io = FileIOHandler::createFileIOHandler(); // [EOF] diff --git a/ship-simu/inc/includes.php b/ship-simu/inc/includes.php index 845b8bf34..28a56100f 100644 --- a/ship-simu/inc/includes.php +++ b/ship-simu/inc/includes.php @@ -1,8 +1,31 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ -require(sprintf("%sinc/loader/class_ClassLoader%s", PATH, FrameworkConfiguration::getInstance()->readConfig("php_extension"))); + +// Load the class loader first +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/ship-simu/inc/language.php index 5d686f9ef..e9132cfbd 100644 --- a/ship-simu/inc/language.php +++ b/ship-simu/inc/language.php @@ -1,7 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ + +// Try it here... try { $lang = LanguageSystem::createLanguageSystem(sprintf("%s%s", PATH, diff --git a/ship-simu/inc/language/.htaccess b/ship-simu/inc/language/.htaccess new file mode 100644 index 000000000..3a4288278 --- /dev/null +++ b/ship-simu/inc/language/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/ship-simu/inc/loader/class_ClassLoader.php b/ship-simu/inc/loader/class_ClassLoader.php index faee2d4df..38bfcd48c 100644 --- a/ship-simu/inc/loader/class_ClassLoader.php +++ b/ship-simu/inc/loader/class_ClassLoader.php @@ -2,15 +2,30 @@ /** * This class loads class include files with a specific prefix and suffix * - * @author Roland Haeder - * @version 1.1 - * * ---------------------------------- * 1.1 * - loadClasses rewritten to fix some notices * 1.0 * - Initial release * ---------------------------------- + * + * @author Roland Haeder + * @version 1.1 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class ClassLoader { /** diff --git a/ship-simu/inc/output.php b/ship-simu/inc/output.php index 755f0d177..f2dfcbe00 100644 --- a/ship-simu/inc/output.php +++ b/ship-simu/inc/output.php @@ -1,6 +1,27 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ -// Debug-Ausgabe vorbereiten +// Prepare debug outout middleware $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/ship-simu/inc/selector.php index 26ce26d2b..62f0e68b4 100644 --- a/ship-simu/inc/selector.php +++ b/ship-simu/inc/selector.php @@ -1,6 +1,24 @@ + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ // Does the user has an application specified? diff --git a/ship-simu/index.php b/ship-simu/index.php index 7dc259489..2671e2ae5 100644 --- a/ship-simu/index.php +++ b/ship-simu/index.php @@ -6,6 +6,24 @@ * local variables. * * But good little boys and girls would always initialize their variables... ;-) + * + * @author Roland Haeder + * @version 0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ class ApplicationEntryPoint { /**