Helper class for string replacements based on preg_replace_callback
Located in /lib/Roundcube/rcube_string_replacer.php (line 25)
Class | Description |
---|---|
rcmail_string_replacer | Helper class for turning URLs and email addresses in plaintext content into clickable links. |
Fixes bracket characters in URL handling
Add a string to the internal list
Build replacement string
Callback function used to build HTML links around URL strings
Callback function used to build mailto: links around e-mail strings
Replace all defined (link|mailto) patterns with replacement string
Look up the index from the preg_replace matches array and return the substitution value.
Replace substituted strings with original values
Documentation generated on Fri, 03 May 2013 12:45:06 +0200 by phpDocumentor 1.4.4