}
/**
- * Outputs the given data without HTML tags
+ * Outputs the given data without HTML tags, ignores $stripTags
*
* @param $output The HTML'ed output
+ * @param $stripTags Whether HTML tags shall be stripped out
* @return void
*/
- public final function outputStream ($output) {
+ public final function outputStream ($output, $stripTags = false) {
// Split multiple lines into and array to put them out line-by-line
$errorLines = explode(chr(10), $output);
/**
* Output the code
*
+ * @param $outStream Stream to output
+ * @param $stripTags Whether HTML tags shall be stripped out
* @return void
*/
- public final function output ($outStream = false) {
+ public final function output ($outStream = false, $stripTags = false) {
// Empty output will be silently ignored
if ($outStream !== false) {
$this->outputStream($outStream);