<?php
// Own namespace
-namespace CoreFramework\Debug\Output;
+namespace Org\Mxchange\CoreFramework\Debug\Output;
// Import framework stuff
-use CoreFramework\Debug\Debugger;
-use CoreFramework\Output\Debug\BaseDebugOutput;
-use CoreFramework\Registry\Registerable;
-use CoreFramework\Stream\Output\OutputStreamer;
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Debug\Debugger;
+use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
+use Org\Mxchange\CoreFramework\Output\Debug\BaseDebugOutput;
+use Org\Mxchange\CoreFramework\Registry\Registerable;
+use Org\Mxchange\CoreFramework\Stream\Output\OutputStreamer;
/**
* A debug output class for the console (e.g. hub software)
* @param $stripTags Whether HTML tags shall be stripped out
* @return void
*/
- public final function outputStream ($output, $stripTags = FALSE) {
+ public final function outputStream ($output, $stripTags = false) {
// Strip HTML tags out?
- if ($stripTags === TRUE) {
+ if ($stripTags === true) {
// Prepare the output without HTML tags
$output = trim(html_entity_decode(strip_tags(stripslashes($output))));
} // END - if
// Are debug times enabled?
- if ($this->getConfigInstance()->getConfigEntry('debug_' . self::getResponseTypeFromSystem() . '_output_timings') == 'Y') {
+ if ($this->getConfigInstance()->getConfigEntry('debug_' . FrameworkBootstrap::getRequestTypeFromSystem() . '_output_timings') == 'Y') {
// Output it first
$output = $this->getPrintableExecutionTime() . $output;
} // END - if
* @param $stripTags Whether HTML tags shall be stripped out
* @return void
*/
- public final function output ($outStream = FALSE, $stripTags = FALSE) {
+ public final function output ($outStream = false, $stripTags = false) {
// Empty output will be silently ignored
- if ($outStream !== FALSE) {
+ if ($outStream !== false) {
$this->outputStream($outStream, $stripTags);
} // END - if
}