]> git.mxchange.org Git - core.git/commitdiff
Introduced namespaces:
authorRoland Haeder <roland@mxchange.org>
Mon, 13 Feb 2017 19:08:26 +0000 (20:08 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:09:54 +0000 (22:09 +0100)
- always use this pattern CoreFramework\Foo[\Bar] for namespaces
- added lots of namespaces (breaks all stuff)
- added "import" for FrameworkInterface

Signed-off-by: Roland Häder <roland@mxchange.org>
79 files changed:
inc/config/class_FrameworkConfiguration.php
inc/main/classes/class_BaseFrameworkSystem.php
inc/main/classes/factories/logger/class_LoggerFactory.php
inc/main/classes/helper/captcha/class_BaseCaptcha.php
inc/main/classes/helper/captcha/web/class_GraphicalCodeCaptcha.php
inc/main/classes/helper/class_BaseHelper.php
inc/main/classes/lists/class_BaseList.php
inc/main/classes/mailer/class_BaseMailer.php
inc/main/classes/registry/class_
inc/main/classes/registry/class_BaseRegistry.php
inc/main/classes/registry/generic/class_Registry.php
inc/main/classes/registry/sub/class_SubRegistry.php
inc/main/classes/resolver/class_BaseResolver.php
inc/main/classes/rng/class_RandomNumberGenerator.php
inc/main/exceptions/database/local_file/class_SavePathIsEmptyException.php
inc/main/exceptions/file_directory/class_InvalidResourceException.php
inc/main/exceptions/file_directory/class_PathIsEmptyException.php
inc/main/exceptions/language/class_LanguagePathIsEmptyException.php
inc/main/exceptions/main/class_DimNotFoundInArrayException.php
inc/main/exceptions/main/class_InvalidObjectException.php
inc/main/exceptions/main/class_NullPointerException.php
inc/main/exceptions/main/class_ResponseHeadersAlreadySentException.php
inc/main/exceptions/main/class_UnsupportedOperationException.php
inc/main/exceptions/template/class_BasePathIsEmptyException.php
inc/main/exceptions/template/class_UnsupportedTemplateEngineException.php
inc/main/interfaces/actions/class_PerformableAction.php
inc/main/interfaces/application/class_ManageableApplication.php
inc/main/interfaces/auth/class_Authorizeable.php
inc/main/interfaces/block/class_Block.php
inc/main/interfaces/cache/class_Cacheable.php
inc/main/interfaces/captcha/class_SolveableCaptcha.php
inc/main/interfaces/class_
inc/main/interfaces/class_FrameworkInterface.php
inc/main/interfaces/client/class_Client.php
inc/main/interfaces/compressor/class_Compressor.php
inc/main/interfaces/controller/class_Controller.php
inc/main/interfaces/criteria/class_Criteria.php
inc/main/interfaces/criteria/extended/class_AddableCriteria.php
inc/main/interfaces/crypto/class_Cryptable.php
inc/main/interfaces/database/class_DatabaseWrapper.php
inc/main/interfaces/database/class_FrameworkDatabase.php
inc/main/interfaces/database/class_Updateable.php
inc/main/interfaces/debug/class_Debugger.php
inc/main/interfaces/discovery/class_Discoverable.php
inc/main/interfaces/feature/class_Feature.php
inc/main/interfaces/filesystem/class_Filesystem.php
inc/main/interfaces/filter/class_Filterable.php
inc/main/interfaces/handler/class_Handleable.php
inc/main/interfaces/helper/class_Helper.php
inc/main/interfaces/index/class_Indexable.php
inc/main/interfaces/io/class_CloseableFile.php
inc/main/interfaces/io/class_FilePointer.php
inc/main/interfaces/io/class_Streamable.php
inc/main/interfaces/io/directory/class_FrameworkDirectory.php
inc/main/interfaces/io/file/handler/class_IoHandler.php
inc/main/interfaces/language/class_ManageableLanguage.php
inc/main/interfaces/listener/class_Listenable.php
inc/main/interfaces/lists/class_Listable.php
inc/main/interfaces/login/class_LoginableUser.php
inc/main/interfaces/mailer/class_DeliverableMail.php
inc/main/interfaces/menu/class_RenderableMenu.php
inc/main/interfaces/parser/class_Parseable.php
inc/main/interfaces/reader/class_ReadableNews.php
inc/main/interfaces/registry/class_Register.php
inc/main/interfaces/registry/class_Registerable.php
inc/main/interfaces/request/class_Requestable.php
inc/main/interfaces/resolver/class_Resolver.php
inc/main/interfaces/response/class_Responseable.php
inc/main/interfaces/result/class_SearchableResult.php
inc/main/interfaces/stacker/class_Stackable.php
inc/main/interfaces/state/class_Stateable.php
inc/main/interfaces/streams/class_Stream.php
inc/main/interfaces/tasks/class_Taskable.php
inc/main/interfaces/template/class_CompileableTemplate.php
inc/main/interfaces/template/view/class_ViewHelper.php
inc/main/interfaces/user/class_ManageableAccount.php
inc/main/interfaces/visitor/class_Visitable.php
inc/main/interfaces/visitor/class_Visitor.php
inc/main/middleware/io/class_FileIoHandler.php

index c63775517ff9f65608d30123b7f2b59cf34cd8f3..0cafb48bb875e8b10d4178c72bcccdbb5c8b6c64 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Configuration;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A class for the configuration stuff implemented in a singleton design paddern
  *
 /**
  * A class for the configuration stuff implemented in a singleton design paddern
  *
@@ -408,7 +414,5 @@ class FrameworkConfiguration implements Registerable {
                // Return the result
                return $equals;
        }
                // Return the result
                return $equals;
        }
-}
 
 
-// [EOF]
-?>
+}
index 08d8ed93c58ce4c4b7a86b3035cf4d5cb66be8c7..a2dfabe22cd3989111da53b6c2ba8f3f77b57572 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Object;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * The simulator system class is the super class of all other classes. This
  * class handles saving of games etc.
 /**
  * The simulator system class is the super class of all other classes. This
  * class handles saving of games etc.
@@ -3482,7 +3488,5 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                // Finally clear the error because it has been handled
                socket_clear_error($socketResource);
        }
                // Finally clear the error because it has been handled
                socket_clear_error($socketResource);
        }
-}
 
 
-// [EOF]
-?>
+}
index 7b4a2be974d929399cf43c00bf8519c1d38c7e3b..379546dce3bb3e4b3169238a683eef5e9c8a4c79 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Logging;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A Logger factory
  *
 /**
  * A Logger factory
  *
@@ -45,7 +51,5 @@ class LoggerFactory extends BaseFactory {
        public static final function createLoggerInstance (FrameworkInterface $objectInstance) {
                // @TODO Unfinished work
        }
        public static final function createLoggerInstance (FrameworkInterface $objectInstance) {
                // @TODO Unfinished work
        }
-}
 
 
-// [EOF]
-?>
+}
index fabaaa09a5ec0cfef62400c6d80934eb21a33784..f703549035ca6a63945a91ec084bb8ed441256c1 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Captcha;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A general captcha
  *
 /**
  * A general captcha
  *
@@ -43,7 +49,5 @@ class BaseCaptcha extends BaseHelper {
                // Get an RNG from factory
                $this->setRngInstance(ObjectFactory::createObjectByConfiguredName('rng_class', array($extraInstance)));
        }
                // Get an RNG from factory
                $this->setRngInstance(ObjectFactory::createObjectByConfiguredName('rng_class', array($extraInstance)));
        }
-}
 
 
-// [EOF]
-?>
+}
index 783924b23b6cca187057a01ac5bd5c308539d49e..a380b310c8c2d2d334dc8fe9de8a786a11d80642 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Captcha;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A solveable graphical code CAPTCHA
  *
 /**
  * A solveable graphical code CAPTCHA
  *
@@ -151,7 +157,5 @@ class GraphicalCodeCaptcha extends BaseCaptcha implements SolveableCaptcha {
                // Get the content back
                $this->addContent($templateInstance->getRawTemplateData());
        }
                // Get the content back
                $this->addContent($templateInstance->getRawTemplateData());
        }
-}
 
 
-// [EOF]
-?>
+}
index 2e788593472fde84e82523db0a16fcea2487c320..253a6362f930284e6abec66719299f8504859f8b 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Helper;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A generic helper class with generic methods
  *
 /**
  * A generic helper class with generic methods
  *
@@ -548,7 +554,5 @@ class BaseHelper extends BaseFrameworkSystem {
        protected final function setPreviousSubGroupId ($previousSubGroupId) {
                $this->previousSubGroupId = (string) $previousSubGroupId;
        }
        protected final function setPreviousSubGroupId ($previousSubGroupId) {
                $this->previousSubGroupId = (string) $previousSubGroupId;
        }
-}
 
 
-// [EOF]
-?>
+}
index 627d59de77bf0e6600fe045f6fe49120ae2fdcd8..2eb7809dd3dc46557125800f5f6725ecd6e3d07c 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Lists;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A general list class
  *
 /**
  * A general list class
  *
@@ -475,7 +481,5 @@ class BaseList extends BaseFrameworkSystem implements IteratorAggregate, Countab
                // Set the entry
                $this->listEntries[$hash] = $entryArray;
        }
                // Set the entry
                $this->listEntries[$hash] = $entryArray;
        }
-}
 
 
-// [EOF]
-?>
+}
index 3682047781c4704e3465f07650b5e669d93ac059..d4472f7bcc7781b3a61c4a7d697053026759ab47 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Mailer;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A general mailer class for all other mailers
  *
 /**
  * A general mailer class for all other mailers
  *
@@ -187,7 +193,5 @@ class BaseMailer extends BaseFrameworkSystem {
        public final function getRecipientList () {
                return $this->getGenericArray('recipients');
        }
        public final function getRecipientList () {
                return $this->getGenericArray('recipients');
        }
-}
 
 
-// [EOF]
-?>
+}
index d63a7f9eb7c3919aedb11078ebcaabed39e9654e..9877fd7e3edea5e3389f35a91b73b15502de8d30 100644 (file)
@@ -1,4 +1,7 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Registry\!!!;
+
 /**
  * A ??? registry
  *
 /**
  * A ??? registry
  *
index 766c789d388cb138de5e2fb9555b569863acd90e..c94df61afe05592c1955e02ca1003cb1b6cc75be 100644 (file)
@@ -1,4 +1,7 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Registry;
+
 /**
  * A general Registry
  *
 /**
  * A general Registry
  *
index c63c537ff838cddc8a5b3597e933b1c92f5956d7..c3dd3f4eb5017e110f383bfee311eabf06bbf482 100644 (file)
@@ -1,4 +1,7 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Registry\Generic;
+
 /**
  * A registry for several data types and objects. Objects should be added by
  * addInstance() and therefore must implement the interface Registerable.
 /**
  * A registry for several data types and objects. Objects should be added by
  * addInstance() and therefore must implement the interface Registerable.
@@ -54,7 +57,6 @@ class Registry extends BaseRegistry implements Register {
                // Return the instance
                return self::$registryInstance;
        }
                // Return the instance
                return self::$registryInstance;
        }
-}
 
 
+}
 // [EOF]
 // [EOF]
-?>
index 076d42f8585c1d2a1389dee31e5280197b5b39ae..d9b66bc19b94028d0a5580e35feae70d546356ae 100644 (file)
@@ -1,4 +1,7 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Registry\Sub;
+
 /**
  * A Sub registry
  *
 /**
  * A Sub registry
  *
@@ -44,7 +47,6 @@ class SubRegistry extends BaseRegistry implements Register {
                // ... and return it
                return $registryInstance;
        }
                // ... and return it
                return $registryInstance;
        }
-}
 
 
+}
 // [EOF]
 // [EOF]
-?>
index f4e6234604d42977fec25a8d05181ddd36525f59..4c45050299dc5ad8d83d031be9a5ef13b4ee0815 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Resolver;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A generic resolver class
  *
 /**
  * A generic resolver class
  *
@@ -126,7 +132,5 @@ class BaseResolver extends BaseFrameworkSystem {
        protected final function setResolvedInstance (FrameworkInterface $resolvedInstance) {
                $this->resolvedInstance = $resolvedInstance;
        }
        protected final function setResolvedInstance (FrameworkInterface $resolvedInstance) {
                $this->resolvedInstance = $resolvedInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 6a1733bcc69544e63b3bc5d879813ef6f4f7f7b1..7eda8f00123fa80aff8ac2f1c73783938b743112 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Crypto\RandomNumber;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A standard random number generator
  *
 /**
  * A standard random number generator
  *
@@ -213,7 +219,5 @@ class RandomNumberGenerator extends BaseFrameworkSystem {
                // Return it
                return $key;
        }
                // Return it
                return $key;
        }
-}
 
 
-// [EOF]
-?>
+}
index 819df3f31cfb0a0173b099c07d19146951f21d69..d188f15949f85e0863e6745c41d273f4e40989b6 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when the save path string is empty
  *
 /**
  * An exception thrown when the save path string is empty
  *
@@ -7,6 +13,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Please don't use this anymore.
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -39,7 +46,5 @@ class SavePathIsEmptyException extends DatabaseException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index 7cddb3279d7045a0276ee698a02513ba97972776..14a143a01bdf9b0116b7ba248c7896a3590d6bb4 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Resource;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when a given resource is invalid
  *
 /**
  * An exception thrown when a given resource is invalid
  *
@@ -39,7 +45,5 @@ class InvalidResourceException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index cfbbd6879e36c761e3e50c29a7c39be23a9d2217..569f0714f41b1d8e1957a8cd75db7b9f4ea49b4e 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when the path string is empty
  *
 /**
  * An exception thrown when the path string is empty
  *
@@ -39,7 +45,5 @@ class PathIsEmptyException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index 6540767a7d7aafc23f1b5c7a7f0f190e1b582af5..5e8191bc7f205bece715701998288be34d28e7e4 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Localization;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when the language path string is empty
  *
 /**
  * An exception thrown when the language path string is empty
  *
@@ -39,7 +45,5 @@ class LanguagePathIsEmptyException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index df2cfdf5b8d3e1bfa88f6d686d1a15a3d6f6a15b..c58591b14c1f42ba9388470920db46273035bb03 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thron when dimension entries are not found in an array
  *
 /**
  * An exception thron when dimension entries are not found in an array
  *
@@ -7,7 +13,8 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
- * 
+ * @deprecated Please don't use this anymore
+ *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
@@ -44,7 +51,5 @@ class DimNotFoundInArrayException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index 42deb3d5629bec87f192a7f69cea4a51e240d2bd..7ce7a9374099ef667d5b5f5a0394bc7e90351fe8 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when an instance variable instances a non-object 
  *
 /**
  * An exception thrown when an instance variable instances a non-object 
  *
@@ -7,6 +13,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -39,7 +46,5 @@ class InvalidObjectException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index fce357cc67a590b4a169b548a80eb4d814422d6b..b998fe7e9323713ec75906b4a6fc327397a35852 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Generic;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when an object instance is null
  *
 /**
  * An exception thrown when an object instance is null
  *
@@ -39,7 +45,5 @@ class NullPointerException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index ffd8ccfca5a9b9c2263a6e8f7e256c0c838366eb..77424c379f03fe0913c1a01bee4e564123874d52 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Response;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when an object instance is null
  *
 /**
  * An exception thrown when an object instance is null
  *
@@ -39,7 +45,5 @@ class ResponseHeadersAlreadySentException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index a56e0b97515daba30224c4276a7b6c4e8894fe4e..8afaec33a2d9e28d476b9e3c08bfcac78c58b09a 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Generic;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when an unfinished method is called or when it should
  * never be called.
 /**
  * An exception thrown when an unfinished method is called or when it should
  * never be called.
@@ -51,7 +57,5 @@ class UnsupportedOperationException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index b50478fe82fb1aa4560b1ef448252c594d5bf6c3..aed9cdf785cbec1b156873bb0f876a6fd8e2f1e7 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Template;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when the base path is empty
  *
 /**
  * An exception thrown when the base path is empty
  *
@@ -39,7 +45,5 @@ class BasePathIsEmptyException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index 1598276c94854b5807adf2fc6eeca74f668649f3..06ae2fb6f1115ff1a6e57fba976eb1a6807df766 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Template;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An exception thrown when the template engine instance is not supported
  *
 /**
  * An exception thrown when the template engine instance is not supported
  *
@@ -38,7 +44,5 @@ class UnsupportedTemplateEngineException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index b4a000d425ffbc4aa248a70f08ac16489bf269be..ee4943c6d898a34b592a37acc3cb4a5da60fb4ba 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Action;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for performable actions
  *
 /**
  * An interface for performable actions
  *
@@ -30,7 +36,5 @@ interface PerformableAction extends FrameworkInterface {
         * @return      void
         */
        function execute (Requestable $requestInstance, Responseable $responseInstance);
         * @return      void
         */
        function execute (Requestable $requestInstance, Responseable $responseInstance);
-}
 
 
-// [EOF]
-?>
+}
index 91e189c23e277ba0c646b5e6287f0dcfeb34fea2..d2fbbe4092c303f53320ff4b7c0aab7d3f2c73e1 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Manager;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for managing applications. This can be a lot. E.g.:
  *
 /**
  * An interface for managing applications. This can be a lot. E.g.:
  *
@@ -58,7 +64,5 @@ interface ManageableApplication extends FrameworkInterface {
         * @todo        Nothing to add?
         */
        function assignExtraTemplateData (CompileableTemplate $templateInstance);
         * @todo        Nothing to add?
         */
        function assignExtraTemplateData (CompileableTemplate $templateInstance);
