- public final function outputStream ($output) {
- // Prepare the output
- $output = trim(html_entity_decode(strip_tags(stripslashes($output))));
+ public final function outputStream ($output, $stripTags = false) {
+ // Strip HTML tags out?
+ if ($stripTags === true) {
+ // Prepare the output without HTML tags
+ $output = trim(html_entity_decode(strip_tags(stripslashes($output))));
+ } else {
+ // Prepare the output with HTML tags
+ $output = trim(stripslashes($output));
+ }
+
+ // Are debug times enabled?
+ if ($this->getConfigInstance()->getConfigEntry('debug_output_timings') == 'Y') {
+ // Output it first
+ $output = $this->getPrintableExecutionTime() . $output;
+ } // END - if