Continued:
authorRoland Haeder <roland@mxchange.org>
Sat, 25 Feb 2017 16:10:57 +0000 (17:10 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:10:04 +0000 (22:10 +0100)
- config entry for CompressorChannel expanded with namespace
- added "import" for same class
- it is a "middlware" class
- config entry for framework directory pointer expanded with namespace
- added "import" for FrameworkDirectory
- added "import" for DirectoryIterator (SPL)

Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/config.php
inc/main/classes/class_BaseFrameworkSystem.php
inc/main/classes/file_directories/directory/class_FrameworkDirectoryPointer.php
inc/main/middleware/compressor/class_CompressorChannel.php

index 262c606..b33f3d3 100644 (file)
@@ -341,7 +341,7 @@ $cfg->setConfigEntry('stacker_current_node_max_size', 20);
 $cfg->setConfigEntry('local_file_database_class', 'CoreFramework\Database\Backend\Lfdb\CachedLocalFileDatabase');
 
 // CFG: COMPRESSOR-CHANNEL-CLASS
-$cfg->setConfigEntry('compressor_channel_class', 'CompressorChannel');
+$cfg->setConfigEntry('compressor_channel_class', 'CoreFramework\Middleware\Compressor\CompressorChannel');
 
 // CFG: DEBUG-HTML-OUTPUT-TIMINGS
 $cfg->setConfigEntry('debug_html_output_timings', 'N');
@@ -371,7 +371,7 @@ $cfg->setConfigEntry('hostname_file', '/etc/hostname');
 $cfg->setConfigEntry('database_cache_enabled', FALSE);
 
 // CFG: DIRECTORY-CLASS
-$cfg->setConfigEntry('directory_class', 'FrameworkDirectoryPointer');
+$cfg->setConfigEntry('directory_class', 'CoreFramework\Filesytem\Pointer\FrameworkDirectoryPointer');
 
 // CFG: FILE-RAW-INPUT-CLASS
 $cfg->setConfigEntry('file_raw_input_class', 'FrameworkRawFileInputPointer');
index fdf7aab..3020575 100644 (file)
@@ -9,11 +9,13 @@ use CoreFramework\Criteria\Criteria;
 use CoreFramework\Criteria\Local\LocalSearchCriteria;
 use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Filesystem\FrameworkDirectory;
 use CoreFramework\Generic\FrameworkInterface;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Handler\Stream\IoHandler;
 use CoreFramework\Loader\ClassLoader;
 use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Middleware\Compressor\CompressorChannel;
 use CoreFramework\Middleware\Debug\DebugMiddleware;
 use CoreFramework\Registry\Register;
 use CoreFramework\Registry\Registry;
@@ -1533,7 +1535,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
        /**
         * Setter for FrameworkDirectory instance
         *
-        * @param       $directoryInstance      A FrameworkDirectoryPointer instance
+        * @param       $directoryInstance      A FrameworkDirectory instance
         * @return      void
         */
        protected final function setDirectoryInstance (FrameworkDirectory $directoryInstance) {
index b1e8573..8bcb3cc 100644 (file)
@@ -3,8 +3,12 @@
 namespace CoreFramework\Filesytem\Pointer;
 
 // Import framework stuff
+use CoreFramework\Filesystem\FrameworkDirectory;
 use CoreFramework\Object\BaseFrameworkSystem;
 
+// Import SPL stuff
+use \DirectoryIterator;
+
 /**
  * A class for directory reading and getting its contents, no recursion!
  *
index fe77ed3..618e82f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Channel\Compressor;
+namespace CoreFramework\Middleware\Compressor;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;