|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| & | checkWords ($lang, $words) |
| & | getSuggestions ($lang, $word) |
Definition at line 12 of file EnchantSpell.php.
| & checkWords | ( | $ | lang, |
| $ | words | ||
| ) |
Spellchecks an array of words.
| String | $lang | Selected language code (like en_US or de_DE). Shortcodes like "en" and "de" work with enchant >= 1.4.1 |
| Array | $words | Array of words to check. |
Reimplemented from SpellChecker.
Definition at line 20 of file EnchantSpell.php.
| & getSuggestions | ( | $ | lang, |
| $ | word | ||
| ) |
Returns suggestions for a specific word.
| String | $lang | Selected language code (like en_US or de_DE). Shortcodes like "en" and "de" work with enchant >= 1.4.1 |
| String | $word | Specific word to get suggestions for. |
Reimplemented from SpellChecker.
Definition at line 49 of file EnchantSpell.php.