PHP Class App\Libraries\BBCodeForDB

Show file Open project: ppy/osu-web Class Usage Examples

Public Properties

Property Type Description
$bitfield number of 1s are arbitrary
$text
$uid

Public Methods

Method Description
__construct ( $text = '' )
extraEscapes ( $text )
generate ( )
parseAudio ( $text )
parseBlockSimple ( $text ) Handles: - Centre (centre).
parseBox ( $text )
parseCode ( $text )
parseColour ( $text )
parseEmail ( $text )
parseInlineSimple ( $text ) * Handles: - Bold (b) - Italic (i) - Image (img) - Strike (strike, s) - Underline (u) - Heading (heading)
parseLinks ( $text )
parseList ( $text ) with phpBB original implementation.
parseNotice ( $text )
parseProfile ( $text )
parseQuote ( $text ) this is quite different and much more dumb than the one in phpbb
parseSize ( $text )
parseSmiley ( $text ) copied from www/forum/includes/message_parser.php#L1196
parseUrl ( $text )
parseYoutube ( $text )

Method Details

__construct() public method

public __construct ( $text = '' )

extraEscapes() public method

public extraEscapes ( $text )

generate() public method

public generate ( )

parseAudio() public method

public parseAudio ( $text )

parseBlockSimple() public method

Handles: - Centre (centre).
public parseBlockSimple ( $text )

parseBox() public method

public parseBox ( $text )

parseCode() public method

public parseCode ( $text )

parseColour() public method

public parseColour ( $text )

parseEmail() public method

public parseEmail ( $text )

parseInlineSimple() public method

* Handles: - Bold (b) - Italic (i) - Image (img) - Strike (strike, s) - Underline (u) - Heading (heading)
public parseInlineSimple ( $text )

parseList() public method

with phpBB original implementation.
public parseList ( $text )

parseNotice() public method

public parseNotice ( $text )

parseProfile() public method

public parseProfile ( $text )

parseQuote() public method

this is quite different and much more dumb than the one in phpbb
public parseQuote ( $text )

parseSize() public method

public parseSize ( $text )

parseSmiley() public method

copied from www/forum/includes/message_parser.php#L1196
public parseSmiley ( $text )

parseUrl() public method

public parseUrl ( $text )

parseYoutube() public method

public parseYoutube ( $text )

Property Details

$bitfield public property

number of 1s are arbitrary
public $bitfield

$text public property

public $text

$uid public property

public $uid