The Text_Filter_linkurls:: class turns all URLs in the text into hyperlinks.
Parameters:
target -- The link target. Defaults to _blank. class -- The CSS class of the generated links. Defaults to none. nofollow -- Whether to set the 'rel="nofollow"' attribute on links. callback -- An optional callback function that the URL is passed through before being set as the href attribute. Must be a string with the function name, the function must take the original as the first and only parameter. 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/linkurls.php,v 1.11.10.11 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.
Class | Description |
---|---|
![]() |
The Text_Filter_linkurls:: class turns all URLs in the text into hyperlinks. |
Documentation generated on Sun, 30 Jan 2011 05:19:14 +0000 by phpDocumentor 1.4.3