| [ Index ] |
PHP Cross Reference of MyBB 1.8.39 |
[Source view] [Print] [Project Stats]
MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved
| File Size: | 2091 lines (56 kb) |
| Included or required: | 56 times |
| Referenced: | 1 time |
| Includes or requires: | 0 files |
postParser:: (52 methods):
parse_message()
parse_html()
cache_mycode()
parse_mycode()
cache_smilies()
parse_smilies()
cache_badwords()
parse_badwords()
generate_regex()
parse_cdata()
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_font_callback()
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_img_disabled()
mycode_parse_img_disabled_callback1()
mycode_parse_img_disabled_callback2()
mycode_parse_img_disabled_callback3()
mycode_parse_img_disabled_callback4()
mycode_parse_email()
mycode_parse_email_callback()
mycode_parse_video()
mycode_parse_video_callback()
mycode_parse_video_disabled()
mycode_parse_video_disabled_callback()
mycode_auto_url()
mycode_auto_url_callback()
mycode_parse_list()
mycode_parse_list_callback()
mycode_prepare_list()
strip_smilies()
highlight_message()
text_parse_message()
encode_url()
output_allowed()
validate_output()
Class: postParser - X-Ref
| parse_message($message, $options=array() X-Ref |
| Parses a message with the specified options. param: string $message The message to be parsed. param: array $options Array of yes/no options 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 $message 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 $message The message to be parsed. param: array $options 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 $message $message The message being parsed. param: int $allow_html not used 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 $message The message to be parsed. param: array $options Array of parser options in yes/no format. return: string The parsed message. |
| generate_regex($bad_word = "") X-Ref |
| Generates REGEX patterns based on user defined badword string. param: string $badword The word defined to replace. return: string The regex pattern to match the word or null on error. |
| parse_cdata($message) X-Ref |
| Resolves nested CDATA tags in the specified message. param: string $message The message to be parsed. 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: int $size The original size. param: string $text The text within a size tag. return: string The parsed text. |
| mycode_handle_size_callback($matches) X-Ref |
| Handles fontsize. param: array $matches Matches. return: string The parsed text. |
| mycode_parse_quotes($message, $text_only=false) X-Ref |
| Parses quote MyCode. param: string $message The message to be parsed param: boolean $text_only 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 $message The message to be parsed param: string $username The username to be parsed param: boolean $text_only 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 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 Matches. return: string The parsed message. |
| mycode_parse_code($code, $text_only=false) X-Ref |
| Parses code MyCode. param: string $code The message to be parsed param: boolean $text_only Are we formatting as text? return: string The parsed message. |
| mycode_parse_code_callback($matches) X-Ref |
| Parses code MyCode. param: array $matches Matches. return: string The parsed message. |
| mycode_parse_php($str, $bare_return = false, $text_only = false) X-Ref |
| Parses PHP code MyCode. param: string $str The message to be parsed param: boolean $bare_return Whether or not it should return it as pre-wrapped in a div or not. param: boolean $text_only Are we formatting as text? return: string The parsed message. |
| mycode_parse_php_callback($matches) X-Ref |
| Parses PHP code MyCode. param: array $matches Matches. return: string The parsed message. |
| mycode_parse_url($url, $name="") X-Ref |
| Parses URL MyCode. param: string $url The URL to link to. param: string $name The name of the link. return: string The built-up link. |
| mycode_parse_font_callback($matches) X-Ref |
| Parses font MyCode. param: array $matches Matches. return: string The HTML <span> tag with styled font. |
| mycode_parse_url_callback1($matches) X-Ref |
| Parses URL MyCode. param: array $matches Matches. return: string The built-up link. |
| mycode_parse_url_callback2($matches) X-Ref |
| Parses URL MyCode. param: array $matches Matches. return: string The built-up link. |
| mycode_parse_img($url, $dimensions=array() X-Ref |
| Parses IMG MyCode. param: string $url The URL to the image param: array $dimensions Optional array of dimensions param: string $align return: string |
| mycode_parse_img_callback1($matches) X-Ref |
| Parses IMG MyCode. param: array $matches Matches. return: string Image code. |
| mycode_parse_img_callback2($matches) X-Ref |
| Parses IMG MyCode. param: array $matches Matches. return: string Image code. |
| mycode_parse_img_callback3($matches) X-Ref |
| Parses IMG MyCode. param: array $matches Matches. return: string Image code. |
| mycode_parse_img_callback4($matches) X-Ref |
| Parses IMG MyCode. param: array $matches Matches. return: string Image code. |
| mycode_parse_img_disabled($url) X-Ref |
| Parses IMG MyCode disabled. param: string $url The URL to the image return: string |
| mycode_parse_img_disabled_callback1($matches) X-Ref |
| Parses IMG MyCode disabled. param: array $matches Matches. return: string Image code. |
| mycode_parse_img_disabled_callback2($matches) X-Ref |
| Parses IMG MyCode disabled. param: array $matches Matches. return: string Image code. |
| mycode_parse_img_disabled_callback3($matches) X-Ref |
| Parses IMG MyCode disabled. param: array $matches Matches. return: string Image code. |
| mycode_parse_img_disabled_callback4($matches) X-Ref |
| Parses IMG MyCode disabled. param: array $matches Matches. return: string Image code. |
| mycode_parse_email($email, $name="") X-Ref |
| Parses email MyCode. param: string $email The email address to link to. param: string $name 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 Matches return: string The built-up email link. |
| mycode_parse_video($video, $url) X-Ref |
| Parses video MyCode. param: string $video The video provider. param: string $url 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 Matches. return: string The built-up video code. |
| mycode_parse_video_disabled($url) X-Ref |
| Parses video MyCode disabled. param: string $url The URL to the video return: string |
| mycode_parse_video_disabled_callback($matches) X-Ref |
| Parses video MyCode disabled. param: array $matches Matches. return: string The built-up video code. |
| mycode_auto_url($message) X-Ref |
| Parses URLs automatically. param: string $message The message to be parsed return: string The parsed message. |
| mycode_auto_url_callback($matches=array() X-Ref |
| Parses URLs automatically. param: array $matches Matches return: string The parsed message. |
| mycode_parse_list($message, $type="") X-Ref |
| Parses list MyCode. param: string $message The message to be parsed param: string $type The list type return: string The parsed message. |
| mycode_parse_list_callback($matches) X-Ref |
| Parses list MyCode. param: array $matches Matches return: string The parsed message. |
| mycode_prepare_list($matches) X-Ref |
| Prepares list MyCode by finding the matching list tags. param: array $matches Matches return: string Temporary replacements. |
| strip_smilies($message) X-Ref |
| Strips smilies from a string param: string $message 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 $message The message to be highligted param: string $highlight 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 $message The message to be parsed param: array $options return: string The parsed message. |
| encode_url($url) X-Ref |
| Replaces certain characters with their entities in a URL. param: string $url The URL to be escaped. return: string The escaped URL. |
| output_allowed($source, $output) X-Ref |
| Determines whether the resulting HTML syntax is acceptable for output, according to the parser's validation policy and HTML support. param: string $source The original MyCode. param: string $output The output HTML code. return: bool |
| validate_output($source, $output) X-Ref |
| Validate HTML syntax and pass errors to the error handler. param: string $source The original MyCode. param: string $output The output HTML code. return: bool |
| 2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup | Cross-referenced by PHPXref |