From 717829ec4b1f04e88e65838110d7cc8d9c4933c1 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 23 Feb 2017 21:10:26 +0100 Subject: [PATCH] Continued: - added "import" for BaseOutput, BaseDebugOutput and Debugger MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/config.php | 2 +- .../file_directories/text/output/class_BaseOutputTextFile.php | 1 + inc/main/classes/output/console/class_ConsoleOutput.php | 1 + inc/main/classes/output/debug/class_BaseDebugOutput.php | 3 +++ .../classes/output/debug/console/class_DebugConsoleOutput.php | 2 ++ .../classes/output/debug/error/class_DebugErrorLogOutput.php | 4 ++++ inc/main/classes/output/debug/web/class_DebugWebOutput.php | 4 ++++ inc/main/classes/output/web/class_WebOutput.php | 1 + 8 files changed, 17 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 6ea2a793..bb9750aa 100644 --- a/inc/config.php +++ b/inc/config.php @@ -101,7 +101,7 @@ $cfg->setConfigEntry('deco_xml_rewriter_template_class', 'XmlRewriterTemplateDec $cfg->setConfigEntry('debug_html_class', 'DebugWebOutput'); // CFG: DEBUG-CONSOLE-CLASS -$cfg->setConfigEntry('debug_console_class', 'DebugConsoleOutput'); +$cfg->setConfigEntry('debug_console_class', 'CoreFramework\Debug\Output\DebugConsoleOutput'); // CFG: DEFAULT-LANGUAGE $cfg->setConfigEntry('default_lang', 'de'); // A two-char language string: de for german, en for english and so on diff --git a/inc/main/classes/file_directories/text/output/class_BaseOutputTextFile.php b/inc/main/classes/file_directories/text/output/class_BaseOutputTextFile.php index ea8f3682..5e988f9a 100644 --- a/inc/main/classes/file_directories/text/output/class_BaseOutputTextFile.php +++ b/inc/main/classes/file_directories/text/output/class_BaseOutputTextFile.php @@ -4,6 +4,7 @@ namespace CoreFramework\Filesystem\Text; // Import framework stuff use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Output\BaseOutput; /** * A general text file class diff --git a/inc/main/classes/output/console/class_ConsoleOutput.php b/inc/main/classes/output/console/class_ConsoleOutput.php index f0c94c83..c35d2f58 100644 --- a/inc/main/classes/output/console/class_ConsoleOutput.php +++ b/inc/main/classes/output/console/class_ConsoleOutput.php @@ -4,6 +4,7 @@ namespace CoreFramework\Output; // Import framework stuff use CoreFramework\Configuration\FrameworkConfiguration; +use CoreFramework\Output\BaseOutput; /** * This class simply puts text without any HTML code out. This class is suiable diff --git a/inc/main/classes/output/debug/class_BaseDebugOutput.php b/inc/main/classes/output/debug/class_BaseDebugOutput.php index 7643d51d..5c2083ab 100644 --- a/inc/main/classes/output/debug/class_BaseDebugOutput.php +++ b/inc/main/classes/output/debug/class_BaseDebugOutput.php @@ -2,6 +2,9 @@ // Own namespace namespace CoreFramework\Output\Debug; +// Import framework stuff +use CoreFramework\Output\BaseOutput; + /** * Generic debug output class * diff --git a/inc/main/classes/output/debug/console/class_DebugConsoleOutput.php b/inc/main/classes/output/debug/console/class_DebugConsoleOutput.php index ae7cf072..20c36dc8 100644 --- a/inc/main/classes/output/debug/console/class_DebugConsoleOutput.php +++ b/inc/main/classes/output/debug/console/class_DebugConsoleOutput.php @@ -3,6 +3,8 @@ namespace CoreFramework\Debug\Output; // Import framework stuff +use CoreFramework\Debug\Debugger; +use CoreFramework\Output\Debug\BaseDebugOutput; use CoreFramework\Registry\Registerable; /** diff --git a/inc/main/classes/output/debug/error/class_DebugErrorLogOutput.php b/inc/main/classes/output/debug/error/class_DebugErrorLogOutput.php index bf02a318..f85adbbc 100644 --- a/inc/main/classes/output/debug/error/class_DebugErrorLogOutput.php +++ b/inc/main/classes/output/debug/error/class_DebugErrorLogOutput.php @@ -2,6 +2,10 @@ // Own namespace namespace CoreFramework\Output\Debug; +// Import framework stuff +use CoreFramework\Debug\Debugger; +use CoreFramework\Output\Debug\BaseDebugOutput; + /** * A debug output class for PHP's error_log() command * diff --git a/inc/main/classes/output/debug/web/class_DebugWebOutput.php b/inc/main/classes/output/debug/web/class_DebugWebOutput.php index e34ec905..f775a4c9 100644 --- a/inc/main/classes/output/debug/web/class_DebugWebOutput.php +++ b/inc/main/classes/output/debug/web/class_DebugWebOutput.php @@ -2,6 +2,10 @@ // Own namespace namespace CoreFramework\Output\Debug; +// Import framework stuff +use CoreFramework\Debug\Debugger; +use CoreFramework\Output\Debug\BaseDebugOutput; + /** * A debug output class for the web browser * diff --git a/inc/main/classes/output/web/class_WebOutput.php b/inc/main/classes/output/web/class_WebOutput.php index 03fe275f..08120e3c 100644 --- a/inc/main/classes/output/web/class_WebOutput.php +++ b/inc/main/classes/output/web/class_WebOutput.php @@ -4,6 +4,7 @@ namespace CoreFramework\Output; // Import framework stuff use CoreFramework\Manager\ManageableApplication; +use CoreFramework\Output\BaseOutput; use CoreFramework\Registry\Registerable; /** -- 2.39.2