Gumbo_Filter_Language
Gumbo_Filter_Preg | --Gumbo_Filter_Language
Language Filter Class
Author(s): |
Michael Luster <mluster79@yahoo.com> |
License: | New BSD License |
Copyright: | Copyright (c) 2007, iBayou, Michael Luster |
Link: | http://sourceforge.net/projects/phpgumbo |
Version: | 0.0.1 |
Inherited Methods
- Gumbo_Filter_Preg::__construct()
- Gumbo_Filter_Preg::getChar()
- Gumbo_Filter_Preg::getCount()
- Gumbo_Filter_Preg::getLimit()
- Gumbo_Filter_Preg::getPattern()
- Gumbo_Filter_Preg::run()
- Gumbo_Filter_Preg::setChar()
- Gumbo_Filter_Preg::setCount()
- Gumbo_Filter_Preg::setLimit()
- Gumbo_Filter_Preg::setPattern()
Class Variables
array $_words = array () [line 38]
Class Methods
public Gumbo_Filter_Language __construct ( [string $char] )
[line 46]
Constructor
Parameter(s):
- (string) $char :: replacement character
Overrides
[ Top ]
public void addWord ( string $word )
[line 69]
Adds a Word (or Word Pattern) to the list
Parameter(s):
- (string) $word
- throws:
Gumbo_Exception
[ Top ]public array|string getWords ( [bool $as_string] ) [line 173]Returns ALL the Filter Words
Parameter(s):
- (bool) $as_string :: formats as a string pattern
[ Top ]public bool isWord ( string $word ) [line 201]Returns if the Word (Pattern) Exists
Parameter(s):
- (string) $word
[ Top ]public void removeWord ( string $word ) [line 91]Removes a Word (or Word Pattern) from the list
Parameter(s):
- (string) $word
- throws:
Gumbo_Exception
[ Top ]words to default
[ Top ]public string run ( string $data ) [line 59]Runs the Filter process, returning the results
Parameter(s):
- (string) $data :: data to filter
Overrides
[ Top ]public void setWords ( [string $words] ) [line 137]Sets the Words (or Word Patterns) to Filter
Parameter(s):
- (string) $words
- throws:
Gumbo_Exception
[ Top ]