$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;
*
* @return void
*/
- public final function output ($outStream=false) {
+ public final function output ($outStream = false) {
print(stripslashes($outStream));
}
}