UAP 4 Documentation - BBCode

Welcome to UAP Docs - BBCode

BBCode Library


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

The following BBCode works with this Library:

[i]....[/i]
[b]....[/b]
[quote]....[/quote]
[code]....[/code]
[url href=http://www.userapplepie.com]....[/url]

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

use Libs\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.

UAP 4 Documentation - BBCode

Title
Statistics
Last Reply
Forum Permissions
You cannot post in this forum.
You cannot moderate this forum.
You cannot administrate this forum.