SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class BbCode

Functions

NameVisibilityDescription
blockpublic (static)Convert multi-line text into HTML, with support for bbcode.
inlinepublic (static)Convert an inline run of plain text into HTML.

public block

string BbCode::block ( string $text [, array $tags ] );

Convert multi-line text into HTML, with support for bbcode.
The output will be surrounded by one or more P tags as appropriate

public inline

string BbCode::inline ( string $text [, array $tags ] );

Convert an inline run of plain text into HTML.

Supports the following bbcode tags:
   [b] [i] [u] [s] [code] [url=...]