X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Foutput%2Fclass_;h=d6a7447d3affb566a2654e7ddc7563524cb7b2ec;hp=7504b6358050777586d120da20e8791ae125e6dc;hb=f57dd51863ec9baacba447d76b46d5c709b9b02e;hpb=78a010fef84895720e796842208f01dfb619c332 diff --git a/framework/main/classes/output/class_ b/framework/main/classes/output/class_ index 7504b635..d6a7447d 100644 --- a/framework/main/classes/output/class_ +++ b/framework/main/classes/output/class_ @@ -1,10 +1,17 @@ * @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] -?> +}