UAP 3 Documentation - BBCode

Welcome to UAP Docs - BBCode

BBCode Helper

BBCode Helper was designed for the Forum plugin to allow simple BBCode within posts.

The following BBCode works with this helper:

[url href=]....[/url]

The BBCode Helper is designed to be used in the Views.

use Helpers\BBCode;

//Format the content with bbcode
$content = stripslashes(BBCode::getHtml($data['content']));

// Output the Formated content
echo $content;

- Can't find what your looking for? Please use Forum.