[ Index ] |
PHP Cross Reference of MyBB |
[Source view] [Print] [Project Stats]
MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved
File Size: | 1394 lines (40 kb) |
Included or required: | 37 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
postParser:: (38 methods):
parse_message()
parse_html()
cache_mycode()
parse_mycode()
cache_smilies()
parse_smilies()
cache_badwords()
parse_badwords()
fix_javascript()
mycode_handle_size()
mycode_handle_size_callback()
mycode_parse_quotes()
mycode_parse_post_quotes()
mycode_parse_post_quotes_callback1()
mycode_parse_post_quotes_callback2()
mycode_parse_code()
mycode_parse_code_callback()
mycode_parse_php()
mycode_parse_php_callback()
mycode_parse_url()
mycode_parse_url_callback1()
mycode_parse_url_callback2()
mycode_parse_img()
mycode_parse_img_callback1()
mycode_parse_img_callback2()
mycode_parse_img_callback3()
mycode_parse_img_callback4()
mycode_parse_email()
mycode_parse_email_callback()
mycode_parse_video()
mycode_parse_video_callback()
mycode_auto_url()
mycode_parse_list()
mycode_parse_list_callback()
mycode_parse_list_callback_type()
strip_smilies()
highlight_message()
text_parse_message()
Class: postParser - X-Ref
parse_message($message, $options=array() X-Ref |
Parses a message with the specified options. param: string The message to be parsed. param: array Array of yes/no options - allow_html,filter_badwords,allow_mycode,allow_smilies,nl2br,me_username. return: string The parsed message. |
parse_html($message) X-Ref |
Converts HTML in a message to their specific entities whilst allowing unicode characters. param: string The message to be parsed. return: string The formatted message. |
cache_mycode() X-Ref |
Generates a cache of MyCode, both standard and custom. |
parse_mycode($message, $options=array() X-Ref |
Parses MyCode tags in a specific message with the specified options. param: string The message to be parsed. param: array Array of options in yes/no format. Options are allow_imgcode. return: string The parsed message. |
cache_smilies() X-Ref |
Generates a cache of smilies |
parse_smilies($message, $allow_html=0) X-Ref |
Parses smilie code in the specified message. param: string The message being parsed. param: string Base URL for the image tags created by smilies. param: string Yes/No if HTML is allowed in the post return: string The parsed message. |
cache_badwords() X-Ref |
Generates a cache of badwords filters. |
parse_badwords($message, $options=array() X-Ref |
Parses a list of filtered/badwords in the specified message. param: string The message to be parsed. param: array Array of parser options in yes/no format. return: string The parsed message. |
fix_javascript($message) X-Ref |
Attempts to move any javascript references in the specified message. param: string The message to be parsed. return: string The parsed message. |
mycode_handle_size($size, $text) X-Ref |
Handles fontsize. param: string The original size. param: string The text within a size tag. return: string The parsed text. |
mycode_handle_size_callback($matches) X-Ref |
Handles fontsize. param: array Matches. return: string The parsed text. |
mycode_parse_quotes($message, $text_only=false) X-Ref |
Parses quote MyCode. param: string The message to be parsed param: boolean Are we formatting as text? return: string The parsed message. |
mycode_parse_post_quotes($message, $username, $text_only=false) X-Ref |
Parses quotes with post id and/or dateline. param: string The message to be parsed param: string The username to be parsed param: boolean Are we formatting as text? return: string The parsed message. |
mycode_parse_post_quotes_callback1($matches) X-Ref |
Parses quotes with post id and/or dateline. param: array Matches. return: string The parsed message. |
mycode_parse_post_quotes_callback2($matches) X-Ref |
Parses quotes with post id and/or dateline. param: array Matches. return: string The parsed message. |
mycode_parse_code($code, $text_only=false) X-Ref |
Parses code MyCode. param: string The message to be parsed param: boolean Are we formatting as text? return: string The parsed message. |
mycode_parse_code_callback($matches) X-Ref |
Parses code MyCode. param: array Matches. return: string The parsed message. |
mycode_parse_php($str, $bare_return = false, $text_only = false) X-Ref |
Parses PHP code MyCode. param: string The message to be parsed param: boolean Whether or not it should return it as pre-wrapped in a div or not. param: boolean Are we formatting as text? return: string The parsed message. |
mycode_parse_php_callback($matches) X-Ref |
Parses PHP code MyCode. param: array Matches. return: string The parsed message. |
mycode_parse_url($url, $name="") X-Ref |
Parses URL MyCode. param: string The URL to link to. param: string The name of the link. return: string The built-up link. |
mycode_parse_url_callback1($matches) X-Ref |
Parses URL MyCode. param: array Matches. return: string The built-up link. |
mycode_parse_url_callback2($matches) X-Ref |
Parses URL MyCode. param: array Matches. return: string The built-up link. |
mycode_parse_img($url, $dimensions=array() X-Ref |
Parses IMG MyCode. param: string The URL to the image param: array Optional array of dimensions |
mycode_parse_img_callback1($matches) X-Ref |
Parses IMG MyCode. param: array Matches. return: string Image code. |
mycode_parse_img_callback2($matches) X-Ref |
Parses IMG MyCode. param: array Matches. return: string Image code. |
mycode_parse_img_callback3($matches) X-Ref |
Parses IMG MyCode. param: array Matches. return: string Image code. |
mycode_parse_img_callback4($matches) X-Ref |
Parses IMG MyCode. param: array Matches. return: string Image code. |
mycode_parse_email($email, $name="") X-Ref |
Parses email MyCode. param: string The email address to link to. param: string The name for the link. return: string The built-up email link. |
mycode_parse_email_callback($matches) X-Ref |
Parses email MyCode. param: array Matches return: string The built-up email link. |
mycode_parse_video($video, $url) X-Ref |
Parses video MyCode. param: string The video provider. param: string The video to link to. return: string The built-up video code. |
mycode_parse_video_callback($matches) X-Ref |
Parses video MyCode. param: array Matches. return: string The built-up video code. |
mycode_auto_url($message) X-Ref |
Parses URLs automatically. param: string The message to be parsed return: string The parsed message. |
mycode_parse_list($message, $type="") X-Ref |
Parses list MyCode. param: string The message to be parsed param: string The list type return: string The parsed message. |
mycode_parse_list_callback($matches) X-Ref |
Parses list MyCode. param: array Matches return: string The parsed message. |
mycode_parse_list_callback_type($matches) X-Ref |
Parses list MyCode. param: array Matches return: string The parsed message. |
strip_smilies($message) X-Ref |
Strips smilies from a string param: string The message for smilies to be stripped from return: string The message with smilies stripped |
highlight_message($message, $highlight) X-Ref |
Highlights a string param: string The message to be highligted param: string The highlight keywords return: string The message with highlight bbcodes |
text_parse_message($message, $options=array() X-Ref |
Parses message to plain text equivalents of MyCode. param: string The message to be parsed return: string The parsed message. |
Generated: Tue Oct 8 19:19:50 2013 | Cross-referenced by PHPXref 0.7.1 |