X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fdebug%2Fclass_DebugWebOutput.php;h=ee3ae81b4c8fe373bd9ac46d490e16ef90f30e8a;hp=f79bec012363d4551102e3e26965b4b431fe5619;hb=43c787767e99231011b3322e436c7d9b1bbf9746;hpb=4f41ca12a8a611376e9c733b362b50d4e57b42a5 diff --git a/inc/classes/main/debug/class_DebugWebOutput.php b/inc/classes/main/debug/class_DebugWebOutput.php index f79bec0123..ee3ae81b4c 100644 --- a/inc/classes/main/debug/class_DebugWebOutput.php +++ b/inc/classes/main/debug/class_DebugWebOutput.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class DebugWebOutput extends BaseFrameworkSystem implements Debugger { +class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer { /** * Private constructor * @@ -60,6 +60,30 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger { public final function outputStream ($output) { trigger_error($output); } + + /** + * Assigns a variable for output + * + * @param $var The variable we shall assign + * @param $value The value to store in the variable + * @return void + */ + public final function assignVariable ($var, $value) { + // Empty stub! + trigger_error(__METHOD__.": Stub!"); + } + + /** + * Output the code + * + * @return void + */ + public final function output ($outStream=false) { + // Empty output will be silently ignored + if ($outStream !== false) { + $this->outputStream($outStream); + } + } } // [EOF]