Class SpellChecker

Description

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

  • author: Moxiecode
  • copyright: Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.

Located in /wp-includes/js/tinymce/plugins/spellchecker/classes/SpellChecker.php (line 9)


	
			
Direct descendents
Class Description
 class GoogleSpell $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
 class PSpell $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
 class PSpellShell $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
Method Summary
 SpellChecker SpellChecker ($config &$config)
 {Array} &checkWords ({String} $lang, {Array} $words)
 {Array} &getSuggestions ({String} $lang, {String} $word)
 {Array} &loopback ($args.. 0)
 void throwError ({String} $str)
Methods
Constructor SpellChecker (line 15)

Constructor.

SpellChecker SpellChecker ($config &$config)
  • $config &$config: Configuration name/value array.
checkWords (line 36)

Spellchecks an array of words.

  • return: Array of misspelled words.
{Array} &checkWords ({String} $lang, {Array} $words)
  • {String} $lang: Language code like sv or en.
  • {Array} $words: Array of words to spellcheck.

Redefined in descendants as:
getSuggestions (line 47)

Returns suggestions of for a specific word.

  • return: Array of suggestions for the specified word.
{Array} &getSuggestions ({String} $lang, {String} $word)
  • {String} $lang: Language code like sv or en.
  • {String} $word: Specific word to get suggestions for.

Redefined in descendants as:
loopback (line 25)

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

  • return: Array of all input arguments.
{Array} &loopback ($args.. 0)
  • $args.. 0: Arguments.
throwError (line 56)

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

void throwError ({String} $str)
  • {String} $str: Message to send back to user.

Documentation generated on Fri, 12 Sep 2008 21:09:19 -0400 by phpDocumentor 1.4.1