parse_messageMain message parser for posting, pm, etc. takes raw message
and parses it for attachments, bbcode and smilies
Located in /includes/message_parser.php (line 1030)
bbcode | --bbcode_firstpass | --parse_message
void
format_display
( $allow_bbcode, $allow_magic_url, $allow_smilies, [ $update_this_message = true])
void
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'])
void
parse_attachments
( $form_name, $mode, $forum_id, $submit, $preview, $refresh, [ $is_message = false])
mixed
$allow_flash_bbcode
= true (line 1039)
mixed
$allow_img_bbcode
= true (line 1038)
mixed
$allow_quote_bbcode
= true (line 1040)
mixed
$allow_url_bbcode
= true (line 1041)
mixed
$attachment_data
= array() (line 1032)
mixed
$filename_data
= array() (line 1033)
mixed
$message_status
= '' (line 1036)
mixed
$mode
(line 1043)
Inherited from bbcode_firstpass
bbcode_firstpass::$message
bbcode_firstpass::$parsed_items
bbcode_firstpass::$warn_msg
Inherited from bbcode
bbcode::$bbcodes
bbcode::$bbcode_bitfield
bbcode::$bbcode_cache
bbcode::$bbcode_template
bbcode::$bbcode_uid
bbcode::$template_bitfield
bbcode::$template_filename
Constructor parse_message (line 1048)
Init - give message here or manually
decode_message (line 1219)
Decode message to be placed back into form box
format_display (line 1175)
Formatting text for display
get_submitted_attachment_data (line 1517)
Get Attachment Data
magic_url (line 1246)
Replace magic urls of form http://xxx.xxx., www.xxx. and xxx@xxx.xxx.
Cuts down displayed size of link if over 50 chars, turns absolute links into relative versions when the server/script path matches the link
parse (line 1062)
Parse Message
parse_attachments (line 1329)
Parse Attachments
parse_poll (line 1604)
Parse Poll
smilies (line 1255)
Parse Smilies
Inherited From bbcode_firstpass
bbcode_firstpass::bbcode_attachment()
bbcode_firstpass::bbcode_code()
bbcode_firstpass::bbcode_color()
bbcode_firstpass::bbcode_flash()
bbcode_firstpass::bbcode_img()
bbcode_firstpass::bbcode_init()
bbcode_firstpass::bbcode_italic()
bbcode_firstpass::bbcode_parse_code()
bbcode_firstpass::bbcode_parse_list()
bbcode_firstpass::bbcode_quote()
bbcode_firstpass::bbcode_size()
bbcode_firstpass::bbcode_specialchars()
bbcode_firstpass::bbcode_strong()
bbcode_firstpass::bbcode_underline()
bbcode_firstpass::check_bbcode()
bbcode_firstpass::parse_bbcode()
bbcode_firstpass::path_in_domain()
bbcode_firstpass::prepare_bbcodes()
bbcode_firstpass::validate_email()
bbcode_firstpass::validate_url()
Inherited From bbcode
bbcode::bbcode()
bbcode::bbcode_cache_init()
bbcode::bbcode_list()
bbcode::bbcode_second_pass()
bbcode::bbcode_second_pass_code()
bbcode::bbcode_second_pass_quote()
bbcode::bbcode_tpl()
bbcode::bbcode_tpl_replace()
Documentation generated on Tue, 26 Aug 2008 08:34:07 +0200 by phpDocumentor 1.4.2