Continued:
authorRoland Haeder <roland@mxchange.org>
Sun, 26 Feb 2017 21:19:53 +0000 (22:19 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:11:02 +0000 (22:11 +0100)
- added namespace to class config entries
- added "import" of LanguageSystem
- added "import" of BaseTask (and in class template, too)
- added "import" of Visitable
- added "import" of ManageableGuest
- added "import" of BaseIndex, Indexable and IndexableStack
- added "import" of CalculatableBlock
- and no "we", better neutral words

Signed-off-by: Roland H├Ąder <roland@mxchange.org>
19 files changed:
framework/config.php
framework/main/classes/class_BaseFrameworkSystem.php
framework/main/classes/factories/index/class_FileStackIndexFactory.php
framework/main/classes/file_directories/binary/class_BaseBinaryFile.php
framework/main/classes/handler/tasks/class_TaskHandler.php
framework/main/classes/index/class_
framework/main/classes/index/file_stack/class_FileStackIndex.php
framework/main/classes/listener/class_BaseListener.php
framework/main/classes/listener/class_BaseListenerDecorator.php
framework/main/classes/lists/class_BaseList.php
framework/main/classes/stacker/file/fifo/class_FiFoFileStack.php
framework/main/classes/tasks/class_
framework/main/classes/tasks/idle/class_IdleLoopTask.php
framework/main/classes/user/guest/class_Guest.php
framework/main/interfaces/handler/task/class_HandleableTask.php
framework/main/interfaces/index/class_Indexable
framework/main/interfaces/index/stack/class_IndexableStack.php
framework/main/interfaces/lists/class_Listable.php
index.php

index 2d9cd8e..c0afdd5 100644 (file)
@@ -128,7 +128,7 @@ $cfg->setConfigEntry('menu_template_type', 'menu');
 $cfg->setConfigEntry('output_class', 'CoreFramework\Output\WebOutput');
 
 // CFG: LANGUAGE-SYSTEM-CLASS
-$cfg->setConfigEntry('language_system_class', 'LanguageSystem');
+$cfg->setConfigEntry('language_system_class', 'CoreFramework\Localization\LanguageSystem');
 
 // CFG: SELECTOR-TEMPLATE-PREFIX
 $cfg->setConfigEntry('tpl_selector_prefix', 'selector');
@@ -251,16 +251,16 @@ $cfg->setConfigEntry('user_db_wrapper_class', 'CoreFramework\Wrapper\Database\Us
 $cfg->setConfigEntry('news_db_wrapper_class', 'CoreFramework\Wrapper\Database\News\NewsDatabaseWrapper');
 
 // CFG: HTML-CMD-RESOLVER-CLASS
-$cfg->setConfigEntry('html_cmd_resolver_class', 'HtmlCommandResolver');
+$cfg->setConfigEntry('html_cmd_resolver_class', 'CoreFramework\Resolver\Command\HtmlCommandResolver');
 
 // CFG: HTML-CMD-LOGIN-RESOLVER-CLASS
-$cfg->setConfigEntry('html_cmd_login_resolver_class', 'HtmlCommandResolver');
+$cfg->setConfigEntry('html_cmd_login_resolver_class', 'CoreFramework\Resolver\Command\HtmlCommandResolver');
 
 // CFG: IMAGE-CMD-RESOLVER-CLASS
-$cfg->setConfigEntry('image_cmd_resolver_class', 'ImageCommandResolver');
+$cfg->setConfigEntry('image_cmd_resolver_class', 'CoreFramework\Resolver\Command\ImageCommandResolver');
 
 // CFG: IMAGE-CMD-CODE-CAPTCHA-RESOLVER-CLASS
-$cfg->setConfigEntry('image_cmd_code_captcha_resolver_class', 'ImageCommandResolver');
+$cfg->setConfigEntry('image_cmd_code_captcha_resolver_class', 'CoreFramework\Resolver\Command\ImageCommandResolver');
 
 // CFG: MAILER-CLASS
 $cfg->setConfigEntry('mailer_class', 'CoreFramework\Mailer\Debug\DebugMailer');
@@ -299,7 +299,7 @@ $cfg->setConfigEntry('post_registration_class', 'CoreFramework\Action\PostRegist
 $cfg->setConfigEntry('user_class', 'CoreFramework\User\Login\Member');
 
 // CFG: GUEST-CLASS
-$cfg->setConfigEntry('guest_class', 'Guest');
+$cfg->setConfigEntry('guest_class', 'CoreFramework\User\Guest\Guest');
 
 // CFG: COOKIE-EXPIRE
 $cfg->setConfigEntry('cookie_expire', (60*60*2)); // Two hours!
@@ -398,7 +398,7 @@ $cfg->setConfigEntry('file_stack_pre_allocate_enabled', 'Y');
 $cfg->setConfigEntry('file_stack_pre_allocate_count', 10000);
 
 // CFG: INDEX-INDEX-CLASS
-$cfg->setConfigEntry('file_stack_index_class', 'FileStackIndex');
+$cfg->setConfigEntry('file_stack_index_class', 'CoreFramework\Index\Stack\FileStackIndex');
 
 // CFG: INDEX-PRE-ALLOCATE-ENABLED
 $cfg->setConfigEntry('index_pre_allocate_enabled', 'Y');
@@ -410,7 +410,7 @@ $cfg->setConfigEntry('index_pre_allocate_count', 10000);
 $cfg->setConfigEntry('stack_file_class', 'CoreFramework\Filesystem\Stack\StackFile');
 
 // CFG: INDEX-FILE-CLASS
-$cfg->setConfigEntry('index_file_class', 'IndexFile');
+$cfg->setConfigEntry('index_file_class', 'CoreFramework\Filesystem\Index\IndexFile');
 
 // CFG: TASK-HANDLER-CLASS
 $cfg->setConfigEntry('task_handler_class', 'CoreFramework\Handler\Task\TaskHandler');
@@ -419,7 +419,7 @@ $cfg->setConfigEntry('task_handler_class', 'CoreFramework\Handler\Task\TaskHandl
 $cfg->setConfigEntry('task_list_class', 'CoreFramework\Lists\Task\TaskList');
 
 // CFG: LIST-GROUP-CLASS
-$cfg->setConfigEntry('list_group_class', 'ListGroupList');
+$cfg->setConfigEntry('list_group_class', 'CoreFramework\Lists\Group\ListGroupList');
 
 // CFG: DEFAULT-ITERATOR-CLASS
 $cfg->setConfigEntry('default_iterator_class', 'DefaultIterator');
@@ -428,7 +428,7 @@ $cfg->setConfigEntry('default_iterator_class', 'DefaultIterator');
 $cfg->setConfigEntry('active_task_visitor_class', 'ActiveTaskVisitor');
 
 // CFG: IDLE-TASK-CLASS
-$cfg->setConfigEntry('idle_task_class', 'IdleLoopTask');
+$cfg->setConfigEntry('idle_task_class', 'CoreFramework\Task\IdleLoop\IdleLoopTask');
 
 // CFG: TASK-IDLE-LOOP-STARTUP-DELAY
 $cfg->setConfigEntry('task_idle_loop_startup_delay', 0);
index b15d436..6424b78 100644 (file)
@@ -19,6 +19,7 @@ use CoreFramework\Filesystem\FrameworkDirectory;
 use CoreFramework\Generic\FrameworkInterface;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Handler\Stream\IoHandler;
+use CoreFramework\Index\Indexable;
 use CoreFramework\Listener\Listenable;
 use CoreFramework\Lists\Listable;
 use CoreFramework\Loader\ClassLoader;
index 612bf52..f459499 100644 (file)
@@ -5,6 +5,7 @@ namespace CoreFramework\Factory\Filesystem\Stack;
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Registry\Registry;
+use CoreFramework\Stack\Index\IndexableStack;
 
 /**
  * A factory class for file-based stack indexes
index f89e0aa..fc4140c 100644 (file)
@@ -5,6 +5,7 @@ namespace CoreFramework\Filesystem\File;
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Filesystem\Block;
+use CoreFramework\Filesystem\Block\CalculatableBlock;
 
 /**
  * A general binary file class
index 82a664f..b0fd944 100644 (file)
@@ -8,6 +8,7 @@ use CoreFramework\Handler\BaseHandler;
 use CoreFramework\Lists\Listable;
 use CoreFramework\Registry\Registerable;
 use CoreFramework\Task\Taskable;
+use CoreFramework\Visitor\Visitable;
 
 /**
  * A Task handler
@@ -220,7 +221,7 @@ class TaskHandler extends BaseHandler implements Registerable, HandleableTask {
         * Registers a task with a task handler.
         *
         * @param       $taskName               A task name to register the task on
-        * @param       $taskInstance   The instance we should register as a task
+        * @param       $taskInstance   The instance that should be registered as a task
         * @return      void
         */
        public function registerTask ($taskName, Visitable $taskInstance) {
index b74ed32..374cb97 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+// Own namespace
+namespace CoreFramework\Index\!!!;
+
+// Import framework stuff
+use CoreFramework\Index\BaseIndex;
+use CoreFramework\Index\Indexable;
+
 /**
  * A ??? index class
  *
index b1e04a9..fc09d57 100644 (file)
@@ -3,7 +3,10 @@
 namespace CoreFramework\Index\Stack;
 
 // Import framework stuff
+use CoreFramework\Index\BaseIndex;
+use CoreFramework\Index\Indexable;
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Stack\Index\IndexableStack;
 
 /**
  * A FileStack index class
index f7340cb..ae98d5b 100644 (file)
@@ -6,6 +6,7 @@ namespace CoreFramework\Listener;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Pool\Poolable;
+use CoreFramework\Visitor\Visitable;
 use CoreFramework\Visitor\Visitor;
 
 /**
index 2f7200a..b2f73a6 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Listener;
 
 // Import framework stuff
 use CoreFramework\Generic\BaseDecorator;
+use CoreFramework\Visitor\Visitable;
 use CoreFramework\Visitor\Visitor;
 
 /**
index eadf742..3703aec 100644 (file)
@@ -6,6 +6,7 @@ namespace CoreFramework\Lists;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Generic\FrameworkInterface;
 use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Visitor\Visitable;
 
 // Import SPL stuff
 use \IteratorAggregate;
index e036b05..2e380b2 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Stack\Filesystem;
 
 // Import framework stuff
+use CoreFramework\Filesystem\Block\CalculatableBlock;
 use CoreFramework\Registry\Registerable;
 
 /**
index 07a8296..05efd21 100644 (file)
@@ -1,4 +1,13 @@
 <?php
+// Own namespace
+namespace CoreFramework\Task\___;
+
+// Import framework stuff
+use CoreFramework\Task\BaseTask;
+use CoreFramework\Task\Taskable;
+use CoreFramework\Visitor\Visitable;
+use CoreFramework\Visitor\Visitor;
+
 /**
  * A ??? task for !!!
  *
index 00aecdc..4ebef1d 100644 (file)
@@ -3,7 +3,9 @@
 namespace CoreFramework\Task\IdleLoop;
 
 // Import Framework stuff
+use CoreFramework\Task\BaseTask;
 use CoreFramework\Task\Taskable;
+use CoreFramework\Visitor\Visitable;
 use CoreFramework\Visitor\Visitor;
 
 /**
index 1b6fe57..ac73f17 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\User\Guest;
 
 // Import framework stuff
+use CoreFramework\Manager\Guest\ManageableGuest;
 use CoreFramework\Registry\Registerable;
 use CoreFramework\Request\Requestable;
 use CoreFramework\User\BaseUser;
index d043c7d..06104f7 100644 (file)
@@ -5,6 +5,7 @@ namespace CoreFramework\Handler\Task;
 // Import framework stuff
 use CoreFramework\Handler\DataSet\HandleableDataSet;
 use CoreFramework\Task\Taskable;
+use CoreFramework\Visitor\Visitable;
 
 /**
  * A HandleableTask interface
index d07544c..2d25324 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace CoreFramework\Index\!!!;
+
+// Import framework stuff
+use CoreFramework\Index\Indexable;
+
 /**
  * An interface for Indexable classes
  *
index 8ed6b26..daab0a1 100644 (file)
@@ -2,6 +2,10 @@
 // Own namespace
 namespace CoreFramework\Stack\Index;
 
+// Import framework stuff
+use CoreFramework\Filesystem\Block\CalculatableBlock;
+use CoreFramework\Index\Indexable;
+
 /**
  * An interface for Indexable stack classes
  *
index 2514745..13da64c 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Lists;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkInterface;
+use CoreFramework\Visitor\Visitable;
 
 // Import SPL stuff
 use \IteratorAggregate;
index 3ba9290..e058eda 100644 (file)
--- a/index.php
+++ b/index.php
@@ -6,6 +6,7 @@ namespace CoreFramework\EntryPoint;
 use CoreFramework\Configuration\FrameworkConfiguration;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Helper\Application\ApplicationHelper;
+use CoreFramework\Localization\LanguageSystem;
 use CoreFramework\Loader\ClassLoader;
 use CoreFramework\Generic\FrameworkException;