-}
 
 
-// [EOF]
-?>
+}
index abcfe5c9cb0ffb802a0a2bf9d8f4d2253c4daefb..af8e897f650ce4ac8d74e36d5e6f1ada7a41f9ad 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Auth;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for authorization methods
  *
 /**
  * An interface for authorization methods
  *
@@ -35,7 +41,5 @@ interface Authorizeable extends FrameworkInterface {
         * @return      void
         */
        function updateAuthData ();
         * @return      void
         */
        function updateAuthData ();
-}
 
 
-// [EOF]
-?>
+}
index 1dc712ef32d53c2d67ecc049a63c68b4e978e12c..a424ad04e184023a777eeef396ab67e427ef9b00 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A block interface
  *
 /**
  * A block interface
  *
@@ -148,7 +154,5 @@ interface Block extends FrameworkInterface {
         * @return      $seekPosition   Found next gap's seek position
         */
        function searchNextGap ($length);
         * @return      $seekPosition   Found next gap's seek position
         */
        function searchNextGap ($length);
-}
 
 
-// [EOF]
-?>
+}
index ef3520dc6112bb9c569b15e3b9af81e63764a9c5..d83846a0f859ddc7bfd0bdc0e974c1548a211068 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Cache;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for classes which are "able" to cache
  *
 /**
  * An interface for classes which are "able" to cache
  *
@@ -56,7 +62,5 @@ interface Cacheable extends FrameworkInterface {
         * @return      void
         */
        function purgeOffset($offset);
         * @return      void
         */
        function purgeOffset($offset);
