Class rcmail_string_replacer

Description

Helper class for turning URLs and email addresses in plaintext content into clickable links.

Located in /include/rcmail_string_replacer.php (line 30)

rcube_string_replacer
   |
   --rcmail_string_replacer
Method Summary
 int mailto_callback (array $matches)
Variables
Methods
mailto_callback (line 41)

Callback function used to build mailto: links around e-mail strings

This also adds an onclick-handler to open the Rouncube compose message screen on such links

int mailto_callback (array $matches)
  • array $matches: Matches result from preg_replace_callback

Redefinition of:
rcube_string_replacer::mailto_callback()
Callback function used to build mailto: links around e-mail strings

Inherited Methods

Inherited From rcube_string_replacer

 rcube_string_replacer::__construct()
 rcube_string_replacer::add()
 rcube_string_replacer::get_replacement()
 rcube_string_replacer::link_callback()
 rcube_string_replacer::mailto_callback()
 rcube_string_replacer::parse_url_brackets()
 rcube_string_replacer::replace()
 rcube_string_replacer::replace_callback()
 rcube_string_replacer::resolve()

Documentation generated on Fri, 03 May 2013 12:44:56 +0200 by phpDocumentor 1.4.4