Documentation

Horde_Core_Text_Filter_Highlightquotes extends Horde_Text_Filter_Highlightquotes
in package

Class that extends the base Highlightquotes class to allow toggling of quoteblocks via javascript.

CSS class names "toggleQuoteHide" and "toggleQuoteShow" are used to style toggle text.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

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

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

Methods

__construct()  : mixed
_beginLargeBlock()  : string
Add HTML code at the beginning of a large block of quoted lines.
_endLargeBlock()  : string
Add HTML code at the end of a large block of quoted lines.

Methods

__construct()

public __construct([array<string|int, mixed> $params = array() ]) : mixed
Parameters
$params : array<string|int, mixed> = array()

Additional Parameters to base driver:

'noJS' - (boolean) Don't add javascript toggle code.
         DEFAULT: false

_beginLargeBlock()

Add HTML code at the beginning of a large block of quoted lines.

protected _beginLargeBlock(array<string|int, mixed> $lines, int $qcount) : string
Parameters
$lines : array<string|int, mixed>

Lines.

$qcount : int

Number of lines in quoted level.

Return values
string

HTML code.

_endLargeBlock()

Add HTML code at the end of a large block of quoted lines.

protected _endLargeBlock(array<string|int, mixed> $lines, int $qcount) : string
Parameters
$lines : array<string|int, mixed>

Lines.

$qcount : int

Number of lines in quoted level.

Return values
string

HTML code.


        
On this page

Search results