-}
 
 
-// [EOF]
-?>
+}
index 05255e80de8ebac68d9a838e00dd0ffaedefaa0b..763c5f82705179998a33d32fbf00af0d9dee7c37 100644 (file)
@@ -1,4 +1,11 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Captcha;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
+
 /**
  * An interface for solveable CAPTCHAs
  *
 /**
  * An interface for solveable CAPTCHAs
  *
@@ -35,7 +42,5 @@ interface SolveableCaptcha extends FrameworkInterface {
         * @return      void
         */
        function renderCode ();
         * @return      void
         */
        function renderCode ();
-}
 
 
-// [EOF]
-?>
+}
index 37e135ec6e57f7b0cc31815fe6648752f046a4b2..5cd1b5d5a24e28c77662c611bcfb2957d391f646 100644 (file)
@@ -1,4 +1,7 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\!!!;
+
 /**
  * A ??? interface
  *
 /**
  * A ??? interface
  *
index c5bb52007161ed302c39c9219ef20dd2f2203c40..909832f937b0ee9b51174e482433e7e036454a65 100644 (file)
@@ -1,4 +1,7 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Generic;
+
 /**
  * This is the top-level interface for all other interfaces and should contain
  * method stubs which is being used in every class
 /**
  * This is the top-level interface for all other interfaces and should contain
  * method stubs which is being used in every class
@@ -57,7 +60,5 @@ interface FrameworkInterface {
         * @return      $hashCode       The hash code respresenting this class
         */
        function hashCode ();
         * @return      $hashCode       The hash code respresenting this class
         */
        function hashCode ();
