From 9834f12b6c4754df364ae966d87ba389718a05a0 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 24 Feb 2017 20:51:13 +0100 Subject: [PATCH] Continued: - fixed class names in global config.php - added "import" for IoHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/config.php | 6 +++--- inc/main/classes/class_BaseFrameworkSystem.php | 1 + .../file_directories/io_stream/class_FileIoStream.php | 2 +- inc/main/middleware/io/class_FileIoHandler.php | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/inc/config.php b/inc/config.php index fcbcef4a..e4ce10cd 100644 --- a/inc/config.php +++ b/inc/config.php @@ -125,7 +125,7 @@ $cfg->setConfigEntry('image_template_type', 'image'); $cfg->setConfigEntry('menu_template_type', 'menu'); // CFG: OUTPUT-CLASS -$cfg->setConfigEntry('output_class', 'WebOutput'); +$cfg->setConfigEntry('output_class', 'CoreFramework\Output\WebOutput'); // CFG: LANGUAGE-SYSTEM-CLASS $cfg->setConfigEntry('language_system_class', 'LanguageSystem'); @@ -188,10 +188,10 @@ $cfg->setConfigEntry('database_result_class', 'CachedDatabaseResult'); $cfg->setConfigEntry('filter_chain_class', 'FilterChain'); // CFG: FILE-INPUT-CLASS -$cfg->setConfigEntry('file_input_class', 'FileIoStream'); +$cfg->setConfigEntry('file_input_class', 'CoreFramework\Stream\Filesystem\FileIoStream'); // CFG: FILE-OUTPUT-CLASS -$cfg->setConfigEntry('file_output_class', 'FileIoStream'); +$cfg->setConfigEntry('file_output_class', 'CoreFramework\Stream\Filesystem\FileIoStream'); // CFG: EMAIL-VALIDATOR-FILTER $cfg->setConfigEntry('email_validator_filter', 'EmailValidatorFilter'); diff --git a/inc/main/classes/class_BaseFrameworkSystem.php b/inc/main/classes/class_BaseFrameworkSystem.php index cd74ad32..7cd7419b 100644 --- a/inc/main/classes/class_BaseFrameworkSystem.php +++ b/inc/main/classes/class_BaseFrameworkSystem.php @@ -7,6 +7,7 @@ use CoreFramework\Configuration\FrameworkConfiguration; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Generic\FrameworkInterface; use CoreFramework\Generic\NullPointerException; +use CoreFramework\Handler\Stream\IoHandler; use CoreFramework\Loader\ClassLoader; use CoreFramework\Manager\ManageableApplication; use CoreFramework\Middleware\Debug\DebugMiddleware; diff --git a/inc/main/classes/file_directories/io_stream/class_FileIoStream.php b/inc/main/classes/file_directories/io_stream/class_FileIoStream.php index 181cc866..827bd9d8 100644 --- a/inc/main/classes/file_directories/io_stream/class_FileIoStream.php +++ b/inc/main/classes/file_directories/io_stream/class_FileIoStream.php @@ -63,7 +63,7 @@ class FileIoStream extends BaseFrameworkSystem implements FileInputStreamer, Fil * Create a file IO stream. This is a class for performing all actions * on files like creating, deleting and loading them. * - * @return $ioInstance An instance of FileIoStream + * @return $ioInstance An instance of a FileIoStream class */ public static final function createFileIoStream () { // Create new instance diff --git a/inc/main/middleware/io/class_FileIoHandler.php b/inc/main/middleware/io/class_FileIoHandler.php index 75ac8905..888ae282 100644 --- a/inc/main/middleware/io/class_FileIoHandler.php +++ b/inc/main/middleware/io/class_FileIoHandler.php @@ -5,6 +5,7 @@ namespace CoreFramework\Handler\Filesystem; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Generic\FrameworkInterface; +use CoreFramework\Handler\Stream\IoHandler; use CoreFramework\Middleware\BaseMiddleware; use CoreFramework\Stream\Filesystem\FileInputStreamer; use CoreFramework\Stream\Filesystem\FileOutputStreamer; -- 2.39.5