From 6a235495afbc92d4116f94be590d40feb1ad7905 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 3 Mar 2008 21:22:05 +0000 Subject: [PATCH] core code merged, interfaces OutputStreamer implemented --- inc/classes.php | 2 +- .../exceptions/class_FrameworkException.php | 5 +-- .../class_MismatchingCompressorsException.php | 5 +-- .../class_ContainerItemIsNoArrayException.php | 7 +++-- .../class_ContainerItemIsNullException.php | 7 +++-- .../class_ContainerMaybeDamagedException.php | 7 +++-- .../class_SavePathIsEmptyException.php | 7 +++-- .../class_SavePathIsNoDirectoryException.php | 7 +++-- .../class_SavePathReadProtectedException.php | 7 +++-- .../class_SavePathWriteProtectedException.php | 7 +++-- .../io/class_DirPointerNotOpenedException.php | 7 +++-- .../class_FilePointerNotOpenedException.php | 7 +++-- .../io/class_InvalidDataLengthException.php | 7 +++-- ...lass_InvalidDirectoryResourceException.php | 7 +++-- .../io/class_InvalidMD5ChecksumException.php | 7 +++-- .../io/class_PathIsEmptyException.php | 7 +++-- .../io/class_PathIsNoDirectoryException.php | 7 +++-- .../io/class_PathReadProtectedException.php | 7 +++-- ...ass_InvalidLanguagePathStringException.php | 7 +++-- .../class_LanguagePathIsEmptyException.php | 7 +++-- ...ass_LanguagePathIsNoDirectoryException.php | 7 +++-- ...ass_LanguagePathReadProtectedException.php | 7 +++-- .../main/class_ClassMismatchException.php | 7 +++-- .../main/class_ClassNotFoundException.php | 7 +++-- .../class_ConfigEntryIsEmptyException.php | 7 +++-- .../class_ConfigEntryNotFoundException.php | 7 +++-- .../class_DimNotFoundInArrayException.php | 7 +++-- .../class_ExceptionNotChangedException.php | 5 +-- .../main/class_ExceptionNotFoundException.php | 7 +++-- .../main/class_GetterNotFoundException.php | 7 +++-- .../main/class_InvalidArrayCountException.php | 7 +++-- .../main/class_InvalidObjectException.php | 7 +++-- .../class_MissingArrayElementsException.php | 7 +++-- ...ingDecimalsThousandsSeperatorException.php | 8 ++--- .../main/class_MissingMethodException.php | 7 +++-- .../main/class_NoArrayCreatedException.php | 7 +++-- .../main/class_NoArrayException.php | 7 ++--- .../main/class_NoObjectException.php | 5 +-- .../main/class_NullPointerException.php | 7 +++-- .../main/class_VariableIsNotSetException.php | 7 +++-- .../class_BasePathIsEmptyException.php | 7 +++-- .../class_BasePathIsNoDirectoryException.php | 7 +++-- .../class_BasePathReadProtectedException.php | 7 +++-- .../class_InvalidBasePathStringException.php | 7 +++-- ...s_InvalidTemplateVariableNameException.php | 7 +++-- .../class_UnexpectedTemplateTypeException.php | 7 +++-- .../class_ManageableApplication.php | 5 +-- .../interfaces/class_FrameworkInterface.php | 5 +-- .../compressor/class_Compressor.php | 9 +++--- .../class_FrameworkDatabaseInterface.php | 5 +-- .../class_DatabaseFrontendInterface.php | 5 +-- .../middleware/class_DatabaseConnector.php | 5 +-- .../interfaces/debug/class_Debugger.php | 5 +-- .../extended/class_LimitableObject.php | 5 +-- .../interfaces/io/class_Streamable.php | 5 +-- .../io/file/class_FileInputStreamer.php | 5 +-- .../io/file/class_FileOutputStreamer.php | 5 +-- .../io/output/class_OutputStreamer.php | 9 +++--- .../language/class_ManageableLanguage.php | 5 +-- .../template/class_CompileableTemplate.php | 5 +-- .../main/class_BaseFrameworkSystem.php | 3 +- .../main/class_FrameworkArrayObject.php | 5 +-- .../main/compressor/class_Bzip2Compressor.php | 3 +- .../main/compressor/class_GzipCompressor.php | 3 +- .../main/compressor/class_NullCompressor.php | 3 +- .../main/console/class_ConsoleTools.php | 5 +-- .../database/class_BaseDatabaseFrontend.php | 7 +++-- .../classes/class_LocalFileDatabase.php | 6 ++-- .../main/debug/class_DebugConsoleOutput.php | 31 ++++++++++--------- .../main/debug/class_DebugErrorLogOutput.php | 10 +++--- .../main/debug/class_DebugWebOutput.php | 31 +++++++++++++++++-- .../main/extended/class_ObjectLimits.php | 7 +++-- .../extended/class_SerializationContainer.php | 5 +-- inc/classes/main/io/class_FileIOStream.php | 5 +-- .../io/class_FrameworkDirectoryPointer.php | 5 +-- .../io/class_FrameworkFileInputPointer.php | 5 +-- .../io/class_FrameworkFileOutputPointer.php | 5 +-- .../main/language/class_LanguageSystem.php | 5 +-- .../main/output/class_ConsoleOutput.php | 9 +++--- inc/classes/main/output/class_WebOutput.php | 5 +-- .../main/template/class_TemplateEngine.php | 27 ++++++++-------- .../middleware/class_BaseMiddleware.php | 7 +++-- .../compressor/class_CompressorChannel.php | 8 ++--- .../database/class_DatabaseConnection.php | 5 +-- .../debug/class_DebugMiddleware.php | 5 +-- .../middleware/io/class_FileIOHandler.php | 5 +-- inc/config.php | 10 +++--- inc/config/class_FrameworkConfiguration.php | 9 +++--- inc/database.php | 7 +++-- inc/database/lib-local.php | 7 +++-- inc/file_io.php | 7 +++-- inc/includes.php | 12 +++---- inc/language.php | 8 ++--- inc/loader/class_ClassLoader.php | 19 ++++++------ inc/output.php | 7 +++-- inc/selector.php | 5 +-- index.php | 5 +-- 97 files changed, 407 insertions(+), 292 deletions(-) diff --git a/inc/classes.php b/inc/classes.php index fb00ebf..64e2bed 100644 --- a/inc/classes.php +++ b/inc/classes.php @@ -1,6 +1,6 @@ * @version 0.0 diff --git a/inc/classes/exceptions/class_FrameworkException.php b/inc/classes/exceptions/class_FrameworkException.php index 46a0342..aaab83a 100644 --- a/inc/classes/exceptions/class_FrameworkException.php +++ b/inc/classes/exceptions/class_FrameworkException.php @@ -4,10 +4,11 @@ * remove the "abstract" key-word. Better you make your own exception and * attach a dedicated message to it. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php b/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php index f619601..4ff32f0 100644 --- a/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php +++ b/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php @@ -2,10 +2,11 @@ /** * An exception thrown when compressors are mismatching * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php b/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php index ae3dfad..a5e3468 100644 --- a/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php +++ b/inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a container item is not an array * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/container/class_ContainerItemIsNullException.php b/inc/classes/exceptions/container/class_ContainerItemIsNullException.php index 3d70144..bffb9b0 100644 --- a/inc/classes/exceptions/container/class_ContainerItemIsNullException.php +++ b/inc/classes/exceptions/container/class_ContainerItemIsNullException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a container item is null * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php b/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php index f5e77ac..417e49d 100644 --- a/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php +++ b/inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the container is possibly damaged * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php b/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php index 938edc5..ddc60e8 100644 --- a/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the save path string is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php b/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php index fa59a43..0eabf4e 100644 --- a/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the save path is no directory * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php b/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php index 8647da1..678ecd0 100644 --- a/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the save path is read-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php b/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php index 7236f56..0e7ca79 100644 --- a/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the save path is write-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php b/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php index a8a616f..5c415e1 100644 --- a/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php +++ b/inc/classes/exceptions/io/class_DirPointerNotOpenedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a directory pointer is not opended * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php b/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php index da5e8fe..fd4e541 100644 --- a/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php +++ b/inc/classes/exceptions/io/class_FilePointerNotOpenedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a file pointer is not opened * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/io/class_InvalidDataLengthException.php b/inc/classes/exceptions/io/class_InvalidDataLengthException.php index 7952be8..630d1ca 100644 --- a/inc/classes/exceptions/io/class_InvalidDataLengthException.php +++ b/inc/classes/exceptions/io/class_InvalidDataLengthException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the length of the data mismatch * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php b/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php index caabc32..fc48beb 100644 --- a/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php +++ b/inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the returned directory resource is invalid * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php b/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php index 349e713..1044d25 100644 --- a/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php +++ b/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a MD5 checksum does not exception * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/io/class_PathIsEmptyException.php b/inc/classes/exceptions/io/class_PathIsEmptyException.php index cd6010c..ffabd5c 100644 --- a/inc/classes/exceptions/io/class_PathIsEmptyException.php +++ b/inc/classes/exceptions/io/class_PathIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the path string is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php b/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php index b458387..6b0a531 100644 --- a/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php +++ b/inc/classes/exceptions/io/class_PathIsNoDirectoryException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a given path is not a directory * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/io/class_PathReadProtectedException.php b/inc/classes/exceptions/io/class_PathReadProtectedException.php index d630daf..530f16f 100644 --- a/inc/classes/exceptions/io/class_PathReadProtectedException.php +++ b/inc/classes/exceptions/io/class_PathReadProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a path is read-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php b/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php index f9656d8..24674cd 100644 --- a/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php +++ b/inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the language path string is invalid * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php b/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php index 01068d8..4e2cbf8 100644 --- a/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php +++ b/inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the language path string is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php b/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php index 1761298..1f0f53d 100644 --- a/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php +++ b/inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the language path is no directory * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php b/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php index f803c42..72bf450 100644 --- a/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php +++ b/inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the language path is read-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_ClassMismatchException.php b/inc/classes/exceptions/main/class_ClassMismatchException.php index 5f73e05..b8079c1 100644 --- a/inc/classes/exceptions/main/class_ClassMismatchException.php +++ b/inc/classes/exceptions/main/class_ClassMismatchException.php @@ -2,11 +2,12 @@ /** * An exception thrown when two classes are not matching * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_ClassNotFoundException.php b/inc/classes/exceptions/main/class_ClassNotFoundException.php index 0d3918c..a91f6e7 100644 --- a/inc/classes/exceptions/main/class_ClassNotFoundException.php +++ b/inc/classes/exceptions/main/class_ClassNotFoundException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a class was not found * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php b/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php index 497438e..2661bf0 100644 --- a/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php +++ b/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a configuration entry is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php b/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php index 14244c8..b83567f 100644 --- a/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php +++ b/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a configuration entry is not found * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php b/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php index 7407c50..f65a01a 100644 --- a/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php +++ b/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php @@ -2,11 +2,12 @@ /** * An exception thron when dimension entries are not found in an array * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_ExceptionNotChangedException.php b/inc/classes/exceptions/main/class_ExceptionNotChangedException.php index d6d0635..d8123eb 100644 --- a/inc/classes/exceptions/main/class_ExceptionNotChangedException.php +++ b/inc/classes/exceptions/main/class_ExceptionNotChangedException.php @@ -2,10 +2,11 @@ /** * An exception thrown when an exception was not changed * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * @deprecated * * This program is free software: you can redistribute it and/or modify diff --git a/inc/classes/exceptions/main/class_ExceptionNotFoundException.php b/inc/classes/exceptions/main/class_ExceptionNotFoundException.php index 04b2685..131e732 100644 --- a/inc/classes/exceptions/main/class_ExceptionNotFoundException.php +++ b/inc/classes/exceptions/main/class_ExceptionNotFoundException.php @@ -2,11 +2,12 @@ /** * An exception thrown when an other exception was not found * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_GetterNotFoundException.php b/inc/classes/exceptions/main/class_GetterNotFoundException.php index 95ecc95..bb25fdb 100644 --- a/inc/classes/exceptions/main/class_GetterNotFoundException.php +++ b/inc/classes/exceptions/main/class_GetterNotFoundException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a getter for an attribute was not found * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_InvalidArrayCountException.php b/inc/classes/exceptions/main/class_InvalidArrayCountException.php index 3c1a7e6..93f4ff8 100644 --- a/inc/classes/exceptions/main/class_InvalidArrayCountException.php +++ b/inc/classes/exceptions/main/class_InvalidArrayCountException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the number of array elements mismatch * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_InvalidObjectException.php b/inc/classes/exceptions/main/class_InvalidObjectException.php index c847c22..c74eecb 100644 --- a/inc/classes/exceptions/main/class_InvalidObjectException.php +++ b/inc/classes/exceptions/main/class_InvalidObjectException.php @@ -2,11 +2,12 @@ /** * An exception thrown when an instance variable instances a non-object * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_MissingArrayElementsException.php b/inc/classes/exceptions/main/class_MissingArrayElementsException.php index aee6090..17e0d05 100644 --- a/inc/classes/exceptions/main/class_MissingArrayElementsException.php +++ b/inc/classes/exceptions/main/class_MissingArrayElementsException.php @@ -2,11 +2,12 @@ /** * An exception thrown when required array elements are missing * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php b/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php index 392474d..c5b28a4 100644 --- a/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php +++ b/inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php @@ -2,12 +2,12 @@ /** * An exception thrown when the decimal and thousands seperators are missing * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * @deprecated - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_MissingMethodException.php b/inc/classes/exceptions/main/class_MissingMethodException.php index f8c5a68..4667068 100644 --- a/inc/classes/exceptions/main/class_MissingMethodException.php +++ b/inc/classes/exceptions/main/class_MissingMethodException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a method is missing * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_NoArrayCreatedException.php b/inc/classes/exceptions/main/class_NoArrayCreatedException.php index 69e4ad2..b3a68c7 100644 --- a/inc/classes/exceptions/main/class_NoArrayCreatedException.php +++ b/inc/classes/exceptions/main/class_NoArrayCreatedException.php @@ -2,11 +2,12 @@ /** * An exception thrown then no array was created in a dynamic environment * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_NoArrayException.php b/inc/classes/exceptions/main/class_NoArrayException.php index 490a6c0..9e5942b 100644 --- a/inc/classes/exceptions/main/class_NoArrayException.php +++ b/inc/classes/exceptions/main/class_NoArrayException.php @@ -1,11 +1,10 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/exceptions/main/class_NoObjectException.php b/inc/classes/exceptions/main/class_NoObjectException.php index 7c7b519..7f3da77 100644 --- a/inc/classes/exceptions/main/class_NoObjectException.php +++ b/inc/classes/exceptions/main/class_NoObjectException.php @@ -2,10 +2,11 @@ /** * A deprecated exception which should be replaced with InvalidObjectException * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * @deprecated * @see InvalidObjectException * diff --git a/inc/classes/exceptions/main/class_NullPointerException.php b/inc/classes/exceptions/main/class_NullPointerException.php index c43f466..45487d5 100644 --- a/inc/classes/exceptions/main/class_NullPointerException.php +++ b/inc/classes/exceptions/main/class_NullPointerException.php @@ -2,11 +2,12 @@ /** * An exception thrown when an object instance is null * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/main/class_VariableIsNotSetException.php b/inc/classes/exceptions/main/class_VariableIsNotSetException.php index 821dfb4..0ec1a4d 100644 --- a/inc/classes/exceptions/main/class_VariableIsNotSetException.php +++ b/inc/classes/exceptions/main/class_VariableIsNotSetException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a variable is not set * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/template/class_BasePathIsEmptyException.php b/inc/classes/exceptions/template/class_BasePathIsEmptyException.php index 4c6cbc5..ed59ac5 100644 --- a/inc/classes/exceptions/template/class_BasePathIsEmptyException.php +++ b/inc/classes/exceptions/template/class_BasePathIsEmptyException.php @@ -2,11 +2,12 @@ /** * An exception throws when the base path is empty * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php b/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php index 4c6de81..6d32301 100644 --- a/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php +++ b/inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the base path is no directory * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/template/class_BasePathReadProtectedException.php b/inc/classes/exceptions/template/class_BasePathReadProtectedException.php index ea35cfe..b95171d 100644 --- a/inc/classes/exceptions/template/class_BasePathReadProtectedException.php +++ b/inc/classes/exceptions/template/class_BasePathReadProtectedException.php @@ -2,11 +2,12 @@ /** * An exception thrown when the base path is read-protected * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/template/class_InvalidBasePathStringException.php b/inc/classes/exceptions/template/class_InvalidBasePathStringException.php index 36f2002..7236f6e 100644 --- a/inc/classes/exceptions/template/class_InvalidBasePathStringException.php +++ b/inc/classes/exceptions/template/class_InvalidBasePathStringException.php @@ -2,11 +2,12 @@ /** * An exception throws hen the base path string is invalid * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php b/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php index 7683d2c..6dc35af 100644 --- a/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php +++ b/inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php @@ -2,11 +2,12 @@ /** * An exception thrown when a template variable name is invalid * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php b/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php index 5cbe2be..0612603 100644 --- a/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php +++ b/inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php @@ -2,11 +2,12 @@ /** * An exception throws when the template type is not supported * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/interfaces/application/class_ManageableApplication.php b/inc/classes/interfaces/application/class_ManageableApplication.php index 60584f8..f342a0a 100644 --- a/inc/classes/interfaces/application/class_ManageableApplication.php +++ b/inc/classes/interfaces/application/class_ManageableApplication.php @@ -7,10 +7,11 @@ * - Usage statistics * - And many more... * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/class_FrameworkInterface.php b/inc/classes/interfaces/class_FrameworkInterface.php index 3c9d5ff..733d665 100644 --- a/inc/classes/interfaces/class_FrameworkInterface.php +++ b/inc/classes/interfaces/class_FrameworkInterface.php @@ -3,10 +3,11 @@ * This is the top-level interface for all other interfaces and should contain * method stubs which is being used in every class * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/compressor/class_Compressor.php b/inc/classes/interfaces/compressor/class_Compressor.php index 5f42ec3..0e3182a 100644 --- a/inc/classes/interfaces/compressor/class_Compressor.php +++ b/inc/classes/interfaces/compressor/class_Compressor.php @@ -2,10 +2,11 @@ /** * An interface for compression classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,7 +26,7 @@ interface Compressor extends FrameworkInterface { * A compression stream * * @param $streamData Mixed non-object stream data - * @return $streamData The compressed stream data + * @return $streamData The compressed stream data * @throws InvalidObjectException If the stream is an object */ function compressStream ($streamData); @@ -34,7 +35,7 @@ interface Compressor extends FrameworkInterface { * A decompression stream * * @param $streamData Mixed non-object stream data - * @return $streamData The decompressed stream data + * @return $streamData The decompressed stream data * @throws InvalidObjectException If the stream is an object */ function decompressStream ($streamData); diff --git a/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php b/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php index 0b06298..3031f60 100644 --- a/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php +++ b/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php @@ -2,10 +2,11 @@ /** * The general interface for all other database interfaces * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php b/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php index 839ba63..b6043b3 100644 --- a/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php +++ b/inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php @@ -6,10 +6,11 @@ * file databases the object shall be serialized and (maybe) transparently * compressed before they got saved to a local file. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php b/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php index 0182ef8..e9f5031 100644 --- a/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php +++ b/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php @@ -2,10 +2,11 @@ /** * An interface for middleware database classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/debug/class_Debugger.php b/inc/classes/interfaces/debug/class_Debugger.php index 46cdeb4..eeffbf2 100644 --- a/inc/classes/interfaces/debug/class_Debugger.php +++ b/inc/classes/interfaces/debug/class_Debugger.php @@ -2,10 +2,11 @@ /** * An interface for debugger classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/extended/class_LimitableObject.php b/inc/classes/interfaces/extended/class_LimitableObject.php index 8ed5eb9..591a21e 100644 --- a/inc/classes/interfaces/extended/class_LimitableObject.php +++ b/inc/classes/interfaces/extended/class_LimitableObject.php @@ -3,10 +3,11 @@ * This is an inface for limiting object while saving them with the * DatabaseConnection class. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/io/class_Streamable.php b/inc/classes/interfaces/io/class_Streamable.php index 1392564..4763acb 100644 --- a/inc/classes/interfaces/io/class_Streamable.php +++ b/inc/classes/interfaces/io/class_Streamable.php @@ -2,10 +2,11 @@ /** * An interface for streams * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/io/file/class_FileInputStreamer.php b/inc/classes/interfaces/io/file/class_FileInputStreamer.php index 6204e34..e13174a 100644 --- a/inc/classes/interfaces/io/file/class_FileInputStreamer.php +++ b/inc/classes/interfaces/io/file/class_FileInputStreamer.php @@ -2,10 +2,11 @@ /** * An interface for file input operations. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/io/file/class_FileOutputStreamer.php b/inc/classes/interfaces/io/file/class_FileOutputStreamer.php index 55bc37e..e0f55e4 100644 --- a/inc/classes/interfaces/io/file/class_FileOutputStreamer.php +++ b/inc/classes/interfaces/io/file/class_FileOutputStreamer.php @@ -2,10 +2,11 @@ /** * An interface for file output operations. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/io/output/class_OutputStreamer.php b/inc/classes/interfaces/io/output/class_OutputStreamer.php index 6e4431f..a803a46 100644 --- a/inc/classes/interfaces/io/output/class_OutputStreamer.php +++ b/inc/classes/interfaces/io/output/class_OutputStreamer.php @@ -2,10 +2,11 @@ /** * An interface for output streams * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,14 +29,14 @@ interface OutputStreamer extends Streamable { * @param $value The value to store in the variable * @return void */ - function assignVariable($var, $value); + function assignVariable ($var, $value); /** * Output the code * * @return void */ - function output($outStream=false); + function output ($outStream=false); } // diff --git a/inc/classes/interfaces/language/class_ManageableLanguage.php b/inc/classes/interfaces/language/class_ManageableLanguage.php index 77f3fbc..9ffec52 100644 --- a/inc/classes/interfaces/language/class_ManageableLanguage.php +++ b/inc/classes/interfaces/language/class_ManageableLanguage.php @@ -2,10 +2,11 @@ /** * An interface for language systems * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/interfaces/template/class_CompileableTemplate.php b/inc/classes/interfaces/template/class_CompileableTemplate.php index 1477f74..f6dc577 100644 --- a/inc/classes/interfaces/template/class_CompileableTemplate.php +++ b/inc/classes/interfaces/template/class_CompileableTemplate.php @@ -2,10 +2,11 @@ /** * An interface for template engines * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 3721f63..1e536a2 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -4,9 +4,10 @@ * class handles saving of games etc. * * @author Roland Haeder - * @version 0.0 + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/class_FrameworkArrayObject.php b/inc/classes/main/class_FrameworkArrayObject.php index e73f8a8..85397a4 100644 --- a/inc/classes/main/class_FrameworkArrayObject.php +++ b/inc/classes/main/class_FrameworkArrayObject.php @@ -4,10 +4,11 @@ * some common methods used in the whole application. Please see below if you * need more details. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/compressor/class_Bzip2Compressor.php b/inc/classes/main/compressor/class_Bzip2Compressor.php index 56e704c..c0c475f 100644 --- a/inc/classes/main/compressor/class_Bzip2Compressor.php +++ b/inc/classes/main/compressor/class_Bzip2Compressor.php @@ -3,9 +3,10 @@ * BZIP2 compression and decompression class * * @author Roland Haeder - * @version 0.0 + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/compressor/class_GzipCompressor.php b/inc/classes/main/compressor/class_GzipCompressor.php index f00b2d0..0caae9f 100644 --- a/inc/classes/main/compressor/class_GzipCompressor.php +++ b/inc/classes/main/compressor/class_GzipCompressor.php @@ -3,9 +3,10 @@ * GZIP compression and decompression class * * @author Roland Haeder - * @version 0.0 + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/compressor/class_NullCompressor.php b/inc/classes/main/compressor/class_NullCompressor.php index b4a1236..56b2d5f 100644 --- a/inc/classes/main/compressor/class_NullCompressor.php +++ b/inc/classes/main/compressor/class_NullCompressor.php @@ -3,9 +3,10 @@ * Null compression and decompression class * * @author Roland Haeder - * @version 0.0 + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/console/class_ConsoleTools.php b/inc/classes/main/console/class_ConsoleTools.php index 97f1bc2..5ba9ae6 100644 --- a/inc/classes/main/console/class_ConsoleTools.php +++ b/inc/classes/main/console/class_ConsoleTools.php @@ -2,10 +2,11 @@ /** * This class contains static helper functions for console applications * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/database/class_BaseDatabaseFrontend.php b/inc/classes/main/database/class_BaseDatabaseFrontend.php index 7d6f8a0..b8f0d43 100644 --- a/inc/classes/main/database/class_BaseDatabaseFrontend.php +++ b/inc/classes/main/database/class_BaseDatabaseFrontend.php @@ -2,11 +2,12 @@ /** * An abstract database access class for handling database I/O requests * - * @see DatabaseFrontendInterface An interface for database frontends (front-end to the application) - * @author Roland Haeder - * @version 0.0 + * @see DatabaseFrontendInterface - An interface for database frontends (front-end to the application) + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/database/classes/class_LocalFileDatabase.php b/inc/classes/main/database/classes/class_LocalFileDatabase.php index ff5f1dd..55875a6 100644 --- a/inc/classes/main/database/classes/class_LocalFileDatabase.php +++ b/inc/classes/main/database/classes/class_LocalFileDatabase.php @@ -4,11 +4,11 @@ * * This class serializes objects and saves them to local files. * - * - * @author Roland Haeder - * @version 0.1 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/debug/class_DebugConsoleOutput.php b/inc/classes/main/debug/class_DebugConsoleOutput.php index d92648e..82bcd7f 100644 --- a/inc/classes/main/debug/class_DebugConsoleOutput.php +++ b/inc/classes/main/debug/class_DebugConsoleOutput.php @@ -2,10 +2,11 @@ /** * A debug output class for the console (e.g. hub software) * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -61,29 +62,29 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output } /** - * Outputs the given data without HTML tags + * Assigns a variable for output * - * @param $output The HTML'ed output + * @param $var The variable we shall assign + * @param $value The value to store in the variable * @return void */ - public final function output ($outStream=false) { - // false will be silently ignored - if ($outStream !== false) { - $this->outputStream($outStream); - } + public final function assignVariable ($var, $value) { + // Empty stub! + trigger_error(__METHOD__.": Stub!"); } /** - * Assigns a variable for output + * Output the code * - * @param $var The variable we shall assign - * @param $value The value to store in the variable * @return void */ - public final function assignVariable ($var, $value) { - trigger_error(__METHOD__.": Stub!"); + public final function output ($outStream=false) { + // Empty output will be silently ignored + if ($outStream !== false) { + $this->outputStream($outStream); + } } } -// +// [EOF] ?> diff --git a/inc/classes/main/debug/class_DebugErrorLogOutput.php b/inc/classes/main/debug/class_DebugErrorLogOutput.php index 8916b05..c8e6293 100644 --- a/inc/classes/main/debug/class_DebugErrorLogOutput.php +++ b/inc/classes/main/debug/class_DebugErrorLogOutput.php @@ -2,10 +2,11 @@ /** * A debug output class for PHP's error_log() command * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -77,6 +78,7 @@ class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, Outpu * @return void */ public final function assignVariable ($var, $value) { + // Empty stub! trigger_error(__METHOD__.": Stub!"); } @@ -86,12 +88,12 @@ class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, Outpu * @return void */ public final function output ($outStream=false) { - // false will be silently ignored + // Empty output will be silently ignored if ($outStream !== false) { $this->outputStream($outStream); } } } -// +// [EOF] ?> diff --git a/inc/classes/main/debug/class_DebugWebOutput.php b/inc/classes/main/debug/class_DebugWebOutput.php index 062b2cc..ee3ae81 100644 --- a/inc/classes/main/debug/class_DebugWebOutput.php +++ b/inc/classes/main/debug/class_DebugWebOutput.php @@ -2,10 +2,11 @@ /** * A debug output class for the web browser * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,7 +21,7 @@ * 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 { +class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer { /** * Private constructor * @@ -59,6 +60,30 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger { public final function outputStream ($output) { trigger_error($output); } + + /** + * Assigns a variable for output + * + * @param $var The variable we shall assign + * @param $value The value to store in the variable + * @return void + */ + public final function assignVariable ($var, $value) { + // Empty stub! + trigger_error(__METHOD__.": Stub!"); + } + + /** + * Output the code + * + * @return void + */ + public final function output ($outStream=false) { + // Empty output will be silently ignored + if ($outStream !== false) { + $this->outputStream($outStream); + } + } } // [EOF] diff --git a/inc/classes/main/extended/class_ObjectLimits.php b/inc/classes/main/extended/class_ObjectLimits.php index 8cfb0ec..91dc519 100644 --- a/inc/classes/main/extended/class_ObjectLimits.php +++ b/inc/classes/main/extended/class_ObjectLimits.php @@ -3,10 +3,11 @@ * This object limits other objects. This is mostly being used to prepare * objects to the datatabase connection or else a lot heap would be saved. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -102,7 +103,7 @@ class ObjectLimits extends BaseFrameworkSystem { /** * Add a string directly to the limitation list * - * @param $str The string we want to add directly + * @param $str The string we want to add directly * @return void */ private final function addString ($str) { diff --git a/inc/classes/main/extended/class_SerializationContainer.php b/inc/classes/main/extended/class_SerializationContainer.php index b8790ea..d32551c 100644 --- a/inc/classes/main/extended/class_SerializationContainer.php +++ b/inc/classes/main/extended/class_SerializationContainer.php @@ -3,10 +3,11 @@ * This class contains object attributes which we can now send together to * other classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/io/class_FileIOStream.php b/inc/classes/main/io/class_FileIOStream.php index 0872f91..2eedf3c 100644 --- a/inc/classes/main/io/class_FileIOStream.php +++ b/inc/classes/main/io/class_FileIOStream.php @@ -2,10 +2,11 @@ /** * An universal class for file input/output streams. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/io/class_FrameworkDirectoryPointer.php b/inc/classes/main/io/class_FrameworkDirectoryPointer.php index 796c970..e8af817 100644 --- a/inc/classes/main/io/class_FrameworkDirectoryPointer.php +++ b/inc/classes/main/io/class_FrameworkDirectoryPointer.php @@ -2,10 +2,11 @@ /** * A class for directory reading and getting its contents * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/io/class_FrameworkFileInputPointer.php b/inc/classes/main/io/class_FrameworkFileInputPointer.php index 954dffe..534650a 100644 --- a/inc/classes/main/io/class_FrameworkFileInputPointer.php +++ b/inc/classes/main/io/class_FrameworkFileInputPointer.php @@ -2,10 +2,11 @@ /** * A class for reading files * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/io/class_FrameworkFileOutputPointer.php b/inc/classes/main/io/class_FrameworkFileOutputPointer.php index fba4602..59de4f6 100644 --- a/inc/classes/main/io/class_FrameworkFileOutputPointer.php +++ b/inc/classes/main/io/class_FrameworkFileOutputPointer.php @@ -2,10 +2,11 @@ /** * A class for writing files * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/language/class_LanguageSystem.php b/inc/classes/main/language/class_LanguageSystem.php index c9bf64d..419a856 100644 --- a/inc/classes/main/language/class_LanguageSystem.php +++ b/inc/classes/main/language/class_LanguageSystem.php @@ -3,10 +3,11 @@ * The language sub-system for handling language strings being used in the * application and whole framework * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/output/class_ConsoleOutput.php b/inc/classes/main/output/class_ConsoleOutput.php index 26dca78..374c2af 100644 --- a/inc/classes/main/output/class_ConsoleOutput.php +++ b/inc/classes/main/output/class_ConsoleOutput.php @@ -1,12 +1,13 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/output/class_WebOutput.php b/inc/classes/main/output/class_WebOutput.php index 8ed1c4f..40d425c 100644 --- a/inc/classes/main/output/class_WebOutput.php +++ b/inc/classes/main/output/class_WebOutput.php @@ -3,10 +3,11 @@ * This class simply puts HTML code / JavaScript code or CSS code out to the * browser * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/main/template/class_TemplateEngine.php b/inc/classes/main/template/class_TemplateEngine.php index 62d78cb..7454263 100644 --- a/inc/classes/main/template/class_TemplateEngine.php +++ b/inc/classes/main/template/class_TemplateEngine.php @@ -3,10 +3,11 @@ * The own template engine for loading caching and sending out the web pages * and emails. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -136,16 +137,16 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate * * @param $basePath The local base path for all templates * @param $langInstance An instance of LanguageSystem (default) - * @param $ioInstance An instance of FileIOHandler (default, middleware!) - * @return $tplInstance An instance of TemplateEngine - * @throws BasePathIsEmptyException If the provided $basePath is empty - * @throws InvalidBasePathStringException If $basePath is no string - * @throws BasePathIsNoDirectoryException If $basePath is no - * directory or not found - * @throws BasePathReadProtectedException If $basePath is - * read-protected + * @param $ioInstance An instance of FileIOHandler (default, middleware!) + * @return $tplInstance An instance of TemplateEngine + * @throws BasePathIsEmptyException If the provided $basePath is empty + * @throws InvalidBasePathStringException If $basePath is no string + * @throws BasePathIsNoDirectoryException If $basePath is no + * directory or not found + * @throws BasePathReadProtectedException If $basePath is + * read-protected */ - public final static function createTemplateEngine ($basePath, ManageableLanguage $langInstance, FileIOHandler $fileIOInstance) { + public final static function createTemplateEngine ($basePath, $langInstance, $ioInstance) { // Get a new instance $tplInstance = new TemplateEngine(); @@ -175,7 +176,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate // Set the language and IO instances $tplInstance->setLanguageInstance($langInstance); - $tplInstance->setIOInstance($fileIOInstance); + $tplInstance->setIOInstance($ioInstance); // Set template extensions $tplInstance->setRawTemplateExtension($cfgInstance->readConfig("raw_template_extension")); @@ -483,7 +484,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate * Private setter for raw template data * * @param $rawTemplateData The raw data from the template - * @return void + * @return void */ private final function setRawTemplateData ($rawTemplateData) { // Cast it to string diff --git a/inc/classes/middleware/class_BaseMiddleware.php b/inc/classes/middleware/class_BaseMiddleware.php index e0a8b6b..88bc16e 100644 --- a/inc/classes/middleware/class_BaseMiddleware.php +++ b/inc/classes/middleware/class_BaseMiddleware.php @@ -2,11 +2,12 @@ /** * An abstract middleware class for all other middlware classes * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/classes/middleware/compressor/class_CompressorChannel.php b/inc/classes/middleware/compressor/class_CompressorChannel.php index 05fbad0..5d5017c 100644 --- a/inc/classes/middleware/compressor/class_CompressorChannel.php +++ b/inc/classes/middleware/compressor/class_CompressorChannel.php @@ -1,12 +1,12 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/middleware/database/class_DatabaseConnection.php b/inc/classes/middleware/database/class_DatabaseConnection.php index 8499c0f..e6adbbe 100644 --- a/inc/classes/middleware/database/class_DatabaseConnection.php +++ b/inc/classes/middleware/database/class_DatabaseConnection.php @@ -2,10 +2,11 @@ /** * Database selector class * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/middleware/debug/class_DebugMiddleware.php b/inc/classes/middleware/debug/class_DebugMiddleware.php index e43ce8b..5193532 100644 --- a/inc/classes/middleware/debug/class_DebugMiddleware.php +++ b/inc/classes/middleware/debug/class_DebugMiddleware.php @@ -4,10 +4,11 @@ * become registered with this middleware because the back-fall class will * become deprecated soon. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/classes/middleware/io/class_FileIOHandler.php b/inc/classes/middleware/io/class_FileIOHandler.php index 40b2b35..7e624cc 100644 --- a/inc/classes/middleware/io/class_FileIOHandler.php +++ b/inc/classes/middleware/io/class_FileIOHandler.php @@ -3,10 +3,11 @@ * This is a file IO handler. It handles reading from and writing to files. * Missing paths in writing process will be automatically created. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/config.php b/inc/config.php index 62134c1..3a14eaa 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1,12 +1,14 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/inc/config/class_FrameworkConfiguration.php b/inc/config/class_FrameworkConfiguration.php index f49c3c2..a1ca42a 100644 --- a/inc/config/class_FrameworkConfiguration.php +++ b/inc/config/class_FrameworkConfiguration.php @@ -5,12 +5,13 @@ * NOTE: We cannot put this in inc/classes/ because it would be loaded (again) * in the class loader. See inc/loader/class_ClassLoader.php for instance * - * @see ClassLoader - * @author Roland Haeder - * @version 0.0 + * @see ClassLoader + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * + * @link http://www.mxchange.org + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/inc/database.php b/inc/database.php index b429a39..a8a9fcf 100644 --- a/inc/database.php +++ b/inc/database.php @@ -2,10 +2,11 @@ /** * Initializes the database layer * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +22,7 @@ * along with this program. If not, see . */ -// Initialize the layer +// Initialize layer $layer = null; // Is the type defined? diff --git a/inc/database/lib-local.php b/inc/database/lib-local.php index 18d5910..a689fed 100644 --- a/inc/database/lib-local.php +++ b/inc/database/lib-local.php @@ -2,10 +2,11 @@ /** * Initializes the local file database class * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,6 +21,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +// Zum Testen speichern wir in lokale Dateien (LocalFileDatabase) try { $layer = LocalFileDatabase::createLocalFileDatabase(PATH . "db/", FileIOHandler::getInstance()); } catch (SavePathIsEmptyException $e) { diff --git a/inc/file_io.php b/inc/file_io.php index d63a9a3..92c96b6 100644 --- a/inc/file_io.php +++ b/inc/file_io.php @@ -4,10 +4,11 @@ * the initialization was successfull or not because only some class * instances will we generated. * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +23,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +// Get the instance $io = FileIOHandler::createFileIOHandler(); // [EOF] diff --git a/inc/includes.php b/inc/includes.php index 28a5610..5cecef8 100644 --- a/inc/includes.php +++ b/inc/includes.php @@ -2,10 +2,11 @@ /** * Loads more include files by using the generic class loader * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,11 +22,8 @@ * along with this program. If not, see . */ -// Load the class loader first -require(sprintf("%sinc/loader/class_ClassLoader%s", - PATH, - FrameworkConfiguration::getInstance()->readConfig("php_extension")) -); +// Include the class loader function +require(sprintf("%sinc/loader/class_ClassLoader%s", PATH, FrameworkConfiguration::getInstance()->readConfig("php_extension"))); /** * Is the devel package included? diff --git a/inc/language.php b/inc/language.php index e9132cf..c806545 100644 --- a/inc/language.php +++ b/inc/language.php @@ -1,9 +1,9 @@ - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version * @@ -20,8 +20,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - -// Try it here... try { $lang = LanguageSystem::createLanguageSystem(sprintf("%s%s", PATH, diff --git a/inc/loader/class_ClassLoader.php b/inc/loader/class_ClassLoader.php index 38bfcd4..cd06562 100644 --- a/inc/loader/class_ClassLoader.php +++ b/inc/loader/class_ClassLoader.php @@ -2,17 +2,11 @@ /** * This class loads class include files with a specific prefix and suffix * - * ---------------------------------- - * 1.1 - * - loadClasses rewritten to fix some notices - * 1.0 - * - Initial release - * ---------------------------------- - * - * @author Roland Haeder - * @version 1.1 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,6 +20,13 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . + * + * ---------------------------------- + * 1.1 + * - loadClasses rewritten to fix some notices + * 1.0 + * - Initial release + * ---------------------------------- */ class ClassLoader { /** diff --git a/inc/output.php b/inc/output.php index f2dfcbe..87e8384 100644 --- a/inc/output.php +++ b/inc/output.php @@ -2,10 +2,11 @@ /** * Initializes the output middleware layer * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +22,7 @@ * along with this program. If not, see . */ -// Prepare debug outout middleware +// Debug-Ausgabe vorbereiten $debug = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getInstance()->readConfig("debug_engine")); // Leere Strings werden ignoriert und sollten zum Testen der Middleware genommen werden diff --git a/inc/selector.php b/inc/selector.php index 62f0e68..23acabe 100644 --- a/inc/selector.php +++ b/inc/selector.php @@ -2,10 +2,11 @@ /** * The application selector main include file * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/index.php b/index.php index 3a96063..86b8c44 100644 --- a/index.php +++ b/index.php @@ -7,10 +7,11 @@ * * But good little boys and girls would always initialize their variables... ;-) * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.3.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -- 2.39.5