Source for file TinyPspell.class.php
Documentation is available at TinyPspell.class.php
* Tiny Spelling Interface for TinyMCE Spell Checking.
* Copyright © 2006 Moxiecode Systems AB
function TinyPSpell(&$config, $lang, $mode, $spelling, $jargon, $encoding) {
$this->errorMsg[] =
"PSpell not found.";
// Returns array with bad words or false if failed.
$this->errorMsg[] =
"No PSpell link found for checkWords.";
foreach($wordArray as $word) {
// Returns array with suggestions or false if failed.
$this->errorMsg[] =
"No PSpell link found for getSuggestion.";
return pspell_suggest($this->plink, $word);
// Setup classname, should be the same as the name of the spellchecker class
$spellCheckerConfig['class'] =
"TinyPspell";
Documentation generated on Mon, 05 May 2008 16:23:18 +0400 by phpDocumentor 1.4.0