PHP Class Horde_Core_Text_Filter_Highlightquotes, horde

CSS class names "toggleQuoteHide" and "toggleQuoteShow" are used to style toggle text. Copyright 2010-2016 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.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Text_Filter_Highlightquotes
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
__construct ( array $params = [] )

Protected Methods

Method Description
_beginLargeBlock ( array $lines, integer $qcount ) : string Add HTML code at the beginning of a large block of quoted lines.
_endLargeBlock ( array $lines, integer $qcount ) : string Add HTML code at the end of a large block of quoted lines.

Method Details

__construct() public method

public __construct ( array $params = [] )
$params array Additional Parameters to base driver:
'noJS' - (boolean) Don't add javascript toggle code.
         DEFAULT: false

_beginLargeBlock() protected method

Add HTML code at the beginning of a large block of quoted lines.
protected _beginLargeBlock ( array $lines, integer $qcount ) : string
$lines array Lines.
$qcount integer Number of lines in quoted level.
return string HTML code.

_endLargeBlock() protected method

Add HTML code at the end of a large block of quoted lines.
protected _endLargeBlock ( array $lines, integer $qcount ) : string
$lines array Lines.
$qcount integer Number of lines in quoted level.
return string HTML code.