Text_Filter:: is a parent class for defining stackable text filters.
$Horde: framework/Text_Filter/Filter.php,v 1.15.2.13 2009/01/06 15:23:42 jan Exp $
Copyright 1999-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.php (line 27)
Class | Description |
---|---|
![]() |
The Text_Filter_bbcode:: class finds bbcode-style markup (see below) in a block of text and turns it into HTML. |
![]() |
Removes some common entities and high-ascii or otherwise nonstandard characters common in text pasted from Microsoft Word into a browser. |
![]() |
Displays message signatures marked by a '-- ' in the style of the CSS class "signature". |
![]() |
The Text_Filter_emails:: class finds email addresses in a block of text and turns them into links. |
![]() |
The Text_Filter_emoticons:: class finds emoticon strings ( :), etc.) in a block of text and turns them into image links. |
![]() |
Replaces occurences of %VAR% with VAR, if VAR exists in the webserver's environment. Ignores all text after a '#' character (shell-style comments). |
![]() |
Highlights quoted messages with different colors for the different quoting levels. |
![]() |
The Text_Filter_linkurls:: class turns all URLs in the text into hyperlinks. |
![]() |
Highlights simple markup as used in emails or usenet postings. |
![]() |
The space2html filter converts horizontal whitespace to HTML code. |
![]() |
The Text_Filter_tabs2spaces:: converts tabs into spaces. |
![]() |
Turn text into HTML with varying levels of parsing. For no html whatsoever, use htmlspecialchars() instead. |
![]() |
Filters the given text based on the words found in a word list file. |
![]() |
This filter attempts to make HTML safe for viewing. IT IS NOT PERFECT. If |
![]() |
Takes HTML and converts it to formatted, plain text. |
Filter parameters.
Constructor.
Attempts to return a concrete Text_filter instance based on $driver.
Applies a set of patterns to a block of text.
Returns a hash with replace patterns.
Executes any code necessaray after applying the filter patterns.
Executes any code necessaray before applying the filter patterns.
Documentation generated on Sun, 30 Jan 2011 05:17:19 +0000 by phpDocumentor 1.4.3