Rewritten a lot double-quotes to single-requotes, removed deprecated exception, some...
[core.git] / inc / classes / main / output / class_WebOutput.php
index ad5bd90bfd236a4b1fbf7b754d65f5571545d1ec..adbf50c510045a5c00b03f0b7062b54e32ae5d65 100644 (file)
@@ -52,15 +52,16 @@ class WebOutput extends BaseFrameworkSystem implements OutputStreamer, Registera
                        $contentType = trim($contentType);
 
                        // Set the content type
+                       // @TODO Need to rewrite this to $requestInstance->addHeader()
                        if (!empty($contentType)) {
                                @header(sprintf("Content-type: %s",
                                        $contentType
                                ));
-                       }
+                       } // END - if
 
                        // Get a new instance and set it
                        self::$webInstance = new WebOutput();
-               }
+               } // END - if
 
                // Return instance
                return self::$webInstance;
@@ -83,7 +84,7 @@ class WebOutput extends BaseFrameworkSystem implements OutputStreamer, Registera
         *
         * @return      void
         */
-       public final function output ($outStream=false) {
+       public final function output ($outStream = false) {
                print(stripslashes($outStream));
        }
 }