namespace CoreFramework\Output;
// Import framework stuff
+use CoreFramework\Bootstrap\FrameworkBootstrap;
use CoreFramework\Manager\ManageableApplication;
use CoreFramework\Output\BaseOutput;
use CoreFramework\Registry\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
* @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));
}