* @param $stripTags Whether HTML tags shall be stripped out
* @return void
*/
- public final function outputStream ($output, $stripTags = false) {
+ public final function outputStream ($output, $stripTags = FALSE) {
// Strip HTML tags out?
- if ($stripTags === true) {
+ if ($stripTags === TRUE) {
// Prepare the output without HTML tags
$output = trim(html_entity_decode(strip_tags(stripslashes($output))));
} else {
* @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) {
// Empty output will be silently ignored
- if ($outStream !== false) {
+ if ($outStream !== FALSE) {
$this->outputStream($outStream, $stripTags);
} // END - if
}
* @throws UnsupportedOperationException If this method is called
*/
public function streamData ($data) {
- $this->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+ self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
}