b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: main ] [ index: main ] [ all elements ]

Class: EnchantSpell

Source Location: /blogs/plugins/tinymce_plugin/tiny_mce/plugins/spellchecker/classes/EnchantSpell.php

Class EnchantSpell

Class Overview

$Id: EnchantSpell.php,v 1.1 2009/08/07 01:59:36 sam2kb Exp $

This class was contributed by Michel Weimerskirch.

Located in /blogs/plugins/tinymce_plugin/tiny_mce/plugins/spellchecker/classes/EnchantSpell.php [line 11]

SpellChecker
   |
   --EnchantSpell
Author(s):
  • Moxiecode
Information Tags:
Copyright:  Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From SpellChecker

SpellChecker::SpellChecker()
Constructor.
SpellChecker::checkWords()
Spellchecks an array of words.
SpellChecker::getSuggestions()
Returns suggestions of for a specific word.
SpellChecker::loopback()
Simple loopback function everything that gets in will be send back.
SpellChecker::throwError()
Throws an error message back to the user. This will stop all execution.

[ Top ]
Method Summary
Array   &checkWords()   Spellchecks an array of words.
Array   &getSuggestions()   Returns suggestions for a specific word.

[ Top ]
Methods
checkWords  [line 19]

  Array &checkWords( String $lang, Array $words  )

Spellchecks an array of words.

Parameters:
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.

API Tags:
Return:  of misspelled words.


Redefinition of:
SpellChecker::checkWords()
Spellchecks an array of words.

[ Top ]
getSuggestions  [line 48]

  Array &getSuggestions( String $lang, String $word  )

Returns suggestions for a specific word.

Parameters:
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.

API Tags:
Return:  of suggestions for the specified word.


Redefinition of:
SpellChecker::getSuggestions()
Returns suggestions of for a specific word.

[ Top ]

Documentation generated on Sat, 06 Mar 2010 03:51:26 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).