'citeblock' -- Display cite blocks? DEFAULT: true 'cssLevels' -- Number of defined CSS class names. DEFAULT: 5 'hideBlocks' -- Hide large quoted text blocks by default? DEFAULT: falseCopyright 2004-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. Mostra file Open project: horde/horde Class Usage Examples
Property | Type | Description | |
---|---|---|---|
$_params | array | Filter parameters. | |
$_qlimit | integer | The number of quoted lines to exceed to trigger large block processing. |
Method | Description | |
---|---|---|
getPatterns ( ) : array | Returns a hash with replace patterns. | |
postProcess ( string $text ) : string | Executes any code necessaray after applying the filter patterns. | |
preProcess ( string $text ) : string | Executes any code necessaray before applying the filter patterns. |
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. | |
_process ( array $lines, integer $qcount ) : string | Process a batch of lines at the same quoted level. | |
_removeBr ( array $lines ) : array | Remove leading and trailing BR tags. |
public getPatterns ( ) : array | ||
return | array | Patterns hash. |
public postProcess ( string $text ) : string | ||
$text | string | The text after the filtering. |
return | string | The modified text. |
public preProcess ( string $text ) : string | ||
$text | string | The text before the filtering. |
return | string | The modified text. |
protected int $_qlimit | ||
return | integer |