Overview

Packages

  • Text
    • Filter

Classes

  • Horde_Text_Filter
  • Horde_Text_Filter_Base
  • Horde_Text_Filter_Bbcode
  • Horde_Text_Filter_Cleanascii
  • Horde_Text_Filter_Cleanhtml
  • Horde_Text_Filter_Dimsignature
  • Horde_Text_Filter_Emails
  • Horde_Text_Filter_Emoticons
  • Horde_Text_Filter_Environment
  • Horde_Text_Filter_Exception
  • Horde_Text_Filter_Highlightquotes
  • Horde_Text_Filter_Html2text
  • Horde_Text_Filter_JavascriptMinify
  • Horde_Text_Filter_JavascriptMinify_JsMin
  • Horde_Text_Filter_Linkurls
  • Horde_Text_Filter_Simplemarkup
  • Horde_Text_Filter_Space2html
  • Horde_Text_Filter_Tabs2spaces
  • Horde_Text_Filter_Text2html
  • Horde_Text_Filter_Translation
  • Horde_Text_Filter_Words
  • Horde_Text_Filter_Xss
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Text_Filter_Highlightquotes

Highlights quoted messages with different colors for the different quoting levels.

CSS class names called "quoted1" ... "quoted{$cssLevels}" must be present.

The text to be passed in must have already been passed through htmlspecialchars().

Parameters:

'citeblock'  -- Display cite blocks?
                DEFAULT: true
'cssLevels'  -- Number of defined CSS class names.
                DEFAULT: 5
'hideBlocks' -- Hide large quoted text blocks by default?
                DEFAULT: false

Copyright 2004-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Horde_Text_Filter_Base
Extended by Horde_Text_Filter_Highlightquotes
Package: Text\Filter
Category: Horde
License: LGPL 2.1
Author: Michael Slusarz slusarz@horde.org
Author: Jan Schneider jan@horde.org
Located at Horde/Text/Filter/Highlightquotes.php
Methods summary
public string
# preProcess( string $text )

Executes any code necessaray before applying the filter patterns.

Executes any code necessaray before applying the filter patterns.

Parameters

$text
The text before the filtering.

Returns

string
The modified text.

Overrides

Horde_Text_Filter_Base::preProcess()
public array
# getPatterns( )

Returns a hash with replace patterns.

Returns a hash with replace patterns.

Returns

array
Patterns hash.

Overrides

Horde_Text_Filter_Base::getPatterns()
public string
# postProcess( string $text )

Executes any code necessaray after applying the filter patterns.

Executes any code necessaray after applying the filter patterns.

Parameters

$text
The text after the filtering.

Returns

string
The modified text.

Overrides

Horde_Text_Filter_Base::postProcess()
Methods inherited from Horde_Text_Filter_Base
__construct()
API documentation generated by ApiGen