Class ParserWrapper
Class ParserWrapper
Wrap around the BBC parsers before we implement a DIC. Deprecate in future versions in favor of a DIC
Methods summary
public static
|
|
private
|
|
protected
boolean
|
|
protected
boolean
|
|
public
|
|
protected
array
|
|
public
array
|
|
public
array
|
|
public
array
|
|
protected
string
|
|
public
string
|
#
parseMessage( string $message, boolean|integer $smileys_enabled )
Parse the BBC and smileys in messages |
public
string
|
#
parseSignature( string $signature, boolean $smileys_enabled )
Parse the BBC and smileys in signatures |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
#
parseVerificationControls( string $question )
Parse the BBC and smileys in user verification controls |
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
#
getAutolinkParser( )
Return an, that's right not and, just an, like a single instance of the autolink parser |
public
|
#
getSmileyParser( )
Return an, that's right not and, just an, like a single instance of the Smiley parser |
public
|
#
getHtmlParser( )
Return an, that's right not and, just an, like a single instance of the HTML parser |
Properties summary
protected
array
|
$disabled
Disabled tags |
#
array()
|
protected
|
$codes
|
|
protected
|
$bbc_parser
|
|
protected
|
$smiley_parser
|
|
protected
|
$html_parser
|
|
protected
|
$autolink_parser
|
|
protected
boolean
|
$smileys_enabled
If smileys are enabled |
#
true
|
public static
|
$instance
|