PHP Class Horde_Text_Filter_Words, horde

Parameters: - replacement: (string) The replacement string. Defaults to "*****". - words: (array) List of words to replace. (Since 2.1.0) - words_file: (string) Filename containing the words to replace.
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Text_Filter_Base
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_params array Filter parameters.

Public Methods

Method Description
getPatterns ( ) : array Returns a hash with replace patterns.

Protected Methods

Method Description
_getReplacement ( $line ) : array Returns a hash with replace patterns.

Method Details

_getReplacement() protected method

Returns a hash with replace patterns.
protected _getReplacement ( $line ) : array
return array Patterns hash.

getPatterns() public method

Returns a hash with replace patterns.
public getPatterns ( ) : array
return array Patterns hash.

Property Details

$_params protected_oe property

Filter parameters.
protected array $_params
return array