프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_params | array | Configuration parameters. |
메소드 | 설명 | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
factory ( string $driver, array $params = [] ) : Horde_SpellChecker | Attempts to return a concrete Horde_SpellChecker instance based on $driver. | |
setParams ( array $params ) | Set configuration parmeters. | |
spellCheck ( string $text ) : array | Perform spellcheck. |
메소드 | 설명 | |
---|---|---|
_getWords ( string $text ) : array | TODO | |
_inLocalDictionary ( string $word ) : boolean | Determine if a word exists in the local dictionary. |
protected _inLocalDictionary ( string $word ) : boolean | ||
$word | string | The word to check. |
리턴 | boolean | True if the word appears in the local dictionary. |
abstract public spellCheck ( string $text ) : array | ||
$text | string | Text to spellcheck. |
리턴 | array | TODO |