PHP Class App\Libraries\BBCodeForDB

Afficher le fichier Open project: ppy/osu-web Class Usage Examples

Méthodes publiques

Свойство Type Description
$bitfield number of 1s are arbitrary
$text
$uid

Méthodes publiques

Méthode 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 méthode

public __construct ( $text = '' )

extraEscapes() public méthode

public extraEscapes ( $text )

generate() public méthode

public generate ( )

parseAudio() public méthode

public parseAudio ( $text )

parseBlockSimple() public méthode

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

parseBox() public méthode

public parseBox ( $text )

parseCode() public méthode

public parseCode ( $text )

parseColour() public méthode

public parseColour ( $text )

parseEmail() public méthode

public parseEmail ( $text )

parseInlineSimple() public méthode

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

parseList() public méthode

with phpBB original implementation.
public parseList ( $text )

parseNotice() public méthode

public parseNotice ( $text )

parseProfile() public méthode

public parseProfile ( $text )

parseQuote() public méthode

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

parseSize() public méthode

public parseSize ( $text )

parseSmiley() public méthode

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

parseUrl() public méthode

public parseUrl ( $text )

parseYoutube() public méthode

public parseYoutube ( $text )

Property Details

$bitfield public_oe property

number of 1s are arbitrary
public $bitfield

$text public_oe property

public $text

$uid public_oe property

public $uid