Свойство | Тип | Описание | |
---|---|---|---|
$allow_flash_bbcode | |||
$allow_img_bbcode | |||
$allow_quote_bbcode | |||
$allow_url_bbcode | |||
$attachment_data | |||
$filename_data | |||
$message_status | Helps ironing out user error | ||
$mode |
Свойство | Тип | Описание | |
---|---|---|---|
$mimetype_guesser | phpbb\mimetype\guesser | The mimetype guesser object used for attachment mimetypes | |
$plupload | phpbb\plupload\plupload | The plupload object used for dealing with attachments |
Метод | Описание | |
---|---|---|
decode_message ( $custom_bbcode_uid = '', $update_this_message = true ) | Decode message to be placed back into form box | |
format_display ( $allow_bbcode, $allow_magic_url, $allow_smilies, $update_this_message = true ) | Formatting text for display | |
get_submitted_attachment_data ( $check_user_id = false ) | Get Attachment Data | |
magic_url ( $server_url ) | Replace magic urls of form http://xxx.xxx., www.xxx. and [email protected]. | |
parse ( $allow_bbcode, $allow_magic_url, $allow_smilies, $allow_img_bbcode = true, $allow_flash_bbcode = true, $allow_quote_bbcode = true, $allow_url_bbcode = true, $update_this_message = true, $mode = 'post' ) | Parse Message | |
parse_attachments ( $form_name, $mode, $forum_id, $submit, $preview, $refresh, $is_message = false ) | Parse Attachments | |
parse_message ( $message = '' ) | Init - give message here or manually | |
parse_poll ( &$poll ) | Parse Poll | |
remove_nested_quotes ( integer $max_depth ) : null | Remove nested quotes at given depth in current parsed message | |
set_mimetype_guesser ( phpbb\mimetype\guesser $mimetype_guesser ) : null | Setter function for passing the mimetype_guesser object | |
set_plupload ( phpbb\plupload\plupload $plupload ) : null | Setter function for passing the plupload object | |
smilies ( $max_smilies ) | Parse Smilies | |
validate_bbcode_by_extension ( ) : mixed | Function to perform custom bbcode validation by extensions can be used in bbcode_init() to assign regexp replacement Example: 'regexp' => array('#\b\\[/b\]#uise' => "\$this->validate_bbcode_by_extension('\$1')") |
public decode_message ( $custom_bbcode_uid = '', $update_this_message = true ) |
public format_display ( $allow_bbcode, $allow_magic_url, $allow_smilies, $update_this_message = true ) |
public get_submitted_attachment_data ( $check_user_id = false ) |
public magic_url ( $server_url ) |
public parse ( $allow_bbcode, $allow_magic_url, $allow_smilies, $allow_img_bbcode = true, $allow_flash_bbcode = true, $allow_quote_bbcode = true, $allow_url_bbcode = true, $update_this_message = true, $mode = 'post' ) |
public parse_attachments ( $form_name, $mode, $forum_id, $submit, $preview, $refresh, $is_message = false ) |
public parse_message ( $message = '' ) |
public remove_nested_quotes ( integer $max_depth ) : null | ||
$max_depth | integer | Depth limit |
Результат | null |
public set_mimetype_guesser ( phpbb\mimetype\guesser $mimetype_guesser ) : null | ||
$mimetype_guesser | phpbb\mimetype\guesser | The mimetype_guesser object |
Результат | null |
public set_plupload ( phpbb\plupload\plupload $plupload ) : null | ||
$plupload | phpbb\plupload\plupload | The plupload object |
Результат | null |
public validate_bbcode_by_extension ( ) : mixed | ||
Результат | mixed | Validation result |
protected guesser,phpbb\mimetype $mimetype_guesser | ||
Результат | phpbb\mimetype\guesser |