SproutCMS

This is the code documentation for the SproutCMS project

function inline()

Convert an inline run of plain text into HTML.

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

Usage

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

Arguments

  1. string $text
    Plain text to convert
  2. array $tags = NULL
    Optional array of tags names (e.g. 'b') to process. Provide NULL for defaults (b, i, code, url)

Return value

  • string
    HTML