/** * @see \wcf\data\IMessage::getFormattedMessage() */ public function getFormattedMessage() { // assign embedded attachments AttachmentBBCode::setObjectID($this->updateID); // parse and return the news message MessageParser::getInstance()->setOutputType('text/html'); return MessageParser::getInstance()->parse($this->message, $this->enableSmilies, $this->enableHtml, $this->enableBBCodes); }
public function getFormattedMessage() { AttachmentBBCode::setObjectID($this->newsID); MessageParser::getInstance()->setOutputType('text/html'); return MessageParser::getInstance()->parse($this->getMessage(), $this->enableSmilies, $this->enableHtml, $this->enableBBCodes); }