From c45e74f3e7b95764cd034554020f8e9cb1b94524 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 3 Mar 2008 21:21:59 +0000 Subject: [PATCH] core code merged, interfaces OutputStreamer implemented --- inc/classes/main/debug/class_DebugConsoleOutput.php | 5 +++-- inc/classes/main/debug/class_DebugErrorLogOutput.php | 5 +++-- inc/classes/main/debug/class_DebugWebOutput.php | 5 +++-- inc/database/lib-local.php | 2 +- inc/includes.php | 2 +- inc/output.php | 2 +- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/inc/classes/main/debug/class_DebugConsoleOutput.php b/inc/classes/main/debug/class_DebugConsoleOutput.php index 8cc9cfb1d..82bcd7f1f 100644 --- a/inc/classes/main/debug/class_DebugConsoleOutput.php +++ b/inc/classes/main/debug/class_DebugConsoleOutput.php @@ -68,7 +68,7 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output * @param $value The value to store in the variable * @return void */ - function assignVariable ($var, $value) { + public final function assignVariable ($var, $value) { // Empty stub! trigger_error(__METHOD__.": Stub!"); } @@ -78,7 +78,8 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output * * @return void */ - function output ($outStream=false) { + public final function output ($outStream=false) { + // Empty output will be silently ignored if ($outStream !== false) { $this->outputStream($outStream); } diff --git a/inc/classes/main/debug/class_DebugErrorLogOutput.php b/inc/classes/main/debug/class_DebugErrorLogOutput.php index 2afc3737b..c8e62936e 100644 --- a/inc/classes/main/debug/class_DebugErrorLogOutput.php +++ b/inc/classes/main/debug/class_DebugErrorLogOutput.php @@ -77,7 +77,7 @@ class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, Outpu * @param $value The value to store in the variable * @return void */ - function assignVariable ($var, $value) { + public final function assignVariable ($var, $value) { // Empty stub! trigger_error(__METHOD__.": Stub!"); } @@ -87,7 +87,8 @@ class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, Outpu * * @return void */ - function output ($outStream=false) { + public final function output ($outStream=false) { + // Empty output will be silently ignored if ($outStream !== false) { $this->outputStream($outStream); } diff --git a/inc/classes/main/debug/class_DebugWebOutput.php b/inc/classes/main/debug/class_DebugWebOutput.php index d913ce6e2..ee3ae81b4 100644 --- a/inc/classes/main/debug/class_DebugWebOutput.php +++ b/inc/classes/main/debug/class_DebugWebOutput.php @@ -68,7 +68,7 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre * @param $value The value to store in the variable * @return void */ - function assignVariable ($var, $value) { + public final function assignVariable ($var, $value) { // Empty stub! trigger_error(__METHOD__.": Stub!"); } @@ -78,7 +78,8 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre * * @return void */ - function output ($outStream=false) { + public final function output ($outStream=false) { + // Empty output will be silently ignored if ($outStream !== false) { $this->outputStream($outStream); } diff --git a/inc/database/lib-local.php b/inc/database/lib-local.php index 90b1c0733..a689fed4b 100644 --- a/inc/database/lib-local.php +++ b/inc/database/lib-local.php @@ -1,6 +1,6 @@ * @version 0.3.0 diff --git a/inc/includes.php b/inc/includes.php index b2533f852..5cecef887 100644 --- a/inc/includes.php +++ b/inc/includes.php @@ -1,6 +1,6 @@ * @version 0.3.0 diff --git a/inc/output.php b/inc/output.php index 275f13927..87e838432 100644 --- a/inc/output.php +++ b/inc/output.php @@ -1,6 +1,6 @@ * @version 0.3.0 -- 2.39.5