<?php
// Own namespace
-namespace CoreFramework\Output;
+namespace Org\Mxchange\CoreFramework\Output;
// Import framework stuff
-use CoreFramework\Manager\ManageableApplication;
-use CoreFramework\Output\BaseOutput;
-use CoreFramework\Registry\Registerable;
-use CoreFramework\Stream\Output\OutputStreamer;
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
+use Org\Mxchange\CoreFramework\Manager\ManageableApplication;
+use Org\Mxchange\CoreFramework\Output\BaseOutput;
+use Org\Mxchange\CoreFramework\Registry\Registerable;
+use Org\Mxchange\CoreFramework\Stream\Output\OutputStreamer;
/**
* This class simply puts HTML code / JavaScript code or CSS code out to the
// Set the content type
if (!empty($contentType)) {
// Set the header
- $applicationInstance->getResponseInstance()->addHeader('Content-type', $contentType);
+ FrameworkBootstrap::getResponseInstance()->addHeader('Content-type', $contentType);
} // END - if
} // 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) {
print(stripslashes($outStream));
}