Ajax/semantic/traits/SemanticHtmlCollectionsTrait.php
public function htmlMessage($identifier, $content="",$styles=NULL) {
		$msg= $this->addHtmlComponent(new HtmlMessage($identifier, $content));
		if(isset($msg) && $styles!==null)
			$msg->setStyle($styles);
		return $msg;
	}
public function htmlMessage($identifier, $content="",$styles=NULL) {
		$msg= $this->addHtmlComponent(new HtmlMessage($identifier, $content));
		if(isset($msg) && $styles!==null)
			$msg->setStyle($styles);
		return $msg;
	}
public function htmlMessage ( $ identifier , $ content = "" , $ styles = NULL ) { $ msg = $ this -> addHtmlComponent ( new HtmlMessage ( $ identifier , $ content ) ) ; if ( isset ( $ msg ) && $ styles !== null ) $ msg -> setStyle ( $ styles ) ; return $ msg ; }
Adds a new message
@param string $identifier
@param string $content
@param $styles string|array|NULL
@return HtmlMessage
Adds a new message