]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/output/class_
Continued:
[core.git] / framework / main / classes / output / class_
index 7504b6358050777586d120da20e8791ae125e6dc..d6a7447d3affb566a2654e7ddc7563524cb7b2ec 100644 (file)
@@ -1,10 +1,17 @@
 <?php
+// Own namespace
+namespace CoreFramework\Output\;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
+
 /**
  * A ??? output class
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2019 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -55,7 +62,7 @@ class ???Output 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
 
@@ -71,7 +78,7 @@ class ???Output extends BaseOutput implements OutputStreamer, Registerable {
         * @return      void
         * @todo        0% done
         */
-       public final function output ($outStream = FALSE, $stripTags = FALSE) {
+       public final function output ($outStream = false, $stripTags = false) {
                $this->partialStub('Please implement this method. outStream()=' . strlen($outStream) . ',stripTags=' . intval($stripTags));
        }
 
@@ -107,7 +114,5 @@ class ???Output extends BaseOutput implements OutputStreamer, Registerable {
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}