Moodle  2.2.1
http://www.collinsharper.com
EnchantSpell Class Reference
Inheritance diagram for EnchantSpell:
Collaboration diagram for EnchantSpell:

Public Member Functions

checkWords ($lang, $words)
getSuggestions ($lang, $word)

Detailed Description

Definition at line 12 of file EnchantSpell.php.


Member Function Documentation

& checkWords ( lang,
words 
)

Spellchecks an array of words.

Parameters:
String$langSelected language code (like en_US or de_DE). Shortcodes like "en" and "de" work with enchant >= 1.4.1
Array$wordsArray of words to check.
Returns:
Array of misspelled words.

Reimplemented from SpellChecker.

Definition at line 20 of file EnchantSpell.php.

& getSuggestions ( lang,
word 
)

Returns suggestions for a specific word.

Parameters:
String$langSelected language code (like en_US or de_DE). Shortcodes like "en" and "de" work with enchant >= 1.4.1
String$wordSpecific word to get suggestions for.
Returns:
Array of suggestions for the specified word.

Reimplemented from SpellChecker.

Definition at line 49 of file EnchantSpell.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations