This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class SpellChecker

$Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $

Direct known subclasses

EnchantSpell, GoogleSpell, PSpell, PSpellShell

Package: MCManager\includes
Copyright: Copyright 2004-2007, Moxiecode Systems AB, All rights reserved.
Author: Moxiecode
Located at js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php

Methods summary

public
# SpellChecker( & $config )

Constructor.

public {Array} &
# loopback( )

Simple loopback function everything that gets in will be send back.

public {Array} &
# checkWords( {String} $lang, {Array} $words )

Spellchecks an array of words.

public {Array} &
# getSuggestions( {String} $lang, {String} $word )

Returns suggestions of for a specific word.

public
# throwError( {String} $str )

Throws an error message back to the user. This will stop all execution.