public function enqueueMessage($text, $title='', $type=NULL) {
	
		$message		= new \stdClass();
		$message->text	= $text;
		$message->title	= ($title ? $title : 'Info');
		$message->type	= ($type  ? $type  : 'info');
	
		$this->messages[] = $message;
	
	}
public function enqueueMessage($text, $title='', $type=NULL) {
	
		$message		= new \stdClass();
		$message->text	= $text;
		$message->title	= ($title ? $title : 'Info');
		$message->type	= ($type  ? $type  : 'info');
	
		$this->messages[] = $message;
	
	}
public function enqueueMessage ( $ text , $ title = '' , $ type = NULL ) { $ message = new \ stdClass ( ) ; $ message -> text = $ text ; $ message -> title = ( $ title ? $ title : 'Info' ) ; $ message -> type = ( $ type ? $ type : 'info' ) ; $ this -> messages [ ] = $ message ; }
Appends a text message to queue.

@param	string	Message’s text.
@param	string	Optional title.
@param	string	Message’s type (info, error).
Appends a text message to queue .