-}
 
 
-// [EOF]
-?>
+}
index 345227770c5edf8d9d2405e0a5643002de3709c0..e26ac7a993c7f833233444d6ad75b4591ec800ff 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Client;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for clients (e.g. HTTP, FTP, ...)
  *
 /**
  * An interface for clients (e.g. HTTP, FTP, ...)
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Client extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Client extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index 19b44b968dabf58e8bc2d89d76a5bfcef007fd3a..2f2037e7c2700bfe8f39e0bbd7c12ccf99aec68f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Compression;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for compression classes
  *
 /**
  * An interface for compression classes
  *
@@ -46,7 +52,5 @@ interface Compressor extends FrameworkInterface {
         * @return      $string The compressor's file extension
         */
        function getCompressorExtension ();
         * @return      $string The compressor's file extension
         */
        function getCompressorExtension ();
-}
 
 
-// [EOF]
-?>
+}
index c803ee4860e6f810a79d74b025c66910f9e1c40e..3d73ce15e25c3f2683ecc45c0c897c200a6fa19d 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Controller;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for controller
  *
 /**
  * An interface for controller
  *
@@ -30,7 +36,5 @@ interface Controller extends FrameworkInterface {
         * @return      void
         */
        function handleRequest (Requestable $requestInstance, Responseable $responseInstance);
         * @return      void
         */
        function handleRequest (Requestable $requestInstance, Responseable $responseInstance);
