Skip to content

Instantly share code, notes, and snippets.

Created July 17, 2013 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/6020365 to your computer and use it in GitHub Desktop.
Save anonymous/6020365 to your computer and use it in GitHub Desktop.
public function renderHtml()
{
$bbCodeParser = XenForo_BbCode_Parser::create(XenForo_BbCode_Formatter_Base::create('Base', array('view' => $this)));
XenForo_ViewPublic_Helper_Message::getBbCodeWrapper($this->_params['profilePost'], $bbCodeParser, array());
}
public function renderJson()
{
$response = parent::renderJson();
$bbCodeParser = XenForo_BbCode_Parser::create(XenForo_BbCode_Formatter_Base::create('Base', array('view' => $this)));
XenForo_ViewPublic_Helper_Message::getBbCodeWrapper($this->_params['profilePost'], $bbCodeParser, array());
return $response;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment