public function addOut( $str, $wrapTag = 0, $attributes = array() ) {
		if ( is_string( $str ) ) {
			if ( is_string( $wrapTag ) ) {
				$str = Html::element( $wrapTag, $attributes, $str );
			}
			$this->mainOutput['body'] .= $str;
			return true;
		} else {
			return false;
		}
	}
public function addOut( $str, $wrapTag = 0, $attributes = array() ) {
		if ( is_string( $str ) ) {
			if ( is_string( $wrapTag ) ) {
				$str = Html::element( $wrapTag, $attributes, $str );
			}
			$this->mainOutput['body'] .= $str;
			return true;
		} else {
			return false;
		}
	}
public function addOut ( $ str , $ wrapTag = 0 , $ attributes = array ( ) ) { if ( is_string ( $ str ) ) { if ( is_string ( $ wrapTag ) ) { $ str = Html :: element ( $ wrapTag , $ attributes , $ str ) ; } $ this -> mainOutput [ 'body' ] .= $ str ; return true ; } else { return false ; } }
Add a string to the output memory

@param $str string String to be added to the memory
@param $wrapTag string (optional) Name of the tag to wrap the string in.
If this is used the contents of $str will be html-escaped!
@param $attributes string (optional) When using a wrapTag these attributes
will be applied as well. Both the keys and the values will be escaped, don't do
so they should be passed raw to addOut()
@return boolean Returns true on success, false on failure
Add a string to the output memory