Proxy to append a text message to queue.

@param	string	Message’s text.
@param	string	Optional title.
@param	string	Message’s type (info, error).
350137
final public function enqueueMessage($text, $title='', $type=NULL) {
		
		$this->app->enqueueMessage($text, $title, $type);
		
	}
222972
protected function appendMessage(string $message): void
    {
        $this->messages[] = $message;

        if (sizeof($this->messages) > $this->config['max_messages']) {
            array_shift($this->messages);
        }
    }
1174565
public void appendAsync(final String message) {
		EventQueue.invokeLater(new Runnable() {

			@Override
			public void run() {
				doAppend(message);
			}
		});
	}
1251223
public void send(Type type, final String message) {

        final CmsNotificationMessage notificationMessage = new CmsNotificationMessage(Mode.NORMAL, type, message);
        m_messages.add(notificationMessage);
        if (hasWidget()) {
            m_widget.addMessage(notificationMessage);
        }
        Timer timer = new Timer() {

            @Override
            public void run() {

                removeMessage(notificationMessage);
            }
        };
        timer.schedule(4000 * (type == Type.NORMAL ? 1 : 2));

    }
1270070
def add_message(self, text, type=None):
        """"""
        key = self._msg_key
        self.setdefault(key, [])
        self[key].append(message(type, text))
        self.save()
758571
public void append(Token t, String msg) {
        errors.append(t.getLine(), t.getCharPositionInLine(), msg);
    }
104090
public function error(string $message, string $title = '', array $options = []): self
    {
        return $this->addNotification(self::ERROR, $message, $title, $options);
    }
1180293
function add_sticky_admin_message( $message, $id, $title = '', $type = 'success' ) {
            $this->_admin_notices->add_sticky( $message, $id, $title, $type );
        }
1068998
public function addSuccess($message, ...$text): void
    {
        $this->add(self::TYPE_SUCCESS, $message, ...$text);
    }
310974
function show_message($message, $type = 'notice', $vars = null, $override = true, $timeout = 0)
    {
        if ($this->app->text_exists($message)) {
            $message = $this->app->gettext(array('name' => $message, 'vars' => $vars));
        }

        printf("[%s] %s\n", strtoupper($type), $message);
    }
770848
public function warning(string $message, string $title = '', array $options = []): self
    {
        return $this->addNotification(self::WARNING, $message, $title, $options);
    }
976144
public static function _($string, $title = "Console Log", $type = "info", $typekey = "", $console = TRUE, $logFile = TRUE)
    {

        $output = \Library\Output::getInstance();
        //Remember to set the file;
        self::$file = Config::getParam("logfile", "system.log");

        //$output->addToPosition("do:console", $msgString , '', '', FALSE);

        //If isset this $log;
        $logkey = md5(strval($string . $console . $type . $logFile));

        if (!isset(self::$log[$logkey])) {
            self::$log[$logkey] = array(
                "title" => $title,
                "string" => $string,
                "type" => strtolower($type),
                "key" => $logkey,
                "time" => date("Y-m-d H:i:s"),
                "_toconsole" => $console,
                "_tofile" => $logFile
            );
        }

        //echo $msgString;

        //$output->appendToFile();
        //No html in log file
        return;
    }
320273
public static function addMessage($message, $type = 'default')
    {
        if (is_array($message)) {
            foreach ($message as $msg) {
                static::addMessage($msg);
            }

            return;
        }

        try {
            $collector = static::getInstance();
        } catch (\UnexpectedValueException $e) {
            return;
        }

        $data = $collector['debug.messages'];

        if ($data === null) {
            $data = [];
        }

        $data[] = [
            'message' => $message,
            'type' => $type,
            'timestamp' => microtime(true),
        ];

        $collector['debug.messages'] = $data;
    }
1243844
public static function getJsMessage($title, $message, $type='info') {
	
		$types = array('info', 'warning', 'error');
		if (!in_array($type, $types)) $type = 'info';
	
		$message = '<script>$(document).ready(function(){$.showMessage("'.
				addslashes($title) .'","'.
				addslashes($message) .'","'.
				addslashes($type) .'");});</script>';
	
		return $message;
	
	}
581268
function appendPre(message) {
	var pre = document.getElementById('content');
	var textContent = document.createTextNode(message + '\n');
	pre.appendChild(textContent);
}
431943
public void addSayCommand(String message) {
        StringBuilder buf = new StringBuilder();
        buf.append("(say ");
        buf.append(message);
        buf.append(')');
        fifo.add(fifo.size(), buf.toString());
    }
826134
public void setTitle(String title, int type)
	{
		if (allow(type&ID3V1))
		{
			id3v1.setTitle(title);
		}
		if (allow(type&ID3V2))
		{
			id3v2.setTextFrame(ID3v2Frames.TITLE, title);
		}
	}