Свойство | Тип | Описание | |
---|---|---|---|
$message | |||
$parsed_items | |||
$warn_msg |
Метод | Описание | |
---|---|---|
bbcode_attachment ( $stx, $in ) | Parse inline attachments [ia] | |
bbcode_code ( $stx, $in ) | Parse code tag Expects the argument to start right after the opening [code] tag and to end with [/code] | |
bbcode_color ( $stx, $in ) | Parse color tag | |
bbcode_flash ( $width, $height, $in ) | Parse flash tag | |
bbcode_img ( $in ) | Parse img tag | |
bbcode_init ( $allow_custom_bbcode = true ) | Init bbcode data for later parsing | |
bbcode_italic ( $in ) | Parse i tag | |
bbcode_parse_code ( $stx, &$code ) | Parse code text from code tag | |
bbcode_parse_list ( $in ) | Parse list bbcode Expects the argument to start with a tag | |
bbcode_quote ( $in ) | Parse quote bbcode Expects the argument to start with a tag | |
bbcode_size ( $stx, $in ) | Parse size tag | |
bbcode_specialchars ( $text ) | Transform some characters in valid bbcodes | |
bbcode_strong ( $in ) | Parse b tag | |
bbcode_underline ( $in ) | Parse u tag | |
check_bbcode ( $bbcode, &$in ) | Making some pre-checks for bbcodes as well as increasing the number of parsed items | |
parse_bbcode ( ) | Parse BBCode | |
path_in_domain ( string $url ) : true | Check if url is pointing to this domain/script_path/php-file | |
prepare_bbcodes ( ) | Prepare some bbcodes for better parsing | |
validate_email ( $var1, $var2 ) | Validate email | |
validate_url ( string $var1, string $var2 ) | Validate url |
public bbcode_attachment ( $stx, $in ) |
public bbcode_code ( $stx, $in ) |
public bbcode_init ( $allow_custom_bbcode = true ) |
public bbcode_parse_code ( $stx, &$code ) |
public bbcode_parse_list ( $in ) |
public bbcode_quote ( $in ) |
public bbcode_specialchars ( $text ) |
public check_bbcode ( $bbcode, &$in ) |
public path_in_domain ( string $url ) : true | ||
$url | string | the url to check |
Результат | true | if the url is pointing to this domain/script_path/php-file, false if not |
public prepare_bbcodes ( ) |
public validate_url ( string $var1, string $var2 ) | ||
$var1 | string | optional url parameter for url bbcode: [url(=$var1)]$var2[/url] |
$var2 | string | url bbcode content: [url(=$var1)]$var2[/url] |