Continued:
authorRoland Haeder <roland@mxchange.org>
Sun, 26 Feb 2017 19:46:05 +0000 (20:46 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:11:02 +0000 (22:11 +0100)
- it cannot be "List" as this is reserved (list() command), so take "Lists"
- added "import" of IteratorAggregate and Countable (both SPL)
- added "import" of BaseList and Listable
- added "import" of BaseFileIo, InputPointer and OutputPointer

Signed-off-by: Roland H├Ąder <roland@mxchange.org>
14 files changed:
framework/config.php
framework/main/classes/class_BaseFrameworkSystem.php
framework/main/classes/file_directories/input/raw/class_FrameworkRawFileInputPointer.php
framework/main/classes/file_directories/input/text/class_FrameworkTextFileInputPointer.php
framework/main/classes/file_directories/io/class_FrameworkFileInputOutputPointer.php
framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php
framework/main/classes/file_directories/output/text/class_FrameworkTextFileOutputPointer.php
framework/main/classes/handler/tasks/class_TaskHandler.php
framework/main/classes/iterator/default/class_DefaultIterator.php
framework/main/classes/lists/class_BaseList.php
framework/main/classes/lists/groups/class_ListGroupList.php
framework/main/classes/lists/tasks/class_TaskList.php
framework/main/interfaces/io/pointer/io/class_InputOutputPointer.php
framework/main/interfaces/lists/class_Listable.php

index 0ef0e20..20e6744 100644 (file)
@@ -416,7 +416,7 @@ $cfg->setConfigEntry('index_file_class', 'IndexFile');
 $cfg->setConfigEntry('task_handler_class', 'CoreFramework\Handler\Task\TaskHandler');
 
 // CFG: TASK-LIST-CLASS
-$cfg->setConfigEntry('task_list_class', 'CoreFramework\List\Task\TaskList');
+$cfg->setConfigEntry('task_list_class', 'CoreFramework\Lists\Task\TaskList');
 
 // CFG: LIST-GROUP-CLASS
 $cfg->setConfigEntry('list_group_class', 'ListGroupList');
index 41287ab..ba156ff 100644 (file)
@@ -18,6 +18,7 @@ use CoreFramework\Filesystem\FrameworkDirectory;
 use CoreFramework\Generic\FrameworkInterface;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Handler\Stream\IoHandler;
+use CoreFramework\Lists\Listable;
 use CoreFramework\Loader\ClassLoader;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Middleware\Compressor\CompressorChannel;
index 0978156..a75f0ec 100644 (file)
@@ -3,6 +3,8 @@
 namespace CoreFramework\Filesystem\Pointer\Input;
 
 // Import framework stuff
+use CoreFramework\FileSystem\BaseFileIo;
+use CoreFramework\Filesystem\Pointer\InputPointer;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Object\BaseFrameworkSystem;
 
index 2b2704e..5347f34 100644 (file)
@@ -3,6 +3,8 @@
 namespace CoreFramework\Filesystem\Pointer\Input;
 
 // Import framework stuff
+use CoreFramework\FileSystem\BaseFileIo;
+use CoreFramework\Filesystem\Pointer\InputPointer;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Object\BaseFrameworkSystem;
 
index d7f8ef7..ee070c7 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Filesystem\Pointer;
 
 // Import framework stuff
+use CoreFramework\FileSystem\BaseFileIo;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Object\BaseFrameworkSystem;
 
index 98782b9..d54966d 100644 (file)
@@ -3,6 +3,8 @@
 namespace CoreFramework\Filesystem\Pointer\Raw;
 
 // Import framework stuff
+use CoreFramework\FileSystem\BaseFileIo;
+use CoreFramework\Filesystem\Pointer\OutputPointer;
 use CoreFramework\Generic\NullPointerException;
 
 /**
index 1d3ae08..6f95ccd 100644 (file)
@@ -3,6 +3,8 @@
 namespace CoreFramework\Filesystem\Pointer\Text;
 
 // Import framework stuff
+use CoreFramework\FileSystem\BaseFileIo;
+use CoreFramework\Filesystem\Pointer\OutputPointer;
 use CoreFramework\Generic\NullPointerException;
 
 /**
index 34ddc5b..9d8eb33 100644 (file)
@@ -5,6 +5,7 @@ namespace CoreFramework\Handler\Task;
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Handler\BaseHandler;
+use CoreFramework\Lists\Listable;
 use CoreFramework\Registry\Registerable;
 
 /**
index d075a4e..f48cc66 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Iterator;
 
+// Import framework stuff
+use CoreFramework\Lists\Listable;
+
 /**
  * A Default iterator
  *
index 4c32332..eadf742 100644 (file)
@@ -7,6 +7,10 @@ use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Generic\FrameworkInterface;
 use CoreFramework\Object\BaseFrameworkSystem;
 
+// Import SPL stuff
+use \IteratorAggregate;
+use \Countable;
+
 /**
  * A general list class
  *
index 096f72c..7e9e722 100644 (file)
@@ -1,6 +1,10 @@
 <?php
 // Own namespace
-namespace CoreFramework\List\Group;
+namespace CoreFramework\Lists\Group;
+
+// Import framework stuff
+use CoreFramework\Lists\BaseList;
+use CoreFramework\Lists\Listable;
 
 /**
  * A ListGroup list
index c868cd5..bfdaf0b 100644 (file)
@@ -1,6 +1,10 @@
 <?php
 // Own namespace
-namespace CoreFramework\List\Task;
+namespace CoreFramework\Lists\Task;
+
+// Import framework stuff
+use CoreFramework\Lists\BaseList;
+use CoreFramework\Lists\Listable;
 
 /**
  * A Task list
index 95c3516..f970633 100644 (file)
@@ -2,6 +2,10 @@
 // Own namespace
 namespace CoreFramework\Filesystem\Pointer;
 
+// Import framework stuff
+use CoreFramework\Filesystem\Pointer\InputPointer;
+use CoreFramework\Filesystem\Pointer\OutputPointer;
+
 /**
  * An interface for (mostly) file input/output pointers.
  *
index 0d96e79..2514745 100644 (file)
@@ -5,6 +5,9 @@ namespace CoreFramework\Lists;
 // Import framework stuff
 use CoreFramework\Generic\FrameworkInterface;
 
+// Import SPL stuff
+use \IteratorAggregate;
+
 /**
  * An interface for lists
  *