-}
 
 
-// [EOF]
-?>
+}
index 529b75a2ddaa987b86ed6e892b85acbfabd8ee03..fc8414b58d0e43406207fcede1b677b099187de5 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Criteria;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for criterias
  *
 /**
  * An interface for criterias
  *
@@ -243,7 +249,5 @@ interface Criteria extends FrameworkInterface {
         * @return      $count  Count of all criteria entries
         */
        function countExclude ();
         * @return      $count  Count of all criteria entries
         */
        function countExclude ();
-}
 
 
-// [EOF]
-?>
+}
index 9cadf56027f83b22e690234ae034319c78fc8131..71673a84ff6cbc9c7ffa878873efa9f2f97d8a68 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Criteria;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for classes which are allowed to add criteria
  *
 /**
  * An interface for classes which are allowed to add criteria
  *
@@ -30,7 +36,5 @@ interface AddableCriteria extends FrameworkInterface {
         * @return      void
         */
        function addElementsToDataSet (StoreableCriteria $criteriaInstance, Requestable $requestInstance = NULL);
         * @return      void
         */
        function addElementsToDataSet (StoreableCriteria $criteriaInstance, Requestable $requestInstance = NULL);
-}
 
 
-// [EOF]
-?>
+}
index e5968a0e21211b5f272692cac52a692cfda993e5..4dcfef40065874ac1da4c5d7916a3288fb6cdbbb 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Cryto;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A helper class for cryptographical things like hashing passwords and so on
  *
 /**
  * A helper class for cryptographical things like hashing passwords and so on
  *
@@ -51,7 +57,5 @@ interface Cryptable extends FrameworkInterface {
         * @return      $str            The unencrypted string
         */
        function decryptString ($encrypted);
         * @return      $str            The unencrypted string
         */
        function decryptString ($encrypted);
-}
 
 
-// [EOF]
-?>
+}
index 4811007d7460dd5e09825f89fe36f9590198697e..c38585d0ccb752c4fd5039b523fa0436cb9d6f4e 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Wrapper\Database;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * The general interface for all other database wrappers
  *
 /**
  * The general interface for all other database wrappers
  *
@@ -68,7 +74,5 @@ interface DatabaseWrapper extends FrameworkInterface {
         * @return      $count  Total rows of this table
         */
        function countTotalRows();
         * @return      $count  Total rows of this table
         */
        function countTotalRows();
-}
 
 
-// [EOF]
-?>
+}
index c132e892f4ed0a00d34bb962dbc65e53b4a207d1..d982c6edc6657b2624584376aba5a7ce7cf0a771 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Database;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * The general interface for all other database interfaces
  *
 /**
  * The general interface for all other database interfaces
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface FrameworkDatabase extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface FrameworkDatabase extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index 3f0721c51e7de430f809555ff4592ba17bef727e..70f26343c5d9a79065f7f3d13746dff6d12b9ca7 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Database;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for classes which are allowed to update database records
  *
 /**
  * An interface for classes which are allowed to update database records
  *
@@ -30,7 +36,5 @@ interface Updateable extends FrameworkInterface {
         * @return      void
         */
        function updateDatabaseField ($fieldName, $fieldValue);
         * @return      void
         */
        function updateDatabaseField ($fieldName, $fieldValue);
-}
 
 
-// [EOF]
-?>
+}
index 9ec6366d9fb781c4fa87c8dd0f6ccd3c3da5bb80..b6961585d21beae095ac7d548bca9e4e73ce0fe5 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Debug;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for debugger classes
  *
 /**
  * An interface for debugger classes
  *
@@ -30,7 +36,5 @@ interface Debugger extends FrameworkInterface {
         * @return      void
         */
        function outputStream ($output, $stripTags = FALSE);
         * @return      void
         */
        function outputStream ($output, $stripTags = FALSE);
-}
 
 
-// [EOF]
-?>
+}
index 5b156eb4dae2f1e73d1457371165031b29b64662..a28c1f6cdc1ca64b9222df4b02df38b861aa5043 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Discovery;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for discovery
  *
 /**
  * An interface for discovery
  *
@@ -37,7 +43,5 @@ interface Discoverable extends FrameworkInterface {
         * @return      void
         */
        function addResultsToHelper (HelpableTemplate $helperInstance);
         * @return      void
         */
        function addResultsToHelper (HelpableTemplate $helperInstance);
-}
 
 
-// [EOF]
-?>
+}
index 74ccaf805a3a8d075c15fcb36851b1ecf6cd7242..6485e73864c0f3342a0342375128974af4fce72f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Feature;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A Feature interface
  *
 /**
  * A Feature interface
  *
@@ -28,7 +34,5 @@ interface Feature extends FrameworkInterface {
         * @return      $isAvailable    Whether this feature is available
         */
        function isFeatureAvailable ();
         * @return      $isAvailable    Whether this feature is available
         */
        function isFeatureAvailable ();
