]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/output/web/class_WebOutput.php
Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / framework / main / classes / output / web / class_WebOutput.php
index e1299ef1157f9f12a17dea3466789dcc4a937129..48ef11064772c471d64d62c288dca7cab6a111c3 100644 (file)
@@ -1,12 +1,14 @@
 <?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
@@ -65,7 +67,7 @@ class WebOutput extends BaseOutput implements OutputStreamer, Registerable {
                        // 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
 
@@ -80,7 +82,7 @@ class WebOutput extends BaseOutput implements OutputStreamer, Registerable {
         * @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));
        }