The Text_Filter_emails:: class finds email addresses in a block of text and turns them into links.
Parameters:
always_mailto -- If true, a mailto: link is generated always. Only if no mail/compose registry API method exists otherwise. class -- CSS class of the generated tag. Defaults to none. encode -- Whether to escape special HTML characters in the URLs and finally "encode" the complete tag so that it can be decoded later with the decode() method. This is useful if you want to run htmlspecialchars() or similar *after* using this filter.
$Horde: framework/Text_Filter/Filter/emails.php,v 1.15.10.21 2009/01/06 15:23:42 jan Exp $
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Text_Filter/Filter/emails.php (line 29)
Text_Filter | --Text_Filter_emails
Filter parameters.
"Decodes" the text formerly encoded by using the "encode" parameter.
Returns a hash with replace patterns.
Inherited From Text_Filter
Text_Filter::Text_Filter()
Text_Filter::factory()
Text_Filter::filter()
Text_Filter::getPatterns()
Text_Filter::postProcess()
Text_Filter::preProcess()
Documentation generated on Sun, 30 Jan 2011 05:17:06 +0000 by phpDocumentor 1.4.3