-}
 
 
-// [EOF]
-?>
+}
index f4c6931d072148a6df48450bb01e63ace4ede9c9..c588bb7b528584edbcb3dac145ed616205492b0b 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\FileSystem;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A virtual file system interface
  *
 /**
  * A virtual file system interface
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Filesystem extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Filesystem extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index ad33b1146dfedb09c345b249eb372f7033f2200c..5956f96495c0664120649773f42d1e1469a9c5fa 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Filter;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A class for pre and post filters
  *
 /**
  * A class for pre and post filters
  *
@@ -30,7 +36,5 @@ interface Filterable extends FrameworkInterface {
         * @return      void
         */
        function execute (Requestable $requestInstance, Responseable $responseInstance);
         * @return      void
         */
        function execute (Requestable $requestInstance, Responseable $responseInstance);
-}
 
 
-// [EOF]
-?>
+}
index bedc453213436638e0fc67fd4162baf6ad894cd3..9944d0319ffe6247b3e89dddae8176e32ba8e85e 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Handler;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A general interface for handlers
  *
 /**
  * A general interface for handlers
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Handleable extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Handleable extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index 437bcf2a2f3a9cdd607233c651c776205f33de01..4308a7488671243b404f7260af10b3cc9169f513 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Helper;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A Helper interface
  *
 /**
  * A Helper interface
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Helper extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Helper extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index f990866d0035e97c82f8b93f7fc59bd36d029cdc..48c7c0dafd3b47c849285606af501b4a0720dcdb 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Index;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for Indexable classes
  *
 /**
  * An interface for Indexable classes
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Indexable extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Indexable extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index cf6f671024ca6e5c9cd546eeef5f182bec7e55a6..28f540f555fa273515b5aa2dca6d8c2745f36a60 100644 (file)
@@ -1,4 +1,11 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
+
 /**
  * An interface for closeable files
  *
 /**
  * An interface for closeable files
  *
@@ -31,7 +38,5 @@ interface CloseableFile extends FrameworkInterface {
         * @throws      InvalidResourceException        If there is being set
         */
        function closeFile ();
         * @throws      InvalidResourceException        If there is being set
         */
        function closeFile ();
-}
 
 
-// [EOF]
-?>
+}
index 633bf570c69484de2bcba5b669623db020b544b6..97442f73a618f34c598eb025c3f0d8068c353d5d 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for file pointers
  *
 /**
  * An interface for file pointers
  *
@@ -42,7 +48,5 @@ interface FilePointer extends FrameworkInterface {
         * @return      $isEndOfFileReached             Whether the EOF has been reached
         */
        function isEndOfFileReached ();
         * @return      $isEndOfFileReached             Whether the EOF has been reached
         */
        function isEndOfFileReached ();
-}
 
 
-// [EOF]
-?>
+}
index 2e47c6271d881a21ad0dd5d54120aa00f6efd279..d745474df253970b409d3073bb4dc7feacd7cb53 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Streams;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for streams
  *
 /**
  * An interface for streams
  *
@@ -44,7 +50,5 @@ interface Streamable extends FrameworkInterface {
         * @return      $size   Size (in bytes) of file
         */
        function size ();
         * @return      $size   Size (in bytes) of file
         */
        function size ();
-}
 
 
-// [EOF]
-?>
+}
index ccb37f21380a07e202f6ec066dbed3a475f2c35a..c2d4ed0a6816ccab5f08a7bee614ffd9a6f4e601 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for directorties
  *
 /**
  * An interface for directorties
  *
@@ -58,7 +64,5 @@ interface FrameworkDirectory extends FrameworkInterface {
         * @return      $pathName       The current path name
         */
        function getPathName ();
         * @return      $pathName       The current path name
         */
        function getPathName ();
-}
 
 
-// [EOF]
-?>
+}
index 099442348b9ecda04cb32791eff751a7e0358bde..dbd58766f341f91b4c2c4021f50a1ada574fae84 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Stream;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for I/O handlers
  *
 /**
  * An interface for I/O handlers
  *
@@ -61,7 +67,5 @@ interface IoHandler extends FileInputStreamer, FileOutputStreamer {
         * @return      void
         */
        function saveStreamToFile ($fileName, $dataStream, FrameworkInterface $objectInstance = NULL);
         * @return      void
         */
        function saveStreamToFile ($fileName, $dataStream, FrameworkInterface $objectInstance = NULL);
-}
 
 
-// [EOF]
-?>
+}
index 25d7f33ae306c3daa2d8136ff653c8b2bc30af41..d448f022b988a34976af3e090d76ea8b418e647b 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Localization;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for language systems
  *
 /**
  * An interface for language systems
  *
@@ -28,7 +34,5 @@ interface ManageableLanguage extends FrameworkInterface {
         * @return      void
         */
        function initLanguageStrings();
         * @return      void
         */
        function initLanguageStrings();
-}
 
 
-// [EOF]
-?>
+}
index 0559e7207fd90a7e358795b4476385ead6c362c0..bac35bf228124a9db03dd660f7e910a8c625c5f1 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Listener;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for listeners
  *
 /**
  * An interface for listeners
  *
@@ -79,7 +85,5 @@ interface Listenable extends FrameworkInterface {
         * @return      $poolInstance   The peer pool instance we shall set
         */
        function getPoolInstance ();
         * @return      $poolInstance   The peer pool instance we shall set
         */
        function getPoolInstance ();
-}
 
 
-// [EOF]
-?>
+}
index 583f39470861ad24eed9c9021e07d9ea14e42def..359b012d3baebbb465a3954a8364968121d40dc7 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Lists;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for lists
  *
 /**
  * An interface for lists
  *
@@ -83,7 +89,5 @@ interface Listable extends FrameworkInterface, IteratorAggregate {
         * @return      void
         */
        function clearList ();
         * @return      void
         */
        function clearList ();
-}
 
 
-// [EOF]
-?>
+}
index 30777c63d1a8cbaa10dc75a3e18ec7f6220f7927..6ddf2dad5481311146445d800504ad3c69f8fbad 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Auth;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for user login classes
  *
 /**
  * An interface for user login classes
  *
@@ -41,7 +47,5 @@ interface LoginableUser extends FrameworkInterface {
         * @return
         */
        function testLogin (Requestable $requestInstance);
         * @return
         */
        function testLogin (Requestable $requestInstance);
-}
 
 
-// [EOF]
-?>
+}
index 251d30506627651af95baa8af1e1b90afbb71b6a..8e0b31f75b926de4f16a48b6e5c3b93214d18373 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Mailer;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for deliverable mail aka. mailer classes
  *
 /**
  * An interface for deliverable mail aka. mailer classes
  *
@@ -50,7 +56,5 @@ interface DeliverableMail extends FrameworkInterface {
         * @return      void
         */
        function sendAdminNotification ();
         * @return      void
         */
        function sendAdminNotification ();
-}
 
 
-// [EOF]
-?>
+}
index 8b0281c2e403184b3c0e834bb79d10cd2ebef389..5d2ba8b27c86d00820596b54e6a80c9c779d6c75 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Menu;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for renderable menus
  *
 /**
  * An interface for renderable menus
  *
@@ -38,7 +44,5 @@ interface RenderableMenu extends FrameworkInterface {
         * @return      void
         */
        function transferContentToTemplateEngine (CompileableTemplate $templateInstance);
         * @return      void
         */
        function transferContentToTemplateEngine (CompileableTemplate $templateInstance);
-}
 
 
-// [EOF]
-?>
+}
index 7f69346cb1243ffe7f83725e0804271c61637093..f3880bef4684cd7010c007870e6ecafc977ce91d 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Parser;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A Parseable interface
  *
 /**
  * A Parseable interface
  *
@@ -30,7 +36,5 @@ interface Parseable extends FrameworkInterface {
         * @throws      XmlParserException      If an XML error was found
         */
        function parseXmlContent ($content);
         * @throws      XmlParserException      If an XML error was found
         */
        function parseXmlContent ($content);
-}
 
 
-// [EOF]
-?>
+}
index 05cb67401fa18dfd7bddd938356da4c2460dc0eb..88d4c60b0410b97597374f0ccfc4d4ef7dcc8be7 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Reader\News;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for news reader
  *
 /**
  * An interface for news reader
  *
@@ -28,7 +34,5 @@ interface ReadableNews extends FrameworkInterface {
         * @return      void
         */
        function initializeReader();
         * @return      void
         */
        function initializeReader();
-}
 
 
-// [EOF]
-?>
+}
index e06eb13b3572733ed124c7643b635c24091df991..33304d39bfe8d58261463e287a96324387b1f882 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Registry;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for registries
  *
 /**
  * An interface for registries
  *
@@ -46,7 +52,5 @@ interface Register extends FrameworkInterface {
         * @return      $objectInstance         An instance we shall store
         */
        function getInstance ($instanceKey);
         * @return      $objectInstance         An instance we shall store
         */
        function getInstance ($instanceKey);
-}
 
 
-// [EOF]
-?>
+}
index f011291952072014b65e7f8a14f548aca2e8940f..f6905a410ef4d428dbe4baf05e031c24b9c906ce 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Registry;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A class for registerable classes
  *
 /**
  * A class for registerable classes
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Registerable extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Registerable extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index a68101441c7e6b2756b8ba8c41c4fdc4bb41f6e4..d4a1efedba97a828cee9c36465fa877312c3e90b 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Request;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for requests
  *
 /**
  * An interface for requests
  *
@@ -98,7 +104,5 @@ interface Requestable extends FrameworkInterface {
         * @return      $isPost         Whether the request method is POST
         */
        function isPostRequestMethod ();
         * @return      $isPost         Whether the request method is POST
         */
        function isPostRequestMethod ();
-}
 
 
-// [EOF]
-?>
+}
index 00ed8d84029d91c9478f9395bf45e9768e1ce1f7..bc0c5c8968da5c549cb404da6ef6434a25fcb8d5 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Resolver;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for all resolvers
  *
 /**
  * An interface for all resolvers
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Resolver extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Resolver extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index 2a5f2cf1dc2f2181468bc10c8d9346a703231c90..d42751ec24511492da48ed25641abe52cc9a9488 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Response;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for responses
  *
 /**
  * An interface for responses
  *
@@ -108,7 +114,5 @@ interface Responseable extends FrameworkInterface {
         * @return      void
         */
        function refreshCookie ($cookieName);
         * @return      void
         */
        function refreshCookie ($cookieName);
-}
 
 
-// [EOF]
-?>
+}
index 6764f66e17872ee3f1478e4205d528d5afaf62de..57282f47478c8c700b0a00431cbe9f3b05b7b0a3 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Database\Result;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for searchable results
  *
 /**
  * An interface for searchable results
  *
@@ -38,7 +44,5 @@ interface SearchableResult extends FrameworkInterface {
         * @return      void
         */
        function solveResultIndex ($databaseColumn, DatabaseWrapper $wrapperInstance, array $callBack);
         * @return      void
         */
        function solveResultIndex ($databaseColumn, DatabaseWrapper $wrapperInstance, array $callBack);
-}
 
 
-// [EOF]
-?>
+}
index 4e450e1fb2e043d4d48033bfda53007c7c6732a8..c20937f5415fbe6f29ed52a18b5ceae66f30c875 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Stackable;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A Stackable interface
  *
 /**
  * A Stackable interface
  *
@@ -68,7 +74,5 @@ interface Stackable extends FrameworkInterface {
         * @throws      NoStackerException      If given stack is missing
         */
        function isStackEmpty ($stackerName);
         * @throws      NoStackerException      If given stack is missing
         */
        function isStackEmpty ($stackerName);
-}
 
 
-// [EOF]
-?>
+}
index 63382f4ea27cc39833b51285e597470cc413fd25..f9ab6cb5f0072933ca0756b12678e7cae5d3dbb3 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\State;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * A Stateable interface
  *
 /**
  * A Stateable interface
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Stateable extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Stateable extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index c7469d8ff8740b6976c9382f44645a462cda565f..ce54671f10f17ecfcf5b5c84c29a51ff6117e52e 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Stream;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for streams
  *
 /**
  * An interface for streams
  *
@@ -29,7 +35,5 @@ interface Stream extends FrameworkInterface {
         * @return      $data   The data (string mostly) to "stream"
         */
        function streamData ($data);
         * @return      $data   The data (string mostly) to "stream"
         */
        function streamData ($data);
-}
 
 
-// [EOF]
-?>
+}
index 3cc8984d72cf0891fde4af3a8abcd94895c42d7b..a82d74c27f9e2c814fe5880e5460d6e102535974 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Task;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for tasks
  *
 /**
  * An interface for tasks
  *
@@ -43,7 +49,5 @@ interface Taskable extends FrameworkInterface {
         * @return      void
         */
        function doShutdown ();
         * @return      void
         */
        function doShutdown ();
-}
 
 
-// [EOF]
-?>
+}
index e9a09f951b7f5b2cf565b91138364959025406a4..8b8e7a96b0fbb6f43a84d028ecc3d0c7d27d6a5f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Template;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for template engines
  *
 /**
  * An interface for template engines
  *
@@ -279,7 +285,5 @@ interface CompileableTemplate extends FrameworkInterface {
         * @return      $variableGroups All variable groups
         */
        function getVariableGroups ();
         * @return      $variableGroups All variable groups
         */
        function getVariableGroups ();
-}
 
 
-// [EOF]
-?>
+}
index 258144a196aacb3a2d11c110f8425d1a1d6cad9c..0dcd8b89cdd6d30cd90b30e3b3f66cc2070c145f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Helper\View;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for view helpers
  *
 /**
  * An interface for view helpers
  *
@@ -29,7 +35,5 @@ interface ViewHelper extends FrameworkInterface {
         * @return      mixed   Unknown return arguments, or void
         */
        function execute (array $args = NULL);
         * @return      mixed   Unknown return arguments, or void
         */
        function execute (array $args = NULL);
-}
 
 
-// [EOF]
-?>
+}
index 7a0f72db6ba96877986c5dd812abddbcdb39edff..eca48209314cd2e5cd103b47e38308f022c4ef8f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\User;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for manageable accounts (logged-in users and guests likewise)
  *
 /**
  * An interface for manageable accounts (logged-in users and guests likewise)
  *
@@ -44,7 +50,5 @@ interface ManageableAccount extends FrameworkInterface {
         * @return      $matches                        Whether the supplied password hash matches
         */
        function ifPasswordHashMatches (Requestable $requestInstance);
         * @return      $matches                        Whether the supplied password hash matches
         */
        function ifPasswordHashMatches (Requestable $requestInstance);
-}
 
 
-// [EOF]
-?>
+}
index faf76a2a967d5e27f1a967725ff53610a9a43871..cc7cc69913e01c3463cb2e993c032e767755f632 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Visitor;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for a visitable class that 'accepts' visitors
  *
 /**
  * An interface for a visitable class that 'accepts' visitors
  *
@@ -29,7 +35,5 @@ interface Visitable extends FrameworkInterface {
         * @return      void
         */
        function accept (Visitor $visitorInstance);
         * @return      void
         */
        function accept (Visitor $visitorInstance);
-}
 
 
-// [EOF]
-?>
+}
index b22ea92fdd56c6ffbf4115671a43a00acd71f05b..90abc4ad8923e29b2aef266ffebfb76af605a79f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Visitor;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * An interface for the visitor implementation
  *
 /**
  * An interface for the visitor implementation
  *
@@ -22,7 +28,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Visitor extends FrameworkInterface {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Visitor extends FrameworkInterface {
-}
 
 
-// [EOF]
-?>
+}
index f65b9897a61d56a2c7d83a47987bda7700bdb64c..f85d4fd2a7b8fc1bc847fca6c466f1907bda0991 100644 (file)
@@ -1,4 +1,10 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Filesystem;
+
+// Load framework stuff
+use CoreFramework\Generic\FrameworkInterface;
+
 /**
  * This is a file IO handler. It handles reading from and writing to files.
  * Missing paths in writing process will be automatically created.
 /**
  * This is a file IO handler. It handles reading from and writing to files.
  * Missing paths in writing process will be automatically created.
@@ -196,7 +202,6 @@ class FileIoHandler extends BaseMiddleware implements IoHandler {
        public function size () {
                $this->partialStub();
        }
        public function size () {
                $this->partialStub();
        }
-}
 
 
+}
 // [EOF]
 // [EOF